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: 62
Location: Basildon

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 Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts Need help with ABEND RC=S806 RSN=4 an... chong.zhou All Other Mainframe Topics 3 Fri Feb 09, 2018 12:17 am
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
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

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