how to pass parameter from Batch Job to It's Underlaying job

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
dalvigirish
Participant
Posts: 5
Joined: Thu Dec 29, 2005 1:33 am

how to pass parameter from Batch Job to It's Underlaying job

Post by dalvigirish »

Hi,
I have created Batch Job using DataStage Director to run the jobs in a sequence. Can anybody know how to pass parameter from Batch Job to It's Underlaying job. In this case I don't want to user DataStage Sequencer.
Thanks and Regards,
Girish Dalvi
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Your Batch Job should read from the Parameter.ini file and use it to pass to the underlying jobs.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Welcome Aboard :D
What is the main purpose of the batch job. Is it just preparing the parameters for the underlying jobs or call the jobs.
If so search for DSRunJob and DSSetParam.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply