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 |
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?
If Region=0k means What Happen?
How Can we see all generations of a GDG ?
i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)
wht r different types of sorts ?
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
Can we delete the data using IEFBR14 , IEBGENER??
GDG Create syntax ?
How can the attributes of one sms dataset be copied to another dataset?
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
what is the use of IEBGENER utility?