COBOL · Abend code

Abend S837

What does Abend S837 mean in COBOL?

The system completion code is issued during end-of-volume processing for a sequential dataset, and is always accompanied by message IEC028I. The return code carried in that message (register 15) identifies the specific end-of-volume failure — it is not simply a generic 'could not allocate space for a new dataset' condition.

Abend S837z/OS

Condition

The system completion code is issued during end-of-volume processing for a sequential dataset, and is always accompanied by message IEC028I. The return code carried in that message (register 15) identifies the specific end-of-volume failure — it is not simply a generic 'could not allocate space for a new dataset' condition.

Fix

Look up the return code in the accompanying IEC028I message to pin down the exact end-of-volume failure. If it points to a genuine space shortfall, increase the dataset's space allocation or let it span additional volumes; if it points to something else (a device, label, or media issue), address that specific condition instead of assuming it's purely a space problem.

Related abend code