Assembly / HLASM · Abend code

System Completion Code S80A

What does System Completion Code S80A mean in Assembly / HLASM?

A GETMAIN or FREEMAIN request using the 'R form' of the macro failed, most often because the REGION size on the job or step is too small for what the program is asking for. Programming errors such as GETMAINs with no matching FREEMAIN (orphaned storage) or a loop that repeatedly GETMAINs the same area are common underlying causes.

System Completion Code S80Az/OS · HLASM

Condition

A GETMAIN or FREEMAIN request using the 'R form' of the macro failed, most often because the REGION size on the job or step is too small for what the program is asking for. Programming errors such as GETMAINs with no matching FREEMAIN (orphaned storage) or a loop that repeatedly GETMAINs the same area are common underlying causes.

Fix

Increase REGION on the JOB or EXEC statement first, and if the abend persists, review the program for storage leaks — GETMAINs that are never freed or that execute repeatedly inside a loop. IBM's own diagnostic guidance recommends setting SLIP traps for both 80A and 878 together, since an 878 abend elsewhere in the address space can produce this same condition.

Related abend code