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 (849)
 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 (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 :: 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
 
Which is the command that is used to dump the main storage areas related to a task?   1
Is it possible start a transaction CICS from job Batch? How do it? CSC 3
how to make the entire screen protected. i.e., for example when we design a delete screen before deleting the details we need to popup a screen saying do u wish to delete(Y/N). When this screen appears i want to make the previous screen fields as protected.Please help me with the anser. i need the entire screen to be protected. Thanks in advance Accenture 3
What is the difference between FSET and FRSET?   3
For a CICS-DB2 program, how is the plan referenced? ITC-Infotech 2
What is the process of converting the CICS commands into the equivalent host language statements called?   3
What is an ASRA abend ?   3
Explain the term Transaction routing?   1
I have written a CICS program. What tables should I setup to run this program?   3
Specify the CICS command used to read a VSAM record starting with prefix ?F?. Code all the relevant options.   2
Can you use DYNAMIC calls in CICS ?   2
IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING ...CAN WE DO LIKE THIS ??? MOVE MAP AND MAPSET NAMES TO WORKING STORAGE SECTION VARIABLES AND USE THOSE VARIABLES WHILE SENDING AND RECIEVING MAP.IF YES, HOW CAN WE MOVE MAP INPUT , OUTPUT VARIABLES. IF ANYBODY KNOWS THIS PLEASE POST THE ANSWER   2
 
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