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
 
Regarding Difference between Return and Abend Codes.

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

New User


Joined: 09 Jun 2005
Posts: 6
Location: CHENNAI

PostPosted: Thu Jun 09, 2005 5:23 am    Post subject: Regarding Difference between Return and Abend Codes.
Reply with quote

Hi,

Why do we need Return code and Abend code?
Whats the Difference between return and abend Code?

My Understanding:

Return Code: It gives status of program(say 0 means normal execution)

Abend Code:Gives Specific types of error.

Please let me know if i'm correct or not?
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


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

PostPosted: Thu Jun 09, 2005 7:26 pm    Post subject: Re: Regarding Difference between Return and Abend Codes.
Reply with quote

Quote:
Why do we need Return code and Abend code?


We need Return Code & Abend Code in order to find out the status of a completed step or of a job.

Quote:
Whats the Difference between return and abend Code?


Return Code gives you the status of executed step while Abend Code gives you the reason for what the step failed.

In short, you may or may not get Abend Code for a step But you'll get a Return Code for one.

Quote:
Please let me know if i'm correct or not?


Yes, you are correct here.

Regards,

Priyesh.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Jun 09, 2005 7:52 pm    Post subject:
Reply with quote

Try to see this post:
http://ibmmainframes.com/viewtopic.php?t=321&highlight=abend+code
Back to top
View user's profile Send private message
kasi_manickam

New User


Joined: 09 Jun 2005
Posts: 6
Location: CHENNAI

PostPosted: Fri Jun 10, 2005 6:03 pm    Post subject: Regarding Difference between Return and Abend Codes.
Reply with quote

Hi,

Thanks to Priyesh And MgIndaco for your Replies.
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 JCL to set Return code when Time Out ... vinu78 JCL & VSAM 6 Wed May 30, 2018 11:27 am
No new posts How to force a select query to abend neo4u DB2 7 Mon Apr 23, 2018 1:36 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Getting GG return code abdulrafi IMS DB/DC 2 Tue Apr 10, 2018 12:31 pm
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 1 Sat Mar 17, 2018 1:13 am

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