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 are the various types of accesses that can be allowed by the SERVREQ option of the DFHFCT?
Name three ways the Modified Data Tag can be set on?
What is the function of the EXEC CICS HANDLE CONDITION command?
how do you fire a batch job from a cics txn ?
Explain the difference between a physical bms mapset and a logical bms mapset?
What is multitasking and multithreading?
i would like to practise some programs in code some cics programs plz send the programs
I was asked in HSBC interview following questions: 1. A string was given " techincal seminar on cobol language" Interviewer asked me to calculate the number of vowels in this string.
What is the significance of RDO?
what we will give in the ATI after reaching the trigger level eaither transation or program. EXEC CICS TRANSID() TERMID() TRIGGERLVL() what we have to code eaither TRANSATION OR PROGRAM
How is the stopper byte different from an auto skip byte ?
WHAT ARE THE VERBS IN CICS EQUAL TO ACCEPT,DISPLAY,VALUE?