View previous topic :: View next topic
|
Author |
Message |
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
Hi every one,
how can you set a return code in your cobol program to:
1- jcl
2- the main program from a subprogram
Thank you |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Try that:
Code: |
MOVE 16 TO RETURN-CODE |
RETURN-CODE is a special register to pass a return code back to the caller or to the operating system. You can read more about it in the fine manual.
O. |
|
Back to top |
|
|
|