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
 
What has to be done when a MAPFAIL occurs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: What has to be done when a MAPFAIL occurs
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    Post subject: hai iam ramesh hyd tekq
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    Post subject:
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    Post subject:
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    Post subject: Re: What has to be done when a MAPFAIL occurs
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    Post subject: Re: What has to be done when a MAPFAIL occurs
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    Post subject: Re: What has to be done when a MAPFAIL occurs
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    Post subject: Re: What has to be done when a MAPFAIL occurs
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    Post subject: Re: What has to be done when a MAPFAIL occurs
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    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 Multiple OCCURS depending on in same ... muralirajansm COBOL Programming 6 Fri Aug 21, 2015 4:23 pm
No new posts Syncsort - help needed with ICETOOL O... ramas.kamal SYNCSORT 2 Wed Apr 16, 2014 4:17 pm
No new posts WHY SQLCODE -508 occurs if COMMIT bet... dejunzhu DB2 5 Fri Nov 08, 2013 7:30 am
No new posts Reading a PS file when abend occurs Kmr.deepakcs COBOL Programming 15 Wed Oct 30, 2013 12:17 pm
No new posts Input rec with multiple occurs, ea. o... John Del DFSORT/ICETOOL 19 Thu May 23, 2013 9:24 pm

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