dsjob (-jobinfo works, but -run does not)
Moderators: chulett, rschirm, roy
dsjob (-jobinfo works, but -run does not)
This is what I have tried:
[dsadm@perf MyProject]$ pwd
/opt/IBM/Ascential/DataStage/Projects/MyProject
[dsadm@perf MyProject]$ /opt/IBM/Ascential/DataStage/DSEngine/bin/dsjob -jobinfo "MyProject" testseq
Job Status : NOT RUNNING (99)
Job Controller : not available
Job Start Time : Fri Mar 28 10:03:39 2008
Job Wave Number : 0
User Status : not available
Job Control : not available
Interim Status : NOT RUNNING (99)
Invocation ID : not available
Last Run Time : not available
Job Process ID : 0
Invocation List : testseq
Status code = 0
[dsadm@perf MyProject]$ /opt/IBM/Ascential/DataStage/DSEngine/bin/dsjob -run "MyProject" testseq
Error running job
Status code = -99 DSJE_REPERROR
[dsadm@perf MyProject]$
[dsadm@perf MyProject]$ pwd
/opt/IBM/Ascential/DataStage/Projects/MyProject
[dsadm@perf MyProject]$ /opt/IBM/Ascential/DataStage/DSEngine/bin/dsjob -jobinfo "MyProject" testseq
Job Status : NOT RUNNING (99)
Job Controller : not available
Job Start Time : Fri Mar 28 10:03:39 2008
Job Wave Number : 0
User Status : not available
Job Control : not available
Interim Status : NOT RUNNING (99)
Invocation ID : not available
Last Run Time : not available
Job Process ID : 0
Invocation List : testseq
Status code = 0
[dsadm@perf MyProject]$ /opt/IBM/Ascential/DataStage/DSEngine/bin/dsjob -run "MyProject" testseq
Error running job
Status code = -99 DSJE_REPERROR
[dsadm@perf MyProject]$
I have tried a number of variations of that, but no it does not seem to work:
[dsadm@perf MyProject]$ /opt/IBM/Ascential/DataStage/DSEngine/bin/dsjob -user dsadm -password mypwd -jobinfo "MyProject" testseq
ERROR: Failed to open project
Status code = 81011
[dsadm@perf MyProject]$
I'm pretty sure I am authenticating properly because other wise I don't see how I could get the jobinfo, also when I try and "run" a job that does not exist I get a different error than when I try and run a job that does exist.
[dsadm@perf MyProject]$ /opt/IBM/Ascential/DataStage/DSEngine/bin/dsjob -user dsadm -password mypwd -jobinfo "MyProject" testseq
ERROR: Failed to open project
Status code = 81011
[dsadm@perf MyProject]$
I'm pretty sure I am authenticating properly because other wise I don't see how I could get the jobinfo, also when I try and "run" a job that does not exist I get a different error than when I try and run a job that does exist.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You don't need the quotes. The 'failed to open Project' only happens when it can't authenticate you from what I've seen, hence my request. Note that when you pass in '-user' and '-password' you must also include the '-server' option as well, even if you are currently on that same server.
So...
So...
Code: Select all
$ dsjob -server MyServer -user dsadm -password mypwd -jobinfo MyProject testseq
$ dsjob -server MyServer -user dsadm -password mypwd -run MyProject testseq
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
@ Chulett > Sure it sounds like a valid test. I successfully connected using user credentials after adding the server. However did not solve the problem. I can get jobinfo but not run a job.
@ ArndW > Thanks I tried it, but no luck![Sad :(](./images/smilies/icon_sad.gif)
[dsadm@perf MyProject]$ $DSHOME/bin/dsjob -run -mode NORMAL "MyProject" testseq
Error running job
Status code = -99 DSJE_REPERROR
@ ArndW > Thanks I tried it, but no luck
![Sad :(](./images/smilies/icon_sad.gif)
[dsadm@perf MyProject]$ $DSHOME/bin/dsjob -run -mode NORMAL "MyProject" testseq
Error running job
Status code = -99 DSJE_REPERROR
![Confused :?](./images/smilies/icon_confused.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: