WTM (Write Tape Mark)

Purpose
Write one or more tape marks.
Usage notes
Tape marks are special records on tape. Data between two tape marks make up a tape file. Two consecutive tape marks are considered a null file or indicate the end of data on a tape volume (if after an end-of-file or an end-of-volume label, or on a NL tape).

Specify a DDNAME for the tape.

Options
None.
Related function
INT
Initialize a tape
Read syntax diagramSkip visual syntax diagram
Syntax

>>-WTM--+-----------+--OUTPUT=ddname--+---------+--------------->
        '-LABEL=BLP-'                 '-DENS=mm-'   

   .-NTMKS=1-----.   
>--+-------------+---------------------------------------------><
   '-NTMKS=ntmks-'   

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 Z Data Tools function that uses the tape. For BLP processing requirements, see “Customizing the Security Environment” in the Z Data Tools Customization Guide.
mm
A 2-byte tape mode as shown in Tape density and mode values.
ntmks
Number of tape marks to be written. The maximum is 9 999; the default is 1.