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

Explain the difference between link xctl?

976


Explain how many conditions can you include in a single handle condition command?

993


Explain the difference between exec cics handle condtion and an exec cics ignore command?

1000


Explain the difference between and exec cics xctl and an exec cics link command?

1062


Name the two types of transient data queues?

1019


Define an aica abend?

1057


Can you define mdt?

1059


What is an mdt (modified data tag)?

986


What is interval control?

1078


What is the use of mdt (modified data tag)?

1015


Define an asra?

987


What is the pic clause for the any bll cell type of data fields?

1036


how can you prevent more than one user from accessing the same transient data queue?

1054


If we wish to create bms executable, what are the basic steps that the user has to go through?

1058


Explain how do you access the records randomly in tsq?

1061