The table in this topic shows the common I/O feedback area of iSeries™.
Offset | Data type | Length | Contents |
---|---|---|---|
0 | Binary | 2 | Offset to file-dependent feedback area. |
2 | Binary | 4 | Write operation count. Updated only when a write operation completes successfully. For blocked record I/O operations, this count is the number of blocks, not the number of records. |
6 | Binary | 4 | Read operation count. Updated only when a read operation completes successfully. For blocked record I/O operations, this count is the number of blocks, not the number of records. |
10 | Binary | 4 | Write-read operation count. Updated only when a write-read operation completes successfully. |
14 | Binary | 4 | Other operation count. Number of successful operations other than write, read, or write-read. Updated only when the operation completes successfully. This count includes update, delete, force-end-of-data, force-end-of-volume, change-end-of-data, release record lock, and acquire/release device operations. |
18 | Character | 1 | Reserved. |
19 | Character | 1 | Current operation.
|
20 | Character | 10 | Name of the record format just processed,
which is either:
For display files, the default name is either the name of the only record format in the file or the previous record format name for the record written to the display that contains input-capable fields. Because a display file might have multiple formats on the display at the same time, this format might not represent the format where the last cursor position was typed. For ICF files, the format name is determined by the server, based on the format selection option used. Refer to the ICF Programming book for more information. |
30 | Character | 2 | Device class: Byte 1:
|
Byte 2 (if byte 1 contains hex 00):
Byte 2 (if byte 1 does not contain hex 00):
|
|||
32 | Character | 10 | Device name. The name of the device for which the operation just completed. Supplied only for display, printer, tape, diskette, and ICF files. For printer or diskette files being spooled, the value is *N. For ICF files, the value is the program device name. For other files, the value is the device description name. |
42 | Binary | 4 | Length of the record processed by the last I/O operation (supplied only for an ICF, display, tape, or database file). On ICF write operations, this is the record length of the data. On ICF read operations, it is the record length of the record associated with the last read operation. |
46 | Character | 80 | Reserved. |
126 | Binary | 2 | Number of records retrieved on a read request for blocked records or sent on a write or force-end-of-data or force-end-of-volume request for blocked records. Supplied only for database, diskette, and tape files. |
128 | Binary | 2 | For output, the field value is the record
format length, including first-character forms control, option indicators,
source sequence numbers, and program-to-server data. If the value is zero,
use the field at offset 42. For input, the field value is the record format length, including response indicators and source sequence numbers. If the value is zero, use the field at offset 42. |
130 | Character | 2 | Reserved. |
132 | Binary | 4 | Current block count. The number of blocks of the tape data file already written or read. For tape files only. |
136 | Character | 8 | Reserved. |