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

how we can handale mapfail abend?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vbhat

New User


Joined: 29 Apr 2005
Posts: 38

PostPosted: Thu Jun 09, 2005 10:07 am
Reply with quote

how we can handale mapfail abend?

can you please answer this question?

thanks
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Thu Jun 09, 2005 8:13 pm
Reply with quote

Try to use HANDLE CONDITION(MAPFAIL) statement
Back to top
View user's profile Send private message
rsshanmugam

New User


Joined: 08 Mar 2005
Posts: 62
Location: Basildon

PostPosted: Thu Jun 09, 2005 9:21 pm
Reply with quote

you can use ignore condition or resp option given in the exec cics command.
Back to top
View user's profile Send private message
dbelton

New User


Joined: 10 Jun 2005
Posts: 15

PostPosted: Fri Jun 10, 2005 4:52 pm
Reply with quote

priya wrote:
Try to use HANDLE CONDITION(MAPFAIL) statement


The HANDLE CONDITION is not the proper way to do it for new development now since it generates a GOTO DEPENDING ON statement.

The proper way is to use the RESP option.

EXEC CICS RECIEVE MAP('A')
INTO(AREA)
RESP(AREA-FOR-RESP-CODE)
END-EXEC.

Evaluate true
WHEN AREA-FOR-RESP-CODE = DFHRESP(MAPFAIL)
PERFORM error-routine-for-mapfile
END-EVALUATE.
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 -> CICS

 


Similar Topics
Topic Forum Replies
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
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
Search our Forums:


Back to Top