Page 1 of 1

Capturing Job Sequencer and Job return codes in UNIX korn

Posted: Thu Mar 10, 2005 8:13 am
by ErichG
What is the syntax for JobStatus (if that is the correct Ascential command) to specifically capture Job Sequencer / Job return codes within a UNIX korn shell (command line) while executing a Job Sequencer / Job executable. Is there a list of return codes so that I know what each is. My intent here is to check after each Ascential call the return code from execution in Ascential and abend the UNIX korn shell if it is incorrect.

Posted: Thu Mar 10, 2005 8:16 am
by Sainath.Srinivasan
Maybe you need

dsjob -jobinfo

Re: Capturing Job Sequencer and Job return codes in UNIX kor

Posted: Thu Mar 10, 2005 9:40 am
by sachinkc
execute dsjob command on the console and it will give you a list of parameters that you can use to get what you need. You might want to pipe it to grep\awk after that.
- Sachin
ErichG wrote:What is the syntax for JobStatus (if that is the correct Ascential command) to specifically capture Job Sequencer / Job return codes within a UNIX korn shell (command line) while executing a Job Sequencer / Job executable. Is there a list of return codes so that I know what each is. My intent here is to check after each Ascential call the return code from execution in Ascential and abend the UNIX korn shell if it is incorrect.