Executing via DSJOB command
Posted: Wed Mar 04, 2009 12:40 pm
Hi,
In version 7.5 I always used BAT files like this to execute DS jobs. I just tried the same in version 8(we recently upgraded) and I get the error below.
I'm not sure what I am missing.
Thanks - - John
Contents of BAT file
D:
CD D:\IBM\InformationServer\Server\DSEngine\bin
dsjob -user Z8TDSTG ^
-password ************* ^
-run ^
-warn 1 ^
DBProject TestForDoug
Output from running the BAT file:
D:\IBM\InformationServer\Server\DSEngine\bin>dsjob -user Z8TDSTG -pass
word ************ -run -warn 1 DBProject TestForDoug
Command Syntax:
dsjob [-file <file> <domain> <DataStage server> | -domain <domain> -user
<user> -password <password> -server <DataStage server>]
<primary command> [<arguments>]
Valid primary command options are:
-run
-stop
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
Status code = -9999 DSJE_DSJOB_ERROR
In version 7.5 I always used BAT files like this to execute DS jobs. I just tried the same in version 8(we recently upgraded) and I get the error below.
I'm not sure what I am missing.
Thanks - - John
Contents of BAT file
D:
CD D:\IBM\InformationServer\Server\DSEngine\bin
dsjob -user Z8TDSTG ^
-password ************* ^
-run ^
-warn 1 ^
DBProject TestForDoug
Output from running the BAT file:
D:\IBM\InformationServer\Server\DSEngine\bin>dsjob -user Z8TDSTG -pass
word ************ -run -warn 1 DBProject TestForDoug
Command Syntax:
dsjob [-file <file> <domain> <DataStage server> | -domain <domain> -user
<user> -password <password> -server <DataStage server>]
<primary command> [<arguments>]
Valid primary command options are:
-run
-stop
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
Status code = -9999 DSJE_DSJOB_ERROR