Multiple choice technology mainframe

What command we used for Dynamic storage allocation in cics? a. GETMAIN b. SETMAIN c. FREEMAIN d. ALLOCATE

  1. A

  2. B

  3. C

  4. D

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

GETMAIN is the CICS command used to dynamically allocate storage during program execution. It requests a specified amount of memory from the CICS storage manager. FREEMAIN is used to release this storage, but it's not for allocation. SETMAIN and ALLOCATE are not valid CICS commands.

AI explanation

GETMAIN is the CICS command used to dynamically request (allocate) working storage at runtime, and its counterpart FREEMAIN releases that storage when it's no longer needed. SETMAIN and ALLOCATE are not real CICS storage commands, which is why they're not viable options here.