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

Explain the different ways of initiating transaction in cics?

883


Differentiate between PCT and FCT.

1089


Explain how do you set the mdt option to on status, even if data is not entered?

1033


Define RCT.

1146


what is the most common way of building queue-id of a tsq?

1024


Explain the function of the cics translator?

987


How is Telon(CA-Telon) used to build map?

4545


What does the 'cedf:cics' transactions do?

987


Explain the difference between pseudo-conversational and conversational?

1006


Name the command used for terminating a browse operation?

973


Explain the uses that are associated to tsq and tdq ?

1032


Explain the difference between using the read command with into option and set option?

972


What is a transid?

994


What is mainframe cics?

1027


How vsam files are read in cics pgms?

1230