Passing record as parameter

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
chandra
Participant
Posts: 88
Joined: Sun Apr 02, 2006 6:50 pm
Location: India

Passing record as parameter

Post 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
chandra ,
Hyd
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
Post Reply