Assembly / HLASM · Abend code
What does System Completion Code S106 mean in Assembly / HLASM?
The system failed to load a program during LINK(X), LOAD, ATTACH(X), or XCTL(X) processing, and the register 15 return code (with a sub-reason in register 4) identifies which of several distinct causes was responsible — not enough available virtual storage to bring the module in, a bad record type or address in the load module, an I/O error while fetching it, or a relocation error, in addition to the storage shortfalls common during sort steps pulling in additional phases at run time.
The system failed to load a program during LINK(X), LOAD, ATTACH(X), or XCTL(X) processing, and the register 15 return code (with a sub-reason in register 4) identifies which of several distinct causes was responsible — not enough available virtual storage to bring the module in, a bad record type or address in the load module, an I/O error while fetching it, or a relocation error, in addition to the storage shortfalls common during sort steps pulling in additional phases at run time.
Check the register 15/register 4 return and reason codes first to identify which failure actually occurred rather than assuming a storage shortage; for genuine storage shortfalls, increase REGION on the JOB or EXEC statement and, for sort steps, raise MAINSIZE, RESALL, or RESINV, and separately check for storage leaks from repeated LOAD/DELETE cycles that never issue a matching FREEMAIN.