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

what's the relationship between RESP, CONDITION AND ABEND


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

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top