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 / anju

If RC.stepname > 4
set maxxcc=0
End-if

Correct me if wrong.

Is This Answer Correct ?    5 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

925


Is automatic restart possible in jcl? If yes, how?

661


Is condition checking possible in jcl?

722


How can an in-stream dataset be terminated?

850


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1670






I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

835


How do you submit a job for execution?

640


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1811


What is the function of a dd statement?

709


if the submitter of a job wants to inform another user about the job completion, how can it be done?

760


Explain the jcl exec statement?

653


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

856


How to do automated restart when a job abend?

791


What statement can be used to send data to another mvs jes3 node?

831


Explain how can an in-stream dataset be terminated?

704