<!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">
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 http-equiv="Content-Type" content="text/html; ">
<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>
</body>
</html>