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

What has to be done when a MAPFAIL occurs


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

New User


Joined: 15 May 2006
Posts: 20
Location: chennai

PostPosted: Mon May 15, 2006 4:41 pm
Reply with quote

I would like to know what has to be done when a MAPFAIL occurs when receiving MAP.

where i would i have went wrong.
Back to top
View user's profile Send private message
rameshraj.satyam

New User


Joined: 15 May 2006
Posts: 9

PostPosted: Mon May 15, 2006 7:18 pm
Reply with quote

hai map fail mns when u r not compile the map directly run then only come that abend so u must compile map okena
Back to top
View user's profile Send private message
arunjosephaj

New User


Joined: 21 Mar 2006
Posts: 20
Location: India

PostPosted: Tue May 16, 2006 11:35 am
Reply with quote

No rameshraj i think u r wrong.. Mapfail doesn't occur when u have not compiled the map.. tht error is AEIM..
Mapfail occurs whn u receive a map tht is empty.. i mean u send a map and when u receive the map u simply press enter without entering any values in the input field of the map.. u can use RESP key in the receive statement. Check if it is mapfail and thn send some message "Enter value in the map!!" to some message in the map and send the same map again..
Hope it is clear..
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Fri Jun 02, 2006 12:16 pm
Reply with quote

Validate the fields and use HANDLE CONDITION immediately after receiving the map.
Back to top
View user's profile Send private message
arunjosephaj

New User


Joined: 21 Mar 2006
Posts: 20
Location: India

PostPosted: Fri Jun 02, 2006 4:10 pm
Reply with quote

Never use HANDLE CONDITION. It is not a good practice.. instead use RESP in the receive map as I had told..
Back to top
View user's profile Send private message
gsnvsr

New User


Joined: 06 Jul 2005
Posts: 40

PostPosted: Fri Jun 02, 2006 7:02 pm
Reply with quote

ursprasanna wrote:
I would like to know what has to be done when a MAPFAIL occurs when receiving MAP.

where i would i have went wrong.


Hi there,

These forums are meant to help each other working in similar communities. People contribute out of their own time. While posting requests, please be considerate of fellow members and provide as much information as possible. Also, be kind enough to request and not demand anything. Some posts doesn't seem to be requests. They rather look like statements or sometimes demanding.

Thanks, P
Back to top
View user's profile Send private message
sada_polaris

New User


Joined: 24 May 2006
Posts: 13

PostPosted: Wed Jun 07, 2006 9:45 am
Reply with quote

You encounter Map fail error when there are no values entered in the map by the user before the enter key is pressed.
So you should use FSET Cntl word in any of the receiving fields(In BMS). Say if you map(BMS) has Name and employee Id field where the user need to key in the values, you can code FSET in MAP for the corresponding field "Name".
By this way you can avoid the map fail error icon_lol.gif
Back to top
View user's profile Send private message
sreehari_04

New User


Joined: 23 Jan 2006
Posts: 7

PostPosted: Thu Jun 15, 2006 11:37 am
Reply with quote

Hi,

MAPFAIL- When user hit enter without entering any data on un protected fileds(Here MDT is OFF for all un protected fields) then mapfail condition occurs.

In this case Solution is

1) Just mention MAPFAIL in IGNORE CONDITION, Here the map will be on the terminal itself, so user can reenter the data on the map.

2) Or when MAPFAIL occurs Just resend the same map to the terminal
Back to top
View user's profile Send private message
overdue

New User


Joined: 12 Apr 2006
Posts: 1

PostPosted: Wed Jun 21, 2006 11:28 pm
Reply with quote

Or you can use FSET field in your map definition as one byte filed, so that data will always be transmitted and MAPFAIL condition will never arise. FSET will turn the MDT tag on for that particular field when you receive the MAP.
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 Updating a 1 byte thats in occurs mul... DFSORT/ICETOOL 6
This topic is locked: you cannot edit posts or make replies. SYMNAMES using COBDFSYM for OCCURS cl... CLIST & REXX 12
No new posts Multiple OCCURS depending on in same ... COBOL Programming 6
No new posts Syncsort - help needed with ICETOOL O... SYNCSORT 2
No new posts WHY SQLCODE -508 occurs if COMMIT bet... DB2 5
Search our Forums:

Back to Top