Assembly / HLASM · Abend code

System Completion Code S214

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

Occurs during a CLOSE macro on a magnetic tape dataset when an I/O error happens positioning the tape, reading a user label, or issuing a Read Block ID to reestablish tape position, or when the block count implied by the current tape position doesn't match the DCB's running block count. Damaged media, a missing tapemark, or a bad label are common root causes.

System Completion Code S214z/OS · HLASM

Condition

Occurs during a CLOSE macro on a magnetic tape dataset when an I/O error happens positioning the tape, reading a user label, or issuing a Read Block ID to reestablish tape position, or when the block count implied by the current tape position doesn't match the DCB's running block count. Damaged media, a missing tapemark, or a bad label are common root causes.

Fix

Retry the job on a different tape drive to rule out a hardware fault, inspect the volume for label or media damage, and check the specific reason code to see which stage of CLOSE processing failed.

Related abend code