IBM T200F manual Erase Command

Models: T200F T200

1 126
Download 126 pages 42.05 Kb
Page 20
Image 20

Table 1. Supported Common Commands (continued)

 

Command Name

Operation

 

SCSI

SCSI

Page

 

Applicable Conditions3

 

 

 

 

 

 

 

 

 

 

Code

 

Spec2

RVC

UAT

NRD

WRP

MFC

DCC

 

 

Class1

 

 

 

 

 

 

 

 

 

 

 

 

WRITE ATTRIBUTE

8Dh

 

O

SPC-3

84

y

y

y

y

-

y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRITE BUFFER

3Bh

 

O

SPC-2

83

y

y

-

-

-

-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WRITE FILE MARKS

10h

 

M

SSC

86

y

y

y

y

y

y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note 1: O=optional M=mandatory

 

 

 

 

 

 

 

 

 

 

Note 2: SCSI specifications are as follows:

 

 

 

 

 

 

 

 

 

 

v SSC = SCSI-3 Stream Commands (SSC)

 

 

 

 

 

 

 

 

 

 

v SPC = SCSI Primary Commands-2 (SPC-2)

 

 

 

 

 

 

 

 

 

Note 3: Applicable Conditions are as follows:

 

 

 

 

 

 

 

 

 

 

v RVC = reservation conflict

 

 

 

 

 

 

 

 

 

 

v UAT = unit attention

 

 

 

 

 

 

 

 

 

 

 

 

v NRD = not ready

 

 

 

 

 

 

 

 

 

 

 

 

v WRP = write protect

 

 

 

 

 

 

 

 

 

 

 

 

v MFC = medium format corrupted

 

 

 

 

 

 

 

 

 

 

v DCC = deferred check condition

 

 

 

 

 

 

 

 

 

 

Note 4: Reported as appropriate for the type of Service Action and Reservation Type requested and the current reservation state of

 

the drive.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ERASE

Table 2. ERASE Command

 

7

6

5

4

 

3

 

2

1

0

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation Code (19h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Logical Unit Number (0)

 

 

Reserved

 

Immed

Long

 

 

 

 

 

 

 

 

 

 

2

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If the Long bit is set, EOD is written at the current position. A Data Set Separators pattern is written from EOD to the end of the medium to overwrite any data currently on the tape. If the Long bit is clear, then an EOD is written at the current position and marks it as end of data.

If the Immediate (Immed) flag is set to 1, then the drive validates the command and waits for any previous command from any server to complete, including any immediate commands that are currently being processed. It also waits for any buffered data to be flushed to tape. It then reports a deferred error for any preceding command or buffered data, if appropriate. If there is no deferred error, the drive reports Good status and initiates the command. If the Immediate (Immed) flag is set to 0, status is not returned until after the command has completed.

After the command is successfully completed, the drive is positioned immediately before End Of Data (not End Of Tape).

6Ultrium Internal Tape Drive and 3580 Ultrium Tape Drive: SCSI Reference

Page 20
Image 20
IBM T200F manual Erase Command