Assembly / HLASM · Abend code

System Completion Code S822

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

The system could not obtain the amount of storage requested by the REGION parameter when initiating the job step or TSO session, meaning the address space itself couldn't be built at the requested size — distinct from a GETMAIN failing later after the step is already running.

System Completion Code S822z/OS · HLASM

Condition

The system could not obtain the amount of storage requested by the REGION parameter when initiating the job step or TSO session, meaning the address space itself couldn't be built at the requested size — distinct from a GETMAIN failing later after the step is already running.

Fix

Lower the REGION= value to something the LPAR can realistically satisfy, confirm with systems programming whether a very large REGION or REGION=0M is actually feasible for that job class, and check the IEF085I/IEF086I messages for how much storage was actually available.

Related abend code