View previous topic :: View next topic
|
Author |
Message |
purushoth_jp
New User
Joined: 12 Dec 2004 Posts: 22
|
|
|
|
All-
I'm executing a REXX program in batch mode. The batch job is returning a MAXCC of 0 irrespective of REXX return codes. which means my batch job is always returning 0 even though the rexx program failed with rc=0012. Is there is any way to set the JCL return code to user defined return code through rexx.
for example we have RETURN-CODE register in cobol to achieve the same.
can anyone help me out.
Thanks in advance. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Under ISPF, you can set the system variable ZISPFRC.
O. |
|
Back to top |
|
|
|