Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

what's the relationship between RESP, CONDITION AND ABEND

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
jack95

New User


Joined: 15 Nov 2005
Posts: 1
Location: china

PostPosted: Fri May 18, 2007 6:40 pm    Post subject: what's the relationship between RESP, CONDITION AND ABEND
Reply with quote

dear friends
If RESP option is specified in every API command in programs, do we need HANDLE CONDITION or HANDLE ABEND anymore? What ABEND will occur depite this?
Thanks in advance
Back to top
View user's profile Send private message

Nimesh.Srivastava

New User


Joined: 30 Nov 2006
Posts: 78
Location: SINGAPORE

PostPosted: Mon May 21, 2007 6:54 am    Post subject: Re: what's the relationship between RESP, CONDITION AND ABEN
Reply with quote

jack95,
there is no relationship between HANDLE ABEND and (RESP & HANDLE CONDITION) commands, the former is used to handle abnormal termination exit and the later for conditional handling.

Now, and RESP & RESP2 (for finer condition details) implies NOHANDLE condiion so if you have RESP with every API command and no command can return same RESP code for multiple conditions then you can go away with handle condition or what I would suggest is to also use RESP2 for better handling.

About HANDLE ABEND processing this command would not be able to handle some system abends like S0C4 abends. Also use this command with caution in case original ABEND codes are required for debugging the application.
Hope this helps...
Nimesh
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Joinkeys with condition scdinesh DFSORT/ICETOOL 10 Tue Feb 14, 2017 12:20 am
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us