ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
   
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  CICS
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
Why is GETMAIN command needed?? Will program not work if we 
do not give GETMAIN?
 Question Submitted By :: Kingmanish
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Why is GETMAIN command needed?? Will program not work if we do not give GETMAIN?
Answer
# 1
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 ?    3 Yes 0 No
Pradeep Kumar
 
  Re: Why is GETMAIN command needed?? Will program not work if we do not give GETMAIN?
Answer
# 2
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
Kingmanish
 
 
 

 
 
 
Other CICS Interview Questions
 
  Question Asked @ Answers
 
Explain the means of supporting pseudo conversation programming. (E.g. Storing and restoring of states)  1
What are the commands used to gain exclusive control over a resource (for Ex a Temporary storage queue.)?  3
what is the deadlock?  2
What is the difference between the enter key, the PF keys and the PA keys?  2
What is the MASSINSERT option? TCS1
In SYMBOLIC Cursor Positioning after moving -1 to the length field also the cursor is not positioned in that particular field. Give reasons?  2
Sync points cannot be requested by the application programs (True or False).  1
What are the differences between and EXEC CICS XCTL and an EXEC CICS START command?  1
How will you access a VSAM file using an alternate index?  1
What is trigger level in the context of TDQs?  2
What do the terms locality of reference and working set mean?  1
how to get 'time stamp' in cics prgms ,what is the syntax.  1
 
For more CICS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com