Why is GETMAIN command needed?? Will program not work if we
do not give GETMAIN?
Answers were Sorted based on User's Feedback
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 |
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 |
In the EIB block of CICS, highlight the names of few of the important fields?
What is the ABEND command and when would you use it?
The first step in the development of an application system is the Requirement Analysis(True or False).
At which situation we need to use the push and pop conditions...pls tell me with exampls.
What are the six different types of argument values in COBOL that can be placed in various options of a CICS command?
What is an ASRA?
Whenever a cics program goes through a compilation process, there is always some extra code that is added to the program. Where exactly does this new piece of code go to and what is it termed as ?
I was asked in HSBC interview following questions: 1. A string was given " techincal seminar on cobol language" Interviewer asked me to calculate the number of vowels in this string.
What is Journal Recovery and Dynamic Transaction Backout?
What are the differences between an EXEC CICS XCTL and an EXEC CICS LINK command.
What is a logical message in CICS?
Explain re-entrancy as applies to CICS.