Command Reference

SET TAPE POSITION

DB2 for Windows NT supports backup and restore to streaming tape devices. Use this command for tape positioning.

This command is available on Windows NT only.

Authorization

None

Required Connection

None

Command Syntax

>>-SET TAPE POSITION----+-------------+--TO--position----------><
                        '-ON--device--'
 

Command Parameters

ON device
Specifies a valid tape device name. The default value is \\.\TAPE0.

TO position
Specifies the mark at which the tape is to be positioned. DB2 for Windows NT writes a tape mark after every backup. A value of 1 specifies the first position, 2 specifies the second position, and so on. If the tape is positioned at tape mark 1, archive 2 is positioned to be restored.

See Also

INITIALIZE TAPE

REWIND TAPE.


[ Top of Page | Previous Page | Next Page ]