<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=397284513-20072005><FONT face=Arial
color=#0000ff size=2>so this will allow me to reuse the value .
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=397284513-20072005><FONT face=Arial
color=#0000ff 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 dir=ltr align=left><SPAN class=397284513-20072005></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> download-list-bounces@cedarville.edu
[mailto:download-list-bounces@cedarville.edu] <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>
<DIV></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 width="90%" SIZE=4>
_______________________________________________
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></BODY></HTML>