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
Explain the usage of language in the ppt entry?
Explain the thress bms options?
kindly specify the pic clause for the following:any bll cell, data type of length option field, hhmmss type of data fields?
What is the common work area?
Define cics interface block?
In a CICS program, how will you read a VSAM file?
Explain the primary significance of intra-partition and extra-partition tdqs ?
What is the cics command level?
Can you explain cics translator?
What does EIB mean in CICS?
Explain the maps in cics?
Sync points cannot be requested by the application programs? State true or false
What is meant by an attribute byte?
What do you mean by CEMT?
Add a field to screen when what's the flow of impact?