Page 1 of 1

PX routine to pick the previously stored value in seq. file

Posted: Sun Dec 28, 2008 10:38 pm
by saraswati
Hi,

Can anyone pls let me know how to extract the date value stored in the sequential file which is to be used as the parameter for the next job? Can it be achievable with routine and user variable activiy in the sequence job? If so can u pls brief on the routine?

Thanks
Saraswati

Re: PX routine to pick the previously stored value in seq. f

Posted: Sun Dec 28, 2008 11:57 pm
by dr.murthy
saraswati wrote:Hi,

Can anyone pls let me know how to extract the date value stored in the sequential file which is to be used as the parameter for the next job? Can it be achievable with routine and user variable activiy in the sequence job? If so can u pls brief on the routine?

Thanks
Saraswati
hi,

its possiblw with user variable avtivity in the job sequence no need to write any routines.

Posted: Mon Dec 29, 2008 12:07 am
by chulett
Typically, one would explain the how of something, not simply state that it can be done.

Posted: Mon Dec 29, 2008 12:21 am
by ray.wurlod
Does the file contain just the date, or is there other information also in the file? There is a very recent Webinar (at www.dsxchange.net) on the very topic of processing data in files from job sequences.

Posted: Mon Dec 29, 2008 1:24 am
by saraswati
ray.wurlod wrote:Does the file contain just the date, or is there other information also in the file? There is a very recent Webinar (at www.dsxchange.net) on the very topic of processing data in files from job sequences.
The file contains only the date. can u pls brief me how it can be done with user variable activity?

Posted: Mon Dec 29, 2008 8:13 am
by laknar
have a user variable activity and declare a variable

extract the date value from file

Make sure before user variable stage use exec command stage to display the value from file

Posted: Mon Dec 29, 2008 2:24 pm
by ray.wurlod
saraswati wrote:The file contains only the date. can u pls brief me how it can be done with user variable activity?
U is currently working on a server edition site. I don't believe U has ever worked in the enterprise edition environment.

The second person personal pronoun in English is spelled "you", not "u". Please strive for a professional standard of written English on DSXchange. Doing so assists those whose first language is not English.