Why is GETMAIN command needed?? Will program not work if we
do not give GETMAIN?
Answer Posted / 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 |
Post New Answer View All Answers
What is the tcp in the cisc?
If we say that bms length of field = 0, then what does that mean?
what is the cics command used to access current date and time?
Explain the difference between physical map and symbolic map?
Explain the difference between the into and the set option in the exec cics receive map command?
How to handle exceptional conditions in cics?
Can you define transid?
Explain the difference between start and xctl?
In a particular cics program, what is the procedure to allocate dynamic memory?
Can dynamic calls be used in CICS?
Define communication area?
What is eib?
Can you explain differences between temporary storage queue (tsq) and transient data queue (tdq)?
Is length = 0 sufficient to ascertain that the field has been modified?
Can you explain primary aspect of cics?