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

How to Handle errors in IMS like HANDLE ABEND in CICS


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
AlbertoR

New User


Joined: 28 Sep 2007
Posts: 4
Location: Bilbao

PostPosted: Tue Oct 02, 2007 10:34 pm
Reply with quote

Hi,

I am begginer on IMS programming.

I need to handle an error that in CICS I use 'HANDLE ABEND' instruction, and I would like to know if there is a similar functionality in IMS. I was looking for in many manuals but i couldn´t find anything.

Can I use STAE in this issue?

Thanks in advance
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Oct 03, 2007 12:22 am
Reply with quote

There is nothing in IMS like the CICS 'HANDLE ABEND'. Just make sure to check the status code after each IMS call and handle each case appropriately. For any status code you are not expecting write out a message and do appropriate cleanup.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 03, 2007 8:54 pm
Reply with quote

What are yu running: batch or online?
Back to top
View user's profile Send private message
AlbertoR

New User


Joined: 28 Sep 2007
Posts: 4
Location: Bilbao

PostPosted: Wed Oct 03, 2007 9:24 pm
Reply with quote

I´m running online.

Thanks
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 03, 2007 9:28 pm
Reply with quote

Try BTS (Batch Terminal Simulator) which allows you to run an MPP in batchmode. For information on BTS follow the first link in my signature (will lead you to IBM) and then search for BTS. It's very helpfull but too much to discuss at this forum. When you have any questions after your research feel free and wellcome to look for help.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top