Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How steps execute in Job in case of abend or if cc> 0

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
richiewalia

New User


Joined: 20 Oct 2014
Posts: 2
Location: India

PostPosted: Tue Jan 12, 2016 12:34 pm    Post subject: How steps execute in Job in case of abend or if cc> 0
Reply with quote

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
View user's profile Send private message

Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1002
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Jan 12, 2016 1:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
richiewalia

New User


Joined: 20 Oct 2014
Posts: 2
Location: India

PostPosted: Fri Jan 15, 2016 2:55 am    Post subject:
Reply with quote

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
View user's profile Send private message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Fri Jan 15, 2016 10:08 am    Post subject:
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1002
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jan 15, 2016 2:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us