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 fset?
What is the difference between a return with transid and xctl?
What are the uses of ppt in cics?
Explain the difference between a return with transid and xctl? For example program. A is issuing return with transid to program b. Program a. Is isssuing xctl to program b?
Define task work area?
Explain the thress bms options?
What is the procedure to read a statement from tsq?
kindly specify the pic clause for the following:any bll cell, data type of length option field, hhmmss type of data fields?
when a task suspends all the handle conditions via the push command, how does the task reactivate all the handle conditions?
What is ENQ?
Differentiate between PCT and FCT.
what are the differences between and exec cics xctl and an exec cics link command?
What is program reentrance?
what is an mdt (modified data tag)? Its menaing and use?
what are the thress bms options?