View previous topic :: View next topic
|
Author |
Message |
richiewalia
New User
Joined: 20 Oct 2014 Posts: 2 Location: India
|
|
|
|
Hi Guys
Very basic question but need to clear my doubt.
I believe if job is having 10 steps and if it abends at 5th step and rest of 5 more steps will not execute and will get flushed.
My confusion is if 5th step CC is 8 or 12 or 16 , then what would be the processing of next 5 steps. Will they execute or will flushed? When I ran in my Jcl , Steps were executed .
Also my question is if CC> 0 then would it mean abend and abnormal termination?
Regards
Harsimran Singh |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1204 Location: Dublin, Ireland
|
|
|
|
This is a question for the beginners' forum, not the experts' forum.
There is a difference between abend and cond code settings. Check the JCL reference for cond codes including behaviours when COND=EVEN and COND=ONLY are tested.
Garry. |
|
Back to top |
|
|
richiewalia
New User
Joined: 20 Oct 2014 Posts: 2 Location: India
|
|
|
|
Thanks Garry for the response. I am aware of even and only concept. I was in doubt that cc = 16 is abnormal termination. |
|
Back to top |
|
|
boyti ko
New User
Joined: 03 Nov 2014 Posts: 78 Location: Malaysia
|
|
|
|
Maybe you didn't put any COND parameter to jobcard or step. So even if the 5th step is CC = 16, succeeding step still run. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1204 Location: Dublin, Ireland
|
|
|
|
Quote: |
I was in doubt that cc = 16 is abnormal termination. |
The seting of a cond code is normal behaviour and is used to indicqate a particular expected circumstance, so is not abnormal termination. It might indicate an unwanted condition but one where analysis is straight-forward.
An abend is abnormal termination - the term is derived from abnormal-end.
Garry |
|
Back to top |
|
|
|