Out of space (end of volume)SYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation
End-of-volume processing could not get more space for a data set; message IEC030I and its return code show whether volumes, extents or the VTOC ran out.
QUICK ANSWER
End-of-volume processing could not get more space for a data set; message IEC030I and its return code show whether volumes, extents or the VTOC ran out.
LIKELY CAUSES, IN THE ORDER OF THIS ENTRY
Output data set filled its volume and no more volumes were specified in the DD statement.
The data set reached the maximum extents on a volume: 16 for basic, large format and PDS, 123 for extended format or PDSE.
The data set reached the maximum tracks per volume (65,535 for basic format and PDS).
The VTOC was full, so another data set control block could not be written.
The system could not demount a volume needed to mount the next one, for example because it was reserved or had open data sets.
Abend B37 is detected by the end-of-volume routine and comes with message IEC030I. Return code 04 is the usual one: all space on the current volume is used and no further volume could be used.
IEC030I also covers a volume that could not be demounted, extent or track limits, a full VTOC, and (return code 0C) a unit that already has 127 users.
Typical causes
Output data set filled its volume and no more volumes were specified in the DD statement.
The data set reached the maximum extents on a volume: 16 for basic, large format and PDS, 123 for extended format or PDSE.
The data set reached the maximum tracks per volume (65,535 for basic format and PDS).
The VTOC was full, so another data set control block could not be written.
The system could not demount a volume needed to mount the next one, for example because it was reserved or had open data sets.
How to fix it
Read IEC030I in the job log and respond to its return code.
For return code 04 where space ran out, specify at least one more volume in the SER, VOL COUNT or REF subparameter of the VOLUME parameter.
Allocate as many units as volumes needed, or request deferred mounting or removable devices when a volume cannot be demounted.
Make sure no data sets are open on volumes that must be demounted, and rerun the job.