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 |
Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.
9 Answers iGate, Lehman Brothers,
how to compress the data set
What is concatenating?
How to overide the symbol parameter in the jcl ?
how many members can be created inside a single pds?
Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.
how to code instream data in procedure?
What are the parameters that are used in creating a gdg?
What all are the changes to be made in JCL so as to do testing?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.