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
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 |
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 |
Answer / anju
If RC.stepname > 4
set maxxcc=0
End-if
Correct me if wrong.
Is This Answer Correct ? | 5 Yes | 17 No |
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?
Suppose I have five jobs to do. But I want to hold one?
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
How many steps we can overide in the proc's?
Name the statement which can be used to send data to another mvs jes3 node?
how to compare two datasets without using superce because output is limited to 133 bytes
how to see the latest generation in gdg?
What are the rules employed while naming the steps in a job?
How jcl is used for testing batch programs?
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.
Explain about LMMFIND - find a library member
what is the JCL statement consists of?