what is mapfail and when we get this error?
during send map or receive map?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How can we code a program such that we will never get a MAPFAIL error?
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
What is the difference between the enter key, the PF keys and the PA keys?
What is the primary aspect of CICS?
are we use the group by clause in cursors?
What is the meaning of BMS length of field = 0?
What are the 3 common ways to create maps?
If I create a TSQ from one transaction, can I read it from another transaction?
What is mainframe cics?
Explain the difference between start and xctl?
With the use of an alternate index, how is a VSAM file accessed?
NMDS is both device dependent and format dependent (True or False)