|
|
| Author |
Message |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2959 Location: Brussels once more ...
|
|
|
|
Gerry, good spot.
I'd forgotten that the RC checking will be satisfied if only one previous RC was LE 3000.
Just had a look at the example linked by Dicks post, which seems a good way to go. I guess that using IF/THEN/ELSE that you can combine abend checking with RC checking too. |
|
| Back to top |
|
 |
References
|
Posted: Thu Jul 24, 2008 2:45 pm Post subject: Re: |
 |
|
|
 |
kaushikmitra
New User
Joined: 11 Apr 2008 Posts: 23 Location: MONTEREY
|
|
|
|
Thanks all for the help so far ...
I have run the job with COND=(ONLY,(3000,GT)) as suggested by expat.
Only one problem I am facing if any prior step gets a JCL error , my abend step - //STEP03 EXEC PGM=IEBGENER,COND=(ONLY,(3000,GT))
does not run.
What is the return code (RC) of the job in case of JCL error. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7505 Location: 221 B Baker St
|
|
|
|
Hello,
You cannot test for prior jcl error(s).
You need to set up your jcl so that (after testing is complete) there will be no jcl errors.
There should never be a jcl error in a production job. |
|
| Back to top |
|
 |
kaushikmitra
New User
Joined: 11 Apr 2008 Posts: 23 Location: MONTEREY
|
|
|
|
| Thanks All of you for your help !!!! |
|
| Back to top |
|
 |
|
|