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

What do you understand by the term notcat 2 – gs?

856


What is multithreading in jcl?

1037


What are steplib and joblib? What for they are used?

783


In sms datasets, what is the function of the dd mgmtclas keyword?

976


Explain the function of //cntl statement?

747






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

741


Explain the purpose of dd * statement in jcl?

721


write a jcl to execute a job by 7:00 am on jan 20,1986?

780


Explain how can return codes be tested before execution of a job step?

941


what is the difference between JES3 and JES2?

782


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

914


how do you code a null statement?

878


how JCL works?

882


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1027


How jcl work to handle various input output file operations?

744