Page 1 of 1

Passing record as parameter

Posted: Mon Aug 20, 2007 4:33 pm
by chandra
Hi frnds -

I want to pass the start and end date as parameter.
Data are stored in text file.
Please guide is that possible in DS

Posted: Mon Aug 20, 2007 5:39 pm
by ray.wurlod
Yes it's possible. Use a job sequence, a shell script, a batch, or a job control routine. Whatever method you use (search the forum for techniques) you must extract the values from the file and supply them as job parameter values before requesting the job run.

Posted: Mon Aug 20, 2007 5:40 pm
by ArndW
Yes, it is possible in DS. How you implement it depends upon several factors. If the text file is simple, I would just use some UNIX command(s) to output the date in a single line and call that from a Command stage in a job sequence, then pass the returned values straight through to a job using a Job Activity stage.