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                      
Google
   
 
Categories >> Software >> MainFrame >> IBM MainFrame >> CICS
 
 


 

 
 COBOL interview questions  COBOL Interview Questions (851)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (448)
 DB2 interview questions  DB2 Interview Questions (668)
 IMS interview questions  IMS Interview Questions (80)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (40)
 ADABAS interview questions  ADABAS Interview Questions (8)
 REXX interview questions  REXX Interview Questions (21)
 Assembler interview questions  Assembler Interview Questions (29)
 CLIST interview questions  CLIST Interview Questions (1)
 QMF interview questions  QMF Interview Questions (4)
 MVS interview questions  MVS Interview Questions (11)
 OS390 interview questions  OS390 Interview Questions (9)
 OS 2 interview questions  OS 2 Interview Questions (0)
 VSAM interview questions  VSAM Interview Questions (177)
 QSAM interview questions  QSAM Interview Questions (3)
 Sysplex interview questions  Sysplex Interview Questions (5)
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions (128)
Question
Why is GETMAIN command needed?? Will program not work if we 
do not give GETMAIN?
 Question Submitted By :: CICS
I also faced this Question!!     Answer Posted By  
 
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 ?    4 Yes 0 No
Pradeep Kumar
 
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
 
What does EIB mean?   3
plz tell me abt PF key and PA keys Cap-Gemini 2
What?s the CICS command used to access current date and time?   1
When an XCTL is done, does the tranid change ? Is a new task created ? Does it cause an implicit   3
What are the 3 common ways to create maps?   1
What is an MDT (Modified Data Tag) - it's meaning and use? Polaris 2
What happens when a CICS command contains the NOHANDLE option?   1
How do you enter into cics region and how many regions available? Cap-Gemini 1
Explain page up and page down logic along with coding logic in cics? Wipro 2
How do you fire a batch job from a CICS transaction ? TCS 2
What is the function of the EXEC CICS HANDLE CONDITION command?   3
Explain the term ?MRO? (Multi Region Operation)?   1
 
For more CICS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com