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 (847)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (447)
 DB2 interview questions  DB2 Interview Questions (667)
 IMS interview questions  IMS Interview Questions (79)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (39)
 ADABAS interview questions  ADABAS Interview Questions (7)
 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 :: 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 ?    4 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
 
How do you delete Item 3 in a five-item TSQ?   3
what is invreq condition? IBM 3
Explain the exact situation, when to use CALL, XCTL and LINK?   6
What is the difference between START and XCTL ?   3
what is mapfail and when we get this error? during send map or receive map? HP 3
Can you tell recent requirement(s) you handled with your project? Requirements based on Banking Application. ITC-Infotech 2
where we can declare the files in fct and pct and ppt and rct pls give clear structure IBM 1
The first step in the development of an application system is the Requirement Analysis(True or False).   1
In which table would you make an entry for a BMS map?   2
Name some commands used for CICS file browsing.   2
What is the difference between the NOHANDLE option and the IGNORE condition?   3
What is meant by program reentrance? AMDOC 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