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
Answers were Sorted based on User's Feedback
Answer / rogerio coelho
You have more than one map in your program?
That`s not a very good practice, but you can do this:
01 WS-MAP-AREA PIC X(6000).
01 WS-MAP-NAME PIC X(7).
COPY MAP001.
COPY MAO002.
PROCEDURE DIVISON.
<MOVE DATA TO MAP FIELDS>
MOVE MAP001O TO WS-MAP-AREA.
MOVE MAP001 TO WS-MAP-NAME.
EXEC CICS SEND MAP(WS-MAP-NAME)
FROM(WS-MAP-AREA)
END-EXEC.
EXEC CICS RECEIVE(WS-MAPNAME)
INTO(WS-MAP-AREA)
END-EXEC.
MOVE WS-MAP-AREA TO MAP001I.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / jaga
We can redefine the Input – Output variable of map inside
the working storage.
Move the data to redefined variable in working storage so
that CICS map can accessed between Send and receive.
| Is This Answer Correct ? | 0 Yes | 1 No |
What do the keywords MAPONLY and DATAONLY mean?
Into which table is the terminal id registered?
List the sequence of steps used to achieve ?Modification in Skip Sequential Mode.?
first when i try to write a record into the file, wresp=duprec, but follwed with that if i try to read the record it say record not fnd.. actually the record is not written in the file, but it says that duprec when trying to write... why this happens, pls help me asap..!
Explain how pa key is different from pf key?
Explain cemt transaction commands?
How do you establish a starting position in a browse operation?
How will you access a VSAM file using an alternate index?
Explain the basic difference between Intra partition TDQ and Extra partition TDQ.
What is multitasking and multithreading?
Name some translator and compile options and explain their meaning?
Explain the difference between and exec cics xctl and exec cics start command?