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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2091


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

913


How do you overcome this limitation ?

688


Is there any command to check wether the ps file is in sorted order?

2421


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?

1801






The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

932


How do you submit a job for execution?

634


How is a type of file defined in the jcl that executes the cobol program?

703


What happens if both JOBLIB & STEPLIB is specified ?

601


How can a fb file convert to vb file using sort program?

798


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

853


Explain the function of a dd statement?

651


how to do automated restart when a job abends?

837


Describe the various parameters utilized in the creation of a gdg?

676


When space is allocated for an output dataset, what units can be used?

736