Executing via DSJOB command
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
Executing via DSJOB command
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
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
Re: Executing via DSJOB command
Hi could you please tell us how did you resolve this issue?JPalatianos wrote: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
-job
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
Status code = -9999 DSJE_DSJOB_ERROR
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
Hi,
As noted in the thread we need bothe the Domain and server parameter when executing via 8.0:
Here is teh code we use:
D:
CD D:\IBM\InformationServer\Server\DSEngine\bin
dsjob.exe -domain NJROS1BBLA0705:9080 ^
-user PR-TDSTAGE_ADMIN ^
-password ########## ^
-server NJROS1BBLA0705 ^
-run ^
-jobstatus ^
-warn 1 ^
FORM5500 %1
As noted in the thread we need bothe the Domain and server parameter when executing via 8.0:
Here is teh code we use:
D:
CD D:\IBM\InformationServer\Server\DSEngine\bin
dsjob.exe -domain NJROS1BBLA0705:9080 ^
-user PR-TDSTAGE_ADMIN ^
-password ########## ^
-server NJROS1BBLA0705 ^
-run ^
-jobstatus ^
-warn 1 ^
FORM5500 %1
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am