View previous topic :: View next topic
|
Author |
Message |
Mukesh Pandey
Active User
Joined: 11 Nov 2008 Posts: 143 Location: India
|
|
|
|
Hi All,
Suppose we have 5 steps in a JCL as mentioned below.
STEP1
..
STEP2 COND=(0,NE)
--
STEP3 COND=(0,NE)
--
STEP4 COND=(0,NE)
--
STEP5 COND=(0,NE)
Now we have a bug in our enhancement and the STEP 2 has a possibility to return an RC of 04 which is acceptable.
How can we add an OR condition at steps STEP3, STEP4 and STEP 5 so that RC of less than or equal to 4 at step 2 does not make the successor steps to flush. we are not supposed to change the condition COND=(0,NE) at steps 3 , 4 and 5. need to only include and or condition.
The condition COND=((0,NE),(4,LT,STEP2)) at step 3,4 and 5 does not work and these steps gets flushed out when step2 returns ans RC of 4.
Please Suggest. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Mukesh Pandey wrote: |
Please Suggest. |
Please read the manuals.
You have been on this forum long enough to find out where the manuals are and to read them. This is a basic question that can easily be solved by reference to the manuals and your own testing. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Morning Sir !
Instead of inconvenient COND=, you could use easy to handle IF constructs. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
I do not believe that the requirement as you have stated it can be fulfilled. |
|
Back to top |
|
|
|