Page 1 of 1

Specifying Parameters in dsjob from CLI

Posted: Sat May 19, 2007 10:17 am
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.

Posted: Sat May 19, 2007 10:20 am
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