
Write Update Key and Data
Hex Code
Data Address
Count
8D
The main storage location of the data.
The number of bytes to write.
Description:
The Write Update Key and Data command writes the key and data
areas of an existing record. If the key length (KL) is zero, this command operates
the same as a Write Update Data command.
If the control unit is oriented to a count area when the command starts (as the
result of the preceding Locate Record or Locate Record Extended command),
processing begins on the following key and data areas. If the control unit is not
oriented to a count area (the preceding command was another Write Update Key
and Data), the control unit orients to the next count area. It then writes the key and
data areas of that record.
If end-of-track is detected before a count area is found, and the next track is in the
extent defined by the previous Define Extent command, the control unit advances
to the next track. Processing begins with the key and data areas of the first user
record on that track (not R0).
If no user data record is located on the track, the command is terminated with
status that includes unit check. The sense data includes No Record Found.
The control unit writes the data into the key and data areas of the record. The
amount of data is defined in the Locate Record transfer length factor parameter (or
the Define Extent block size parameter if no transfer length factor was specified). If
the channel provides fewer than (KL) + (DL) bytes, binary zeros fill the remaining
bytes of the key and data areas.
If the transfer length factor (or blocksize) value is not equal to the sum of the
count-area key length and data length fields of the record to be updated, the action
depends on whether the Define Extent specified CKD Conversion mode (byte 1, bit
2 is ‘1’), in the Global Attributes.
If CKD Conversion mode (byte 1 bit 2 is ‘0’) is not specified, the record is not
updated. The operation is terminated with unit check status. The sense data
will be 24-byte Compatibility format and includes Invalid Track Format.
If CKD Conversion mode (byte 1, bit 2 is ‘1’) is specified, the control unit does
the following:
– If key and data length are both zero, no data transfer is attempted. The
operation is rejected with status that include unit exception.
– If the actual length of the key and data field are not both zero, no data
transfer is attempted. The operation is rejected with unit check status. The
sense data will be ECKD 32-Byte format and will include Invalid Track
Format, Exception Class 0, and a program action code of X
'
0F
'
.
When the transfer length factor value is equal to the sum of the key length and
data length fields in the count area of the record to be updated, the key and data
areas are updated.
Chapter 4. Command Descriptions
4-91
Содержание Multiprise 3000
Страница 1: ...S 390 Multiprise 3000 Enterprise Server R IBM Internal Disk Subsystem Reference Guide SA22 1025 00 ...
Страница 2: ......
Страница 3: ...S 390 IBM Internal Disk Subsystem Reference Guide SA22 1025 00 ...
Страница 32: ...2 12 Internal Disk Subsystem Reference Guide ...
Страница 38: ...3 6 Internal Disk Subsystem Reference Guide ...
Страница 182: ...4 144 Internal Disk Subsystem Reference Guide ...
Страница 198: ...5 16 Internal Disk Subsystem Reference Guide ...
Страница 214: ...6 16 Internal Disk Subsystem Reference Guide ...
Страница 234: ...A 10 Internal Disk Subsystem Reference Guide ...
Страница 238: ...B 4 Internal Disk Subsystem Reference Guide ...
Страница 243: ...4 lease the Code or any copy of it Appendix C Warranties C 5 ...
Страница 244: ...C 6 Internal Disk Subsystem Reference Guide ...
Страница 248: ...D 4 Internal Disk Subsystem Reference Guide ...
Страница 254: ...X 6 Internal Disk Subsystem Reference Guide ...
Страница 263: ......
Страница 264: ...IBM Printed in the United States of America on recycled paper containing 10 recovered post consumer fiber SA22 1 25 ...