Not enough virtual storage (R-form GETMAIN/FREEMAIN)SYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation
An R-form GETMAIN or FREEMAIN failed because there was not enough virtual storage in the requested area.
QUICK ANSWER
An R-form GETMAIN or FREEMAIN failed because there was not enough virtual storage in the requested area.
LIKELY CAUSES, IN THE ORDER OF THIS ENTRY
Not enough virtual SQA storage (reason 04).
Not enough virtual CSA storage (reason 08).
Not enough virtual LSQA storage (reason 0C, 1C or 20).
Not enough private area storage (reason 10), which can also occur if an installation exit asks for storage from a V=R region before it is fully initialized.
A program error that incorrectly changes the macro expansion.
Abend 80A means an error occurred processing an R form of GETMAIN or FREEMAIN; the reason code in SDWACRC says which area ran short.
Reason 04 is SQA, 08 is CSA, 0C is LSQA and 10 is private area storage; 1C and 20 are LSQA shortages for VSM cell pool and AQAT stack. The system issues IEA705I and ends the task.
Typical causes
Not enough virtual SQA storage (reason 04).
Not enough virtual CSA storage (reason 08).
Not enough virtual LSQA storage (reason 0C, 1C or 20).
Not enough private area storage (reason 10), which can also occur if an installation exit asks for storage from a V=R region before it is fully initialized.
A program error that incorrectly changes the macro expansion.
How to fix it
Obtain a complete dump; if none was produced, set SLIPs for 80A and 878 as IBM describes.
Check for program errors that modify the macro expansion and correct them.
If necessary, change the program to request less virtual storage.
Read the reason code in SDWACRC to see which storage area was short.