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...

Why is GETMAIN command needed?? Will program not work if we
do not give GETMAIN?

Answer Posted / pradeep kumar

Getmain is a named memory for the Linkage Section variables
in the CICS program. The variables are passed to the memory
using SET command. The SET command can be used only for 01
and 77 level group items.

Program will work even if GETMAIN is not coded, because the
memory will be allocated automatically by the compiler, but
if the programmer needs memory space for the Linkage
Section Variables explicitly, then he/she can use GETMAIN
to allocate memory and FREEMAIN is used to freeout the
allocated memory.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define an aey9 abend?

1300


Can you explain enq and deq used in cics?

1122


Explain the thress bms options?

1059


What are the main uses of the transaction in the cics?

1068


Particular area has been affected in cics screen, what is the process to find?

9987


Is length = 0 sufficient to ascertain that the field has been modified?

1150


Define floating maps with illustration?

1052


Explain ceci transaction commands?

1074


In case if the user inputs the characters which turn out to be uppercase, then what is the procedure to close that condition?

1082


What is the pic clause for the hhmmss type of data fields?

1002


We can allocate memory dynamically by using GET MAIN command my question is at what scenario we can't release this memory and reuse this same memory??

3310


How to handle exceptional conditions in cics?

1189


Code the related portions of cics/cobol-i programs to gain addressability to twa area assigned to a particular task. Assme that the size of twa area is 300bytes. What are the advantages if cobol-ii is used in the place of cobol?

1178


How to get the cursor position when we receive a map?

1126


Explain what is the massinsert option?

1106