What it means
Abend 878 occurs when the system cannot satisfy a request made through the STORAGE macro, or the RU or VRU form of GETMAIN, or the RU form of FREEMAIN. The system issues message IEA705I and ends the current task.
The reason code in the SDWACRC field of the SDWA tells you what went wrong. Codes 04, 08 and 0C mean SQA, CSA or LSQA storage ran out, while code 10 means the private area ran out.
Typical causes
- Reason code 10: a program keeps requesting virtual storage without freeing it.
- Reason code 10: the region limit is too small.
- Reason code 10: an installation exit requested storage from a V=R region before the region finished initializing.
- Reason codes 04, 08, 0C: not enough SQA, CSA or LSQA storage is available.
- Reason codes 14 and 18: a negative storage amount was given on GETMAIN, FREEMAIN or STORAGE.
How to fix it
- Obtain a complete dump; if none was produced, set SLIPs for 878 and for 80A (which can cause the same condition) so the next failure is captured.
- For reason code 10, raise the region size on the REGION parameter of the JOB or EXEC statement; if a program is not freeing storage the abend will come back.
- For reason codes 24 and 28, check the address, length, subpool, key and other parameters the program passes on STORAGE or GETMAIN, and the JCL REGION value.
- For reason codes 04-0C and 14-20, look for program errors that corrupt the macro expansion, or change the program to request less virtual storage.