REW (Tape Rewind)

Purpose
Rewind a tape to the load point.
Usage notes
After completion of the function, the tape is positioned at load point (beginning of tape).
Options
None.
Related functions
BSF
Move the tape backward one or more files
BSR
Move the tape backward one or more records
ERT
Erase a tape from the current position to the end of the tape
FSF
Move the tape forward one or more files
FSR
Move the tape forward one or more records
RUN
Rewind a tape and unload it
WTM
Write one or more tape marks
Read syntax diagramSkip visual syntax diagram
Syntax

>>-REW--+-----------+--+-INPUT=ddname--+-----------------------><
        '-LABEL=BLP-'  '-OUTPUT=ddname-'   

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.