Let's say I have a job with 4 steps.
Step1 = Return code 8
Step2 has COND=(4,LT) therefore it is bypassed
Step3 should execute whatever happens and has no COND parameter
Step4 has COND=(4,LT) therefore it it bypassed.
What I would like that job to do is :
RUN STEP1 -->> CODE 8
BYPASSE STEP2
RUN STEP3 -->> CODE 0
RUN STEP4 according to return codes starting at STEP3 instead of return codes of all previous steps.
Is there a way, just before STEP3 to reset the highest return code so far obtained for all subsequent steps ? I know I could split those steps in two jobs or code elaborated COND statements of IF statements. But I would just like to know if there is a command to reset the return codes midway thru a job. Maybe it's impossible. I'm just curious.
Is it possible to reset condition codes midway thru a job ?
- MrSpock
- Global moderator
- Posts: 809
- Joined: Wed Jun 06, 2007 9:37 pm
- Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
- Referer: ibmmainframes.com
- Location: Raleigh NC USA
- Contact:
Re: Is it possible to reset condition codes midway thru a job ?
It's impossible.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Is it possible to reset condition codes midway thru a job ?
Illogical. . .
Devil made me. . .
Devil made me. . .

-
- Posts: 2
- Joined: Wed Nov 05, 2008 3:25 pm
- Skillset: JCL,COBOL,CICS,DB2,VSAM
- Referer: website
Re: Is it possible to reset condition codes midway thru a job ?
Dear
I think its not possible.
I think its not possible.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 1853
-
by sergeyken
View the latest post
Mon Nov 23, 2020 7:25 pm
-
-
How to use ASCII condition in DFSORT
by Prasanna G » Tue Sep 20, 2022 10:15 pm » in DFSORT/ICETOOL/ICEGENER - 10
- 2588
-
by prino
View the latest post
Thu Sep 22, 2022 12:53 am
-
-
- 2
- 1450
-
by willy jensen
View the latest post
Sun Nov 13, 2022 9:02 pm