Specifying Parameters in dsjob from CLI

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
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Specifying Parameters in dsjob from CLI

Post by asitagrawal »

Hi,

I am running a job from CLI, using dsjob...

I am not able to pass the parameter values.. as my job has more than one job parameter...

eg..
INSTANCE
$USERID
$PWD

My command is

Code: Select all

C:\Ascential\DataStage\Engine\bin\dsjob.exe  -server 127.0.0.1 -user Guest -password Guest -run -mode NORMAL -param  "INSTANCE=17884|$USERID=Guest|$PWD=Guest"  -warn 0 MyProject Seq_CLITest 
Only the INSTANCE job parameter is getting set--- and the remaining are not getting set !!!


Please advice.
Share to Learn, and Learn to Share.
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Post by asitagrawal »

Sorry.. it now worked...
I used the following command...

Code: Select all

C:\Ascential\DataStage\Engine\bin\dsjob.exe  -server 127.0.0.1 -user Guest -password Guest -run -mode NORMAL -param  "INSTANCE=17884" -param "$USERID=Guest" -param "$PWD=Guest"  -warn 0 MyProject Seq_CLITest 
Share to Learn, and Learn to Share.
Post Reply