Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Receive map when DFHCLEAR is issued

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Receive map when DFHCLEAR is issued
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Apr 11, 2008 12:36 pm    Post subject: Reply to: Receive map when DFHCLEAR is issued
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri Apr 11, 2008 8:00 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Apr 11, 2008 8:11 pm    Post subject:
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Apr 11, 2008 8:36 pm    Post subject:
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    Post subject:
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    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 Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts ADSO Store Procedure to receive mutip... yogi.47eie IDMS/ADSO 2 Fri Aug 21, 2015 7:14 pm
No new posts CEE3250C The system or user abend AEY... kishpra CICS 3 Fri Aug 07, 2015 1:01 pm
No new posts S0C7 issued on a CALL statement RedDevil711 ABENDS & Debugging 8 Sun Feb 01, 2015 3:57 pm
No new posts TSO RECEIVE - Get All Datasets/Messag... mrgnndhmk TSO/ISPF 4 Sat Mar 15, 2014 11:21 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us