View previous topic :: View next topic
|
Author |
Message |
Aron
New User
Joined: 15 Feb 2013 Posts: 4 Location: United States
|
|
|
|
Hi All,
We have a similar post in this forum. But I feel that it has ended abruptly. This is my first post, so I do not know if I can start a new topic or continue with the old one. So, please advise.
Now the requirement is to set the JOB Step's return code to a value like 2 or 4 while the step actually returns RC=99 (because of the COBOL pgm).
Can this be done using JCL ?
In the post I was referring to, "mmwife" told the below
"What you're really asking is: can I RESET the RC of a job step.
The ans is only in an IDCAMS step and only for THAT step. You can't reset a RC of another step from an IDCAMS step."
Is this true ? Is there no way that this can be done in JCL |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
That is a true statement. There is no way to change the return code of a step in JCL, especially once the step has completed.
You may use JCL IF conditions and COND conditionals to accomplish much, however.
But either change the COBOL program or accept that 99 is the return code that will be in the job. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
depending On Your zOS release ( 1.13 ) You might have a <partial>(*) implementation
(*) read Yourself the zOS 1.13 icl reference and guede manuals to see if what zOS 1.13 provides satisfies Your requirements.
unfortunately as asked the questions belongs here ...
ibmmainframes.com/viewtopic.php?t=20820&highlight=
topic moved and locked |
|
Back to top |
|
|
|