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 |
What is the max blocksize for a Tape file?
How do you submit a job for execution?
when can a job time-out occur? How to overcome that?
How do you restart a step in JCL?
Name some of the JCL statements that are not allowed in procs.?
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
what is the use of JCL?
hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
Name what parameter directs the output of the job log dataset?
Max. No of DD statements in a job ?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK