View previous topic :: View next topic |
Author |
Message |
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Sun Mar 28, 2010 7:37 am Post subject: |
|
|
Personally, I have never been able to get COND=EVEN to work....
Would this work if the previous step got 'DATASET NOT FOUND', for example? When I tried it, the step with COND=EVEN on it flushed...
Do you have an example of when it would work ? |
|
Back to top |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Sun Mar 28, 2010 10:42 am Post subject: |
|
|
Quote: | Personally, I have never been able to get COND=EVEN to work.... |
Probably due to not understanding what is supposed to happen. . .
Look here (the flashlight/tubelight near the top left is the manual Search):
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/iea2b690/CONTENTS
Quote: | Would this work if the previous step got 'DATASET NOT FOUND', for example? | No. And it is not supposed to work for this situation. . .
If you read something in the manual that is not clear, post your doubt and someone will clarify. _________________ All the best,
di |
|
Back to top |
|
 |
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Sun Mar 28, 2010 4:44 pm Post subject: |
|
|
OK, thanks... I checked the manuals.... seems like they only mention that COND=EVEN will only NOT work if you have a system x22 abend, like 222, 322, 522....
Does anyone have an example of when it would work with an abend other than an x22, and 'Data set not found' ? |
|
Back to top |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Sun Mar 28, 2010 5:11 pm Post subject: |
|
|
You need to re-read the manual. You have misunderstood what was documented.
There is no need for another "example". The COND=EVEN is the example. . . Suggest you create a test that will cause an s0c7 and follow this step with a step that specifies COND=EVEN.
COND=EVEN will work for ABENDS - not JCL errors. "Data set not found" raises a JCL error. COND=EVEN will not work for this. _________________ All the best,
di |
|
Back to top |
|
 |
|
|