WRITE ATTRIBUTE8Dh

The WRITE ATTRIBUTE command allows an application client to write attribute values to MAM (Medium Auxiliary Memory). Application clients should issue READ ATTRIBUTE commands before using this command to discover what support the device server has for MAM.

Pre-execution checks:

Illegal Field

Deferred Error

Unit Attention

Media Access

For this command to be executed, there must be a tape in the drive, even if it is only partially loaded.

Command descriptor block:

 

 

7

6

5

 

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation Code (8Dh)

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (0)

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

Volume Number (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

Partition Number (0)

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (0)

 

 

 

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

(MSB)

 

 

 

Parameter List Length

 

 

 

 

 

 

 

 

 

 

 

 

 

13

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

Volume The number of the volume within the MAM. The number of volumes of the MAM must be

Number equal to that of the tape. In the case of Ultrium, the only has a single volume, so this field is be set to 0.

Partition The number of the partition within the MAM. The number of partitions of the MAM must

Number be equal to that of the tape. In the case of Ultrium, the only has a single partition, so this field is be set to 0.

Parameter List The length in bytes of the parameter list contained in the Data-Out buffer.

Length

0 The Data-Out buffer is empty. This condition is not be considered an error.

 

 

n The length in bytes of the parameter list contained in the Data-Out buffer.

 

 

180 Commands