COBOL Retum code
COBOL Retum code
How to pass return codes from cobol to jcl?
- MrSpock
- Global moderator
- Posts: 809
- Joined: Wed Jun 06, 2007 9:37 pm
- Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
- Referer: ibmmainframes.com
- Location: Raleigh NC USA
- Contact:
Re: COBOL Retum code
MOVE some value between 0 and 4095 TO RETURN-CODE.
STOP RUN.
STOP RUN.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: COBOL Retum code
Hello,
Many sites prohibit the use of STOP RUN these days.
GOBACK will also set the return code from the COBOL program.
Many sites prohibit the use of STOP RUN these days.
GOBACK will also set the return code from the COBOL program.
Hope this helps,
d.sch.
d.sch.