Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING..

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

IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING..

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

Post New Answer

More CICS Interview Questions

Can you define attribute byte?

0 Answers  


What is the name of the log which contains the information needed to restart the system, including the task

2 Answers  


explain the means of supporting pseudo conversation programming. (Eg. Storing and restoring of states, control flow, error handling)?

0 Answers   IBM,


A CICS program ABENDS with an ASRA ABEND code. What is its meaning?

3 Answers   IBM,


What is the ABEND command and when would you use it?

2 Answers   IBM,


WHAT ARE THE VERBS IN CICS EQUAL TO ACCEPT,DISPLAY,VALUE?

2 Answers  


What are the various types of accesses that can be allowed by the SERVREQ option of the DFHFCT?

1 Answers  


Specify the requirements for Automatic Task Initiation. (Mention the control table, it?s entries and the corresponding Procedure division CICS command).

1 Answers  


what is the deadlock?

2 Answers  


Name some common CICS service programs and explain their usage?

1 Answers   IBM,


What will happen, if an out-of-range or negative value is specified in the LENGTH option of the SEND

1 Answers  


what is the option to be coded on return to associate a transaction identifier with next terminal.

1 Answers   IBM,


Categories