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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1084


which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?

1180


what are the differences between and exec cics xctl and exec cics start command?

1221


Explain the difference between dfhcommarea and tsq?

1085


What does the 'cebr:cics' transactions do?

1023


What is the common work area?

982


Explain cebr transaction commands?

1061


Define ceci?

1097


Differentiate between PCT and FCT.

1162


Can you explain cics transaction gateway?

1074


Specify the requirements for automatic task initiation?

1001


Explain cedf transaction commands?

1134


Define the term transaction routing?

1164


Explain how do you dynamically set the cursor position to a specific field?

1060


What does the 'cedf:cics' transactions do?

1052