Hi,
I have a unix Script which uses dsjob for datastage Job Execution.
I wanted to Know if there is there value in checking the RETURN_VALUE ($?) from the -run command? What does the $? return?
What does -255 return code mean?
OR
Is it better to reinterrogate the -jobinfo for a status other than 0, 1 or 2? I.E.
Job_Status=`dsjob -jobinfo $DSProject $DSJob | head -1 | cut -d"(" -f2 | cut -d")" -f1`
Return Code from dsjob -run OR use dsjob -jobinfo
Moderators: chulett, rschirm, roy
I stick with -jobstatus rather than interogate the job again after it finishes. Perhaps this recent post would help.
-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: