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

Receive map when DFHCLEAR is issued


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

New User


Joined: 13 Mar 2008
Posts: 5
Location: Bangalore

PostPosted: Fri Apr 11, 2008 12:28 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 11, 2008 12:36 pm
Reply with quote

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
View user's profile Send private message
senthil_hari

New User


Joined: 27 Mar 2008
Posts: 7
Location: chennai

PostPosted: Fri Apr 11, 2008 2:56 pm
Reply with quote

In BMS map definition for DFHMSD

write one macro as CURSLOC = YES to avoid MAPFAIL
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 11, 2008 8:00 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Apr 11, 2008 8:11 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Apr 11, 2008 8:29 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Apr 11, 2008 8:36 pm
Reply with quote

Craig,

Yes, you're correct. Missed that little tidbit by a mile icon_smile.gif

Regards,

Bill
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Apr 11, 2008 8:37 pm
Reply with quote

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
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 interactive cics program using CICS s... CICS 5
No new posts Issued a CMD call for /DIS & it r... IMS DB/DC 3
No new posts FSET not working on my receive CICS 3
No new posts Need help with 002-030 ABEND in TSO R... TSO/ISPF 1
No new posts Receive a file using PCOMM macro IBM Tools 0
Search our Forums:

Back to Top