beautypg.com

Parameter list format, Write attribute specific status – HP Q153090901 User Manual

Page 181

background image

WRITE ATTRIBUTE 8Dh

C

omm

an

ds

181

Parameter list format:

The parameter list has the following format. The attributes should be sent in ascending
numerical order. For details of attribute data see “MAM attribute data” on page 115.

If the parameter data contains an attribute with an Attribute Length of zero, one of the following

actions will occur:

If the attribute is read-only or unsupported, no attributes are changes. The command fails,

returning

CHECK CONDITION

with

ILLEGAL REQUEST

sense and additional sense of 2600h

(invalid field in parameter list).

If the attribute can be written to, it is deleted and will not be returned after a subsequent

READ ATTRIBUTE

command.

If the attribute does not exist, the command cannot affect it. This is not considered an error.

Write Attribute specific status:

The command will be terminated and will return CHECK CONDITION under the following

circumstances:

7

6

5

4

3

2

1

0

0

(MSB)

Parameter Data Length (n

3)

3

(LSB)

4

Attribute 1

a

:

:

m

Attribute x

n

Parameter

Data Length

This is not mandatory and will be ignored by the device server because it duplicates the

Parameter List Length.

Description

Sense Key

Additional Sense

There is no cartridge present in the drive

, not even

partially loaded

.

NOT READY

3A00h (medium not present)

The MAM is not accessible even though there is a tape

in the drive. None of the attributes are changed.

MEDIUM

ERROR

0410h (MAM not

accessible)

The MAM has failed (for example from a bad

checksum)

MEDIUM

ERROR

0C0Bh (MAM write error)

T

he Parameter List Length results in the truncation

of an attribute.

ILLEGAL

REQUEST

1A00h (parameter list length

error)

The combination of Volume Number and Partition

Number is not valid.

ILLEGAL

REQUEST

2400h (invalid field in CDB)