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

How to code User ABENDing Jobs?


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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 All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Jobs to HELD state JCL & VSAM 3
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
Search our Forums:


Back to Top