Thanks for your tips.
I only need the RETURN-CODE=200 as a parameter for the next job-step.
But JCL handles RETURN-CODE=200 as an severe error and gives at the end of the job the message MAX.RETURN-CODE=0200.
How can I suppress this message or set $MRC to zero?
At the end of all job steps...
In Job-Control (JCL) my Cobol-Program is invoked like this:
...
SETPARM RETCODE='0000'
// EXEC PGM=WEB1900,SIZE=AUTO,PARM='&RETCODE'
/*
IF RETCODE=100 THEN...
IF $RC=200 THEN ......
...
Parts of my Cobol-Program:
...
LINKAGE SECTION...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.