DOS Bat File to DataStage Job
Posted: Mon May 01, 2006 12:46 pm
Hi All,
Created dos bat file run DataStage job:
@echo off
SET DsJob=E:\Ascential\DataStage\Engine\bin\dsjob.exe
Dsjob -run -mode NORMAL PLQ StateCodeHash
Error message:
D:\TEMP>DWTEST.bat
'Dsjob' is not recognized as an internal or external command,
operable program or batch file.
BUT if I run from dos command line:
E:\Ascential\DataStage\Engine\bin\dsjob -run -mode NORMAL PLQ StateCodeHash
It works - run the job fine!!
Any ideas will be appreciated.
Bryceson
Created dos bat file run DataStage job:
@echo off
SET DsJob=E:\Ascential\DataStage\Engine\bin\dsjob.exe
Dsjob -run -mode NORMAL PLQ StateCodeHash
Error message:
D:\TEMP>DWTEST.bat
'Dsjob' is not recognized as an internal or external command,
operable program or batch file.
BUT if I run from dos command line:
E:\Ascential\DataStage\Engine\bin\dsjob -run -mode NORMAL PLQ StateCodeHash
It works - run the job fine!!
Any ideas will be appreciated.
Bryceson