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


Please Help Members By Posting Answers For Below Questions

I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8698


Is condition checking possible in jcl?

722


How would you understand error(execution phase)?

635


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

1670


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

979






Suppose I have five jobs to do. But I want to hold one?

662


Explain the function of the dd dcb keyword?

706


What do you understand by the terms: joblib and steplib?

626


List in order the hierarchical levels of jcl?

672


Is it possible to left uncode disp? If yes, how?

708


How does jcl act on code(if you take a cobol program)?

712


How to run cobol program using jcl?

657


What parameters can be used to limit the number of records written to a sysout dataset?

753


how you will the direct the data to spool using sysout option?

1769


What are the utility programs in jcl?

652