M
Member 310024
Guest
My environment is IBM mainframe DB2/COBOL TSO batch program.
Say you've got a -803 sqlcode for example, and you want to display a message to that effect, and then terminate the program.
What if under these circumstances, you also want to set the JCL cond code to 8 (or whatever).
Is there a way of doing this from within the program?
In other words how do you normally set the JCL cond code, so that after the program finishes, the JCL can then use that cond code?
Thanks.
Say you've got a -803 sqlcode for example, and you want to display a message to that effect, and then terminate the program.
What if under these circumstances, you also want to set the JCL cond code to 8 (or whatever).
Is there a way of doing this from within the program?
In other words how do you normally set the JCL cond code, so that after the program finishes, the JCL can then use that cond code?
Thanks.