Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.
Moderators: chulett, rschirm, roy
-
dnat
- Participant
- Posts: 200
- Joined: Thu Sep 06, 2007 2:06 am
Post
by dnat »
Hi,
I am trying to reset and run an aborted job from the command prompt, but the job doesnt run.
It gives me a msg like this Waiting for job...
Finished waiting for job
Job Status : (3)
Status code = 3
I used this command:-
$DSHOME/bin/dsjob -run -mode RESET -warn 50 -jobstatus -local proj job_name
Can anyone help
Thanks
-
ray.wurlod
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
-
Contact:
Post
by ray.wurlod »
Status code 3 may mean that the job could not be reset. Check the job log.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
chulett
- Charter Member
![Charter Member Charter Member](./images/ranks/charter_member%s.gif)
- Posts: 43085
- Joined: Tue Nov 12, 2002 4:34 pm
- Location: Denver, CO
Post
by chulett »
Also note that 'reset' does not run, it just resets. You need to invoke dsjob twice if you want to 'reset then run' a job.
-craig
"You can never have too many knives" -- Logan Nine Fingers
-
kduke
- Charter Member
![Charter Member Charter Member](./images/ranks/charter_member%s.gif)
- Posts: 5227
- Joined: Thu May 29, 2003 9:47 am
- Location: Dallas, TX
-
Contact:
Post
by kduke »
You probably need a -wait option to wait on the reset to finish as well.
Mamu Kim
-
ray.wurlod
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
-
Contact:
Post
by ray.wurlod »
Disagree. The -jobstatus option is a wait option. It's not that.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.