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 to code User ABENDing Jobs?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed May 31, 2006 2:14 pm    Post subject: How to code User ABENDing Jobs?
Reply with quote

Hi All, can any one of you explain to me How to write User Abending jobs. It would be great if you give some sample code.

Thanks & Regards,
Rathna Reddy Chereddy.
Back to top
View user's profile Send private message

parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Wed Jun 07, 2006 3:55 pm    Post subject:
Reply with quote

Hi,

A program that abends itself .. right?

You need to move say 16 in RETURN-CODE register. This should abend your program.

But, you might like to create an error/dianostic message logs before you abend the program.

In most of the installations, you will find standard error routines ( prorams ) that do this for you. Before reinventing the wheel its a good idea to find out wheather these programs exists. icon_smile.gif


Thanks,
Parikshit
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting GG return code abdulrafi IMS DB/DC 2 Tue Apr 10, 2018 12:31 pm
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts *MASTER* address space abending at IPL Alan Playford All Other Mainframe Topics 0 Mon Mar 12, 2018 8:02 am
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts Conditional setting of return-code af... sanvan COBOL Programming 9 Wed Jan 31, 2018 11:05 pm

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