passing Parameter Set 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
creatingfusion
Participant
Posts: 46
Joined: Tue Jul 20, 2010 1:26 pm
Location: USA
Contact:

passing Parameter Set from Unix script to DataStage Job

Post by creatingfusion »

The job uses parameter set ps_List passed to the job in form of list having values as....
ps_List1
ps_List2

Script calls the DS Job as under:
sh TestScript.sh ps_List

Now when I call the script from another DS job and pass the default value for the parameter set it takes the value of the parameter set as "(As pre-defined)" and the script fails because of the following error:

Output from command ====>
SH: -c: line 0: syntax error near unexpected token `('

Please advise.

Thanks
Abhijit
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

dsjob -run -param paramsetname=valuesfilename projectname jobname
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply