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

Explain the job statement in jcl?

653


What is jcl in mainframe, and how many types of jcl statements are there for a job?

633


What are some jcl statements that are not allowed in procedures?

730


Explain the purpose of the dd keylen parameter?

678


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

1769






How do you create a temporary dataset?

667


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2224


how JCL works?

802


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

623


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

2111


What is the significance of addrspc parameter in exec statement?

735


what is the resolution for sb37 error

7720


List the different components of jcl statement?

701


What are the difference between jcl and jes?

1050


What is the purpose of dd * statement in jcl?

814