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

Explain the basic difference between Intra partition TDQ and Extra partition TDQ.

2 Answers   IBM,


How many ways are there for initiating a transaction?

0 Answers  


In the CICS command level all the re-entrancy issues are handled by the System(True or False).

1 Answers  


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

0 Answers   IBM,


if i am having a cics,vsam and db2 programs with each functions and i want that each function on screen?

0 Answers   iGate,


How do you enter into cics region and how many regions available?

1 Answers   Cap Gemini,


What is MDT ? How it is related FSEAT & FRESET? what is the meaning of MDT on.. pls ans With explanation is will be more helpfull thank you

2 Answers  


Can anyone say full transaction process? i mean when user press enter key after that what happens from there to till end of transaction

3 Answers  


Name the command used for terminating a browse operation?

0 Answers  


Can you access ESDS files from CICS ?

2 Answers   IBM,


define the field with ic in the bms map.

0 Answers   IBM,


is it possible to create TDQ's and TSQ's dynamically,How

1 Answers  


Categories