<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yes,  we run lots of these in the cron.  They have the prompt reply on
a line right after the paragraph is called.<br>
<br>
Twitchell, Wayne wrote:<br>
<blockquote
 cite="mid6BF0342C79156F449E3F6C6B68EEF89A038691@email.grinnell.edu"
 type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.2668" name="GENERATOR">
  <div align="left" dir="ltr"><span class="397284513-20072005"><font
 color="#0000ff" face="Arial" size="2">so this will allow me to reuse
the value . </font></span></div>
  <div align="left" dir="ltr"><span class="397284513-20072005"><font
 color="#0000ff" face="Arial" size="2">i ust make this prompt a
parameter in a cron job when i touch off the paragraph? (i'm hoping to
jsut have this paragraph run as cron).</font></span></div>
  <div align="left" dir="ltr"><span class="397284513-20072005"></span> </div>
  <br>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"
 dir="ltr">
    <div class="OutlookMessageHeader" align="left" dir="ltr"
 lang="en-us">
    <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:download-list-bounces@cedarville.edu">download-list-bounces@cedarville.edu</a>
[<a class="moz-txt-link-freetext" href="mailto:download-list-bounces@cedarville.edu">mailto:download-list-bounces@cedarville.edu</a>] <b>On Behalf Of </b>Linda
Miller<br>
    <b>Sent:</b> Wednesday, July 20, 2005 8:13 AM<br>
    <b>To:</b> Cedarville DOWNLOAD Users<br>
    <b>Subject:</b> Re: [Download-List] counter and variables in a
paragraph?<br>
    </font><br>
    </div>
For getting a variable into a paragraph, I do this:<br>
    <br>
At the beginning of the paragraph:<br>
    <br>
* <<Enter Term to Process>>  - you do need the * in front
and the user gets the text between <<>> as a prompt.<br>
    <br>
Then when ever you want to use it:<br>
    <br>
SELECT STUDENTS WITH STU.TERMS = '<<Enter Term to Process>>'<br>
    <br>
Or:<br>
    <br>
DATA  <<Enter Term to Process>><br>
    <br>
Twitchell, Wayne wrote:
    <blockquote
 cite="mid6BF0342C79156F449E3F6C6B68EEF89A03868C@email.grinnell.edu"
 type="cite">
      <meta content="MSHTML 6.00.2900.2668" name="GENERATOR">
      <div><font face="Arial" size="2"><span class="695592222-19072005">Good
evening.</span></font></div>
      <div><font face="Arial" size="2"><span class="695592222-19072005">I
have just started using the download program and I have a couple of
seeming simple questions.</span></font></div>
      <div><font face="Arial" size="2"><span class="695592222-19072005"></span></font> </div>
      <div><font face="Arial" size="2"><span class="695592222-19072005">
      <div><span class="695592222-19072005"></span> </div>
      <div><span class="695592222-19072005"><font face="Arial" size="2">The
first question involves adding a sequential number to the output of a
 DOWNLOAD statement. I have to create a 'key' to my output file that
can't be a student or datatel id and can not be "guessable" .</font></span></div>
      <div><span class="695592222-19072005"><font face="Arial" size="2">is
there any solution like some form of counter? I have not seen anything
like this in the @ variables. I was hoping for a record number or
something.</font></span></div>
      </span></font></div>
      <div><font face="Arial" size="2"><span class="695592222-19072005"></span></font> </div>
      <div><font face="Arial" size="2"><span class="695592222-19072005">My
second question is about using variables in paragraphs.</span></font></div>
      <div><font face="Arial" size="2"><span class="695592222-19072005">We
run several paragraphs that require a 'term' to be entered manually. I
am currently using a "data" statement THUS:</span></font></div>
      <div><font face="Arial" size="2"><span class="695592222-19072005"></span></font> </div>
      <div><font face="Arial" size="2"><span class="695592222-19072005">SELECT
STUDENTS WITH NO G77.STU.HIATUS EQ 'PERL' 'MEDL' SELECT.ONLY<br>
DATA 2005/SP</span></font></div>
      <div><font face="Arial" size="2"><span class="695592222-19072005"></span></font> </div>
      <div><span class="695592222-19072005"><font face="Arial" size="2">I
do this for students and for courses and enrollments and assignments.
These statements are all in one long paragraph. Is there any way I can
put a variable in the paragraph that will let me change the current
term' once and be done with it?</font></span></div>
      <div><span class="695592222-19072005"></span> </div>
      <div><span class="695592222-19072005"><font face="Arial" size="2">thank
you all for your time and consideration</font></span></div>
      <p><font size="2">Wayne Twitchell<br>
Applications Integrator/Developer<br>
Information Technology Services - Campus Information Systems Team<br>
Grinnell College<br>
641-269-4348<br>
      <a class="moz-txt-link-abbreviated"
 href="mailto:twitchew@grinnell.edu">twitchew@grinnell.edu</a><br>
      </font></p>
      <div> </div>
      <pre wrap=""><hr size="4" width="90%">
_______________________________________________
download-list mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:download-list@cedarville.edu">download-list@cedarville.edu</a>
<a class="moz-txt-link-freetext"
 href="http://mail.cedarville.edu/mailman/listinfo/download-list">http://mail.cedarville.edu/mailman/listinfo/download-list</a>
  </pre>
    </blockquote>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
download-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:download-list@cedarville.edu">download-list@cedarville.edu</a>
<a class="moz-txt-link-freetext" href="http://mail.cedarville.edu/mailman/listinfo/download-list">http://mail.cedarville.edu/mailman/listinfo/download-list</a>
  </pre>
</blockquote>
</body>
</html>