In a JCL if previous steps return code is greater than 0 or
4 then the next step will not execute. But the job will be
successfull with the maximum return code. How can we reset
this maximum return code to '0' regardless of return codes
of any steps?
Answer Posted / balmukund
You can not setup the MAXCC= 0 in next step if previous
steps returned the RC>0. I means to day it is impossible to
setup the RC with less number than MAXCC returned by
previuos steps.
Better to setup the MXXCC = 0 in previous step.
If any one think its possible please specify the code.
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What do you understand by the terms: joblib and steplib?
What is the purpose of the dd keylen parameter?
what happens in conversion stage in job processing?
How do you create a temporary dataset?
can any one plzzzzzz tell the jcl code for creating ps using idcams
How gdg are concatenated?
how you can access an uncataloged dataset in a JCL?
What is the function of the dd mgmtclas keyword in sms datasets?
how would you create a temporary dataset? And where will you use them?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What is multithreading in jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?
define cond parameter in jcl?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375