pass value from UNIX script to DataStage Job

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
vij
Participant
Posts: 131
Joined: Fri Nov 17, 2006 12:43 am

pass value from UNIX script to DataStage Job

Post by vij »

Hi all,

I would want to know how to pass a value from a UNIX script to DataStage job. Actually the UNIX script triggers this DS job and we have to have a value to be passed from the script to the job.

can anyone explain me how to do this.

Thanks in advance!!!
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hope you are using dsjob -run option to call the jobs. dsjob command has -param option, with which you can pass the parameters.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Search the forum for scripts to do the same in a fancy fashion. There are many.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply