passing Parameter Set from Unix script to DataStage Job
Posted: Mon Nov 08, 2010 4:10 pm
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
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