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 C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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