running a datastage server job from Windows batch file
Posted: Tue Feb 17, 2009 3:07 pm
I am trying to invoke a DataStage job from a windows batch file. I am passing in a parameter. I have read the skimpy notes in the Admin guide but the job will still not run. If I issue the command from a command window the command string works properly but within the windows .bat file it doesn't
DSJOBS.bat :
echo C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -run -param LSPARMIN=1199228833 LSTESTING GaryTest1
any suggestions? I have tried also this command syntax :
echo C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -user gary -password gary123 -run -param LSPARMIN=1199228833 LSTESTING GaryTest1
DSJOBS.bat :
echo C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -run -param LSPARMIN=1199228833 LSTESTING GaryTest1
any suggestions? I have tried also this command syntax :
echo C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -user gary -password gary123 -run -param LSPARMIN=1199228833 LSTESTING GaryTest1