Show TOC

Syntax documentationtape_pos_cmd Locate this document in the navigation structure

This parameter defines the command for positioning the read head on the tape.

Syntax Syntax

  1. tape_pos_cmd = <cmd>
End of the code.

Default value: none

This parameter is used by BRRESTORE and by BRBACKUP/BRARCHIVE with option -w|-verify. For a file to be read from the volume, the tape must be fast-forwarded to the required position.

For example, you could make the following entry:

tape_pos_cmd = "mt -t $ fsf $"

Example Example

Sample positioning commands:

  • HP-UX: "mt -t $ fsf $"

  • AIX: "tctl -f $ fsf $"

  • Linux, Solaris, Windows: "mt -f $ fsf $"

End of the example.

Make sure that you do not forget the double quotes when you enter parameters composed of several values. The SAP tool replace the first $ character with the address of the device you use. The second $ character is replaced by the number of files that are to be skipped.