View previous topic :: View next topic
|
Author |
Message |
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi all,
Is there anything like COND=ANY? If so what it does ?
If we are having 10 steps on which 8th step we use
Code: |
//STEP8 EXEC PGM=IEBGENER, COND=(0,ANY) |
What does it do?
Please let me know ... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Unless your site has a reader-exit that "does something" with ANY, it should cause a jcl error - when COND=(0,xx), xx is limited to 2-bytes. Have you found this in jcl that has executed successfully? If so, please post the jes output for this job. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
COND=(0,ANY)
Any what ? EQ, NE, GE, GT, LE, LT
What are you trying to accomplish here ?
You use condition codes to conditionally execute a step. If you are looking for ways to run the step regardless, then use COND=EVEN
This will run the step even if a previous step ABENDS.
If you want to skip the step regardless use COND=(0,LE) |
|
Back to top |
|
|
|