what is mapfail and when we get this error?

during send map or receive map?

Answers were Sorted based on User's Feedback



what is mapfail and when we get this error? during send map or receive map?..

Answer / vijay

Can occur on Receive command.
This occurs when no usable data is transmitted or is
unformatted.
This Occurs when operator used a PA or CLEAR key
Can occurs when operator pressed enter or PF key when no
field defiend in MDT is set on

You can use a HANDLE command to check for mapfail

Please add and correct if required.

Is This Answer Correct ?    38 Yes 1 No

what is mapfail and when we get this error? during send map or receive map?..

Answer / ak

MAPFAIL occurs on a RECEIVE MAP if the operator has used the CLEAR key or one of the PA keys. It also occurs if the operator uses ENTER or a PF key from a screen where:

No fields defined in the map have the modified data tag set on (this means the operator did not key anything and you did not send any fields with the tags already set, so that no data is returned on the read), and
The cursor was not left in a field defined in the map and named, or the map did not specify CURSLOC=YES

Is This Answer Correct ?    0 Yes 2 No

what is mapfail and when we get this error? during send map or receive map?..

Answer / lu

map fail because you forget to assemble it, now rcompile
(assemble), recompile the program with this map, ....and
het into cics make a new copy program and map....

Is This Answer Correct ?    1 Yes 23 No

Post New Answer

More CICS Interview Questions

How can we code a program such that we will never get a MAPFAIL error?

1 Answers   Accenture,


IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING ...CAN WE DO LIKE THIS ??? MOVE MAP AND MAPSET NAMES TO WORKING STORAGE SECTION VARIABLES AND USE THOSE VARIABLES WHILE SENDING AND RECIEVING MAP.IF YES, HOW CAN WE MOVE MAP INPUT , OUTPUT VARIABLES. IF ANYBODY KNOWS THIS PLEASE POST THE ANSWER

2 Answers  


What is the difference between the enter key, the PF keys and the PA keys?

2 Answers  


What is the primary aspect of CICS?

0 Answers  


are we use the group by clause in cursors?

3 Answers   Cap Gemini,


What is the meaning of BMS length of field = 0?

1 Answers   IBM,


What are the 3 common ways to create maps?

1 Answers   IBM,


If I create a TSQ from one transaction, can I read it from another transaction?

4 Answers   IBM,


What is mainframe cics?

0 Answers  


Explain the difference between start and xctl?

0 Answers  


With the use of an alternate index, how is a VSAM file accessed?

0 Answers  


NMDS is both device dependent and format dependent (True or False)

1 Answers  


Categories