Joined: 14 Mar 2007 Posts: 3508 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.
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.