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
passing Parameter Set from Unix script to DataStage Job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 46
- Joined: Tue Jul 20, 2010 1:26 pm
- Location: USA
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.