So, how to set the return code from REXX?
We need to make use of the system variable ZISPFRC.
if sysvar("SYSISPF") = "ACTIVE" then do
zispfrc = 16
address "ISPEXEC" "VPUT (ZISPFRC) SHARED"
end
exit
This piece of code would set the return code of the batch to 16.
No comments:
Post a Comment