Assembly / HLASM · Abend code

System Completion Code S322

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

The job step exceeded its CPU time limit, either the installation's default or an explicit TIME= value on the JOB or EXEC statement. It almost always points to a program stuck in a loop, though it can also mean a legitimately long-running step simply wasn't given enough time.

System Completion Code S322z/OS · HLASM

Condition

The job step exceeded its CPU time limit, either the installation's default or an explicit TIME= value on the JOB or EXEC statement. It almost always points to a program stuck in a loop, though it can also mean a legitimately long-running step simply wasn't given enough time.

Fix

Check the program logic for a loop, especially around a PERFORM UNTIL or end-of-file condition that never becomes true, and if the workload genuinely needs more CPU time, raise TIME= on the JOB or EXEC card rather than just resubmitting.

Related abend code