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 / 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 |
Post New Answer View All Answers
List the different jcl statements that are not permitted in the procedures?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
Is condition checking possible in jcl? If yes, how?
What are the utility programs in jcl?
Explain the hierarchy levels in jcl?
What is the use of disp parameter?
Are there any set of rules for the names of the steps used in a job? What are they?
Explain how can the attributes of one sms dataset be copied to another dataset?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
which parameter is use to declare the name of dataset in dd statement?
Explain how can values be passed from the job stream to an executable program?
what is use of space parameter in dd statement?
I need exexution process for JCL programs
how to do automated restart when a job abends?
What are the 4 fields in dd statement?