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 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