ERT (Erase Tape)

Purpose
Erase a tape from the current position until the end of the tape.
Usage notes
This function writes two tape marks at the current tape position, erases the remainder of the tape, then rewinds the tape.

ERT can be used only with tape units that support the data security erase I/O command code, such as the IBM® 3400 series.

Options
None.
Related functions
REW
Rewind a tape to its load point
RUN
Rewind a tape and unload it
WTM
Write one or more tape marks
Figure 1. Syntax

1 ERT? LABEL=BLP OUTPUT=ddname? DENS=mm
ddname
Refers to a DD or TSO ALLOC statement.
LABEL=BLP
Specifies that bypass label processing is used. This parameter must be specified with the first File Manager function that uses the tape. For BLP processing requirements, see “Customizing the Security Environment” in the File Manager for z/OS Customization Guide.
mm
A 2-byte tape mode as shown in Tape density and mode values.