beautypg.com

Write attribute 8dh, Pre-execution checks, Command descriptor block – HP Q153090901 User Manual

Page 180: Cdb fields, Write attribute dh 180, Command descriptor block: cdb fields

background image

Commands

180

WRITE ATTRIBUTE

8Dh

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:

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

loaded.

Command descriptor block:

CDB fields:

Illegal Field

Deferred Error

Unit Attention

Media Access

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

Volume

Number

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

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

Number

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

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

Length

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

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.