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
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What is the motivation behind coding class parameter in job statement?
whats the diff bw the evaluate also and and?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
How do you access an uncatalogued dataset in a jcl?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What are hierarchy levels in jcl?
Explain the function of //jcllib statement?
How does jcl act on a cobol code?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what is the use of JCL?
when does a dataset go uncataloged?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How would you understand error(execution phase)?