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

Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


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

0 Answers  


How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?

5 Answers   RBS,


How many steps we can overide in the proc's?

2 Answers   CS,


Name the statement which can be used to send data to another mvs jes3 node?

0 Answers  






how to compare two datasets without using superce because output is limited to 133 bytes

0 Answers  


how to see the latest generation in gdg?

3 Answers   Deloitte,


What are the rules employed while naming the steps in a job?

0 Answers  


How jcl is used for testing batch programs?

0 Answers  


WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


Explain about LMMFIND - find a library member

1 Answers  


what is the JCL statement consists of?

0 Answers  


Categories