Assembly / HLASM · Abend code
What does System Completion Code SB37 mean in Assembly / HLASM?
A dataset being written to ran out of space on its current volume — the primary allocation is exhausted, the volume has no more free space to grant as secondary extents, or the dataset already used its maximum of 16 extents on that volume, and no additional candidate volume was available to continue onto. The accompanying IEC030I message's return code distinguishes a genuine space shortfall (RC04) from a DASD volume that has already reached its maximum of 127 concurrent users (RC0C), which is a volume-contention problem rather than a dataset-space problem.
A dataset being written to ran out of space on its current volume — the primary allocation is exhausted, the volume has no more free space to grant as secondary extents, or the dataset already used its maximum of 16 extents on that volume, and no additional candidate volume was available to continue onto. The accompanying IEC030I message's return code distinguishes a genuine space shortfall (RC04) from a DASD volume that has already reached its maximum of 127 concurrent users (RC0C), which is a volume-contention problem rather than a dataset-space problem.
Increase the primary and secondary SPACE quantities based on the dataset's actual peak size from prior runs, or allow the dataset to span multiple volumes so it can extend past a single full volume. Check the IEC030I return code first — RC04 calls for the space-allocation fix above, while RC0C means reducing concurrent access to that specific volume instead.