Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how we can handale mapfail abend?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: how we can handale mapfail abend?
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    Post subject:
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: 54
Location: Chennai

PostPosted: Thu Jun 09, 2005 9:21 pm    Post subject:
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    Post subject:
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    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
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us