Page 1 of 1

COBOL Retum code

PostPosted: Sat Dec 15, 2007 4:30 pm
by amdparsn
How to pass return codes from cobol to jcl?

Re: COBOL Retum code

PostPosted: Sat Dec 15, 2007 10:27 pm
by MrSpock
MOVE some value between 0 and 4095 TO RETURN-CODE.
STOP RUN.

Re: COBOL Retum code

PostPosted: Sun Dec 16, 2007 8:21 am
by dick scherrer
Hello,

Many sites prohibit the use of STOP RUN these days.

GOBACK will also set the return code from the COBOL program.