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?

Answers were Sorted based on User's Feedback



In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute...

Answer / mf guy

Maximum Return code can be set with the help of SET verb.

SET MAXCC=0 at the abending step.

Thanks.

Is This Answer Correct ?    7 Yes 3 No

In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute...

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

In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute...

Answer / srk

can u specify the code for above problem

Is This Answer Correct ?    1 Yes 0 No

In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute...

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

More JCL Interview Questions

What do you know about jcl?

0 Answers  


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

0 Answers   IBM,


Is their any set of rules for dd? Explain.

0 Answers  


how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly

5 Answers   IBM, TCS,


How to copy one PS file to multiple PS files with same data?

1 Answers  






by using cond parameter maximum 8 cond can be coded in single cond means ?explain

0 Answers  


What is one line to pass PARM from JCL to COBOL?

0 Answers  


shall we concordinate two different length dataset in to a new date set.

6 Answers  


what JCL Procedures?

0 Answers  


MOD, DELETE; What does a disposition of (,DELETE) mean ?

3 Answers  


Are there any set of rules for the names of the steps used in a job?

0 Answers  


How can a stopped job be started again?

0 Answers  


Categories