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?

Answers were Sorted based on User's Feedback



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

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

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

Answer / kingmanish

Hi Pradeep. What will happen if the GETMAIN command is issued and memory is not available.
Will the program abend or it will keep trying until it gets memory.
also if the memory is not available for a long time Will it get time out??

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CICS Interview Questions

What is interval control and what are some of the CICS commands associated with it?

2 Answers   IBM,


What is Quasi-reentrancy?

2 Answers   IBM,


CICS provides an interface through which the all the DL/I services can be used under CICS(True or False).

1 Answers  


Explain the difference between and exec cics xctl and exec cics start command?

0 Answers  


Explain how many exceptional condition can be given in a handle condition?

0 Answers  


What is the name of the facility provided by CICS to free the application program form the problems caused

1 Answers  


I have done a start browse on a vsam dataset. Can I do another start browse without doing an end browse?

0 Answers   IBM,


how can we establish a link between two maps using a cobol application program....lets say how can u use 'back' in a map ..to come back on previous .

5 Answers   Attra Infotech,


Can you simply check if length = 0 for checking if a field was modified?

3 Answers   IBM,


how i can enter into cics region in real time.

2 Answers   Cap Gemini,


What are the cics transactions?

0 Answers  


Explain the difference between a symbolic map and physical map?

0 Answers  


Categories