Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference btwn Error and Abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
SARAIBM

New User


Joined: 18 Sep 2006
Posts: 3

PostPosted: Tue Dec 12, 2006 12:23 pm    Post subject: Difference btwn Error and Abend
Reply with quote

what is the difference when an error occurs and when an abend occurs?
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Dec 12, 2006 12:30 pm    Post subject: Re: diff btwn error and abend
Reply with quote

Do you mean difference between JCL ERROR and ABEND.

If yes, JCL Error occurs because of Syntax problems or dataset disposition issues etc, whereas Abend occurs because of some functional problems (e.g. S0C-7 dividing a number by 0).
Back to top
View user's profile Send private message
SARAIBM

New User


Joined: 18 Sep 2006
Posts: 3

PostPosted: Tue Dec 12, 2006 1:21 pm    Post subject: Re: diff btwn error and abend
Reply with quote

thanx. but i want 2 know abt the execution part. if a jcl error occurs, the jcl will execute till the end of the program. it will still create a load module provided no condition is given for link and edit step. what abt abend in these cases?
Back to top
View user's profile Send private message
karthick Raja

New User


Joined: 10 Aug 2006
Posts: 8

PostPosted: Tue Dec 12, 2006 3:19 pm    Post subject: Re: diff btwn error and abend
Reply with quote

Hi,

If a JCL error occurs that step itself will not be executed. The JCL will be scanned for errors before that steps execution begins.
But abend happens in the due course of the execution of a step.
If a JCL error happens the entire job stops there and no more steps will be executed and you will get a message in the spool stating that the following steps are not executed.
But For abend the remaining steps will be flushed.
For E.g. say step 3 has COND=EVEN mentioned and if JCL error occurs in step 2 then step 3 will not run but if a abend occurs in step2 then step 3 will run.

Correct me if wrong..
Back to top
View user's profile Send private message
SARAIBM

New User


Joined: 18 Sep 2006
Posts: 3

PostPosted: Wed Dec 13, 2006 1:40 pm    Post subject: Re: Difference btwn Error and Abend
Reply with quote

thnx karthik 4 the info. wat abt jobs with only one step?
Back to top
View user's profile Send private message
karthick Raja

New User


Joined: 10 Aug 2006
Posts: 8

PostPosted: Tue Dec 19, 2006 1:47 pm    Post subject: Re: Difference btwn Error and Abend
Reply with quote

Hi,

I dont get ur question.
if the job has only one step, that step will have a abend RC in case of abend.
In the case of JCL error, that one step will be found under the message, "NOT_EXECUTED_STEP_TABLE BEGIN".
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us