View previous topic :: View next topic
|
Author |
Message |
ursprasanna Warnings : 2 New User
Joined: 15 May 2006 Posts: 20 Location: chennai
|
|
|
|
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 |
|
|
rameshraj.satyam
New User
Joined: 15 May 2006 Posts: 9
|
|
|
|
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 |
|
|
arunjosephaj
New User
Joined: 21 Mar 2006 Posts: 20 Location: India
|
|
|
|
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 |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
|
|
Validate the fields and use HANDLE CONDITION immediately after receiving the map. |
|
Back to top |
|
|
arunjosephaj
New User
Joined: 21 Mar 2006 Posts: 20 Location: India
|
|
|
|
Never use HANDLE CONDITION. It is not a good practice.. instead use RESP in the receive map as I had told.. |
|
Back to top |
|
|
gsnvsr
New User
Joined: 06 Jul 2005 Posts: 40
|
|
|
|
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 |
|
|
sada_polaris
New User
Joined: 24 May 2006 Posts: 13
|
|
|
|
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 |
|
Back to top |
|
|
sreehari_04
New User
Joined: 23 Jan 2006 Posts: 7
|
|
|
|
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 |
|
|
overdue
New User
Joined: 12 Apr 2006 Posts: 1
|
|
|
|
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 |
|
|
|