passing parameters

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

passing parameters

Post by cosec »

Hi,
I am passing two parameters from a unix shell script to a Datastage Job.
Is it possible to use these two parameters in the SQL Script of the DB2 Stage?
Thanks
Hazmar
srimitta
Premium Member
Premium Member
Posts: 187
Joined: Sun Apr 04, 2004 7:50 pm

Post by srimitta »

Yes possible
shamshad
Premium Member
Premium Member
Posts: 147
Joined: Wed Aug 25, 2004 1:39 pm
Location: Detroit,MI

Post by shamshad »

Make sure the parameter is defined in your JOB and Sequencer with the exact same name and then use the UNIX passed parameter the same way you would use any other parameter.
Post Reply