IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding Difference between Return and Abend Codes.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Jun 09, 2005 7:26 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Timestamp difference and its average ... DB2 11
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Difference when accessing dataset in ... JCL & VSAM 7
Search our Forums:

Back to Top