View previous topic :: View next topic
|
Author |
Message |
sowmyasridhar15
New User
Joined: 13 Mar 2008 Posts: 5 Location: Bangalore
|
|
|
|
Hi
I receive MAPFAIL (EIBRESP 36) on receiving the map when pause/break key is pressed. Could anyone please let me know how I can receive the map successfully. I even tried FSET on one of the fields. I keep receiving MAPFAIL error.
When user presses the pause key, I need to throw error message on the screen. But when I send the map, all the existing values are getting deleted. Hence I am trying to receive the map before I send the error message and I am facing MAPFAIL condition.
Please help...
Thanks
Sowmya |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You are speaking in terms of the PC keyboard layout...
the pause key is usually mapped to the good old 3270 clear key
after pressing the clear key the scren is .... CLEAR ...
so no map to receive
after a MAPFAIL condition You expectation to find good data on the screen is a bit optimistic
and the preoccupation of clobbering existing screen data is overshooting
MAPFAIL in simple terms means that the data received from the screen is not understandable by the current process
so the only thing to do is to issue an error message and
restart by reformatting the screen with a good data layout |
|
Back to top |
|
|
senthil_hari
New User
Joined: 27 Mar 2008 Posts: 7 Location: chennai
|
|
|
|
In BMS map definition for DFHMSD
write one macro as CURSLOC = YES to avoid MAPFAIL |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
senthil_hari wrote: |
In BMS map definition for DFHMSD
write one macro as CURSLOC = YES to avoid MAPFAIL |
I don't know where you are getting your information but hitting the CLEAR key or any of the PA keys results in an immediate transmission of the AID byte and NOTHING else, no date, no map../..
If an attempt to map that non-existence date area, will always result in a MAPFAIL...
Try testing the AID first. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
To avoid a MAPFAIL, include in one of the map "constants" of the ATTRB parameter, the FSET keyword.
This will ensure the MDT is always set.
A "constant" is a map field definition which doesn't have a label.
Try to find a small constant.
HTH....
Bill |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Bill O'Boyle wrote: |
To avoid a MAPFAIL, include in one of the map "constants" of the ATTRB parameter, the FSET keyword.
This will ensure the MDT is always set.
A "constant" is a map field definition which doesn't have a label.
Try to find a small constant.
HTH....
Bill |
The clearkey, PA1, PA2 and several other keys only sends the AID byte. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Craig,
Yes, you're correct. Missed that little tidbit by a mile
Regards,
Bill |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
from the CICS/ESA V4R1 Application Programming Guide
Quote: |
CLEAR, CNCL or a PA key (the "short read" keys)
The short read keys transmit only the attention identifier (the identity of the key itself). No field data comes in, and there is nothing to map. For this reason, short read keys can cause the MAPFAIL condition, as explained on topic 5.3.12.11. Field selection features transmit field data, but in most cases not the same data as the ENTER and PF keys, which we describe in the paragraphs that follow. See "BMS support for other special hardware" in topic 5.3.23 for the exceptions if you plan to use these features. |
[/quote] |
|
Back to top |
|
|
|