SET TIMESTAMP (A4h)
The SET TIMESTAMP command requests the device server to initialize the timestamp in the media
changer, if the SCSIP bit is set to one or the TCMOS bit is set to one in the Control Extension mode page.
If the SCSIP bit is set to zero, the SET TIMESTAMP command shall be terminated with CHECK
CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to
INVALID FIELD IN CDB.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (A4)
1 LUN Service Action (0Fh)
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 (MSB)
7 Parameter List Length
8
9 (LSB)
10 Reserved
11 Control
Field descriptions:
Parameter List Length:
The PARAMETER LIST LENGTH field specifies the length in bytes of the SET TIMESTAMP
parameters that shall be transferred from the application client to the device server. A parameter
list length of zero indicates that no data shall be transferred, and that no change shall be made to
the timestamp.
The SET TIMESTAMP parameter data format is shown in next table.
Bit 7 6 5 4 3 2 1 0
Byte
0 - 3 Reserved
4 - 9 Time Stamp
10 -
11
Reserved
The TIMESTAMP field shall contain the initial value of the timestamp in the format defined in above table.
The Time Stamp field should be the number of milliseconds that have elapsed since midnight, 1 January
1970 UT. If the high order byte in the TIMESTAMP field is greater than F0h, the command shall be
terminated with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the
additional sense code set to INVALID FIELD IN PARAMETER LIST.
On successful completion of a SET TIMESTAMP command the device server shall generate a unit
attention condition for the initiator port associated with every I_T nexus except the I_T nexus on which the
SET TIMESTAMP command was received, with the additional sense code set to TIMESTAMP CHANGED.
Chapter 3. Supported SCSI Commands 3-75