File Management - IBM

File Management - IBM File Management - IBM

as400bks.rochester.ibm.com
from as400bks.rochester.ibm.com More from this publisher
30.06.2013 Views

Table 23. Common I/O Feedback Area (continued) Offset Data Type Length Contents hex 60 3487-HG Display Station hex 61 3487-HW Display Station hex 62 3487-HC Display Station hex 63 3935 (IPDS) Printer hex 64 6344 Tape Unit hex 65 6349 Tape Unit hex 66 6369 Tape Unit hex 67 6380 Tape Unit hex 68 6378 Tape Unit hex 69 6390 Tape Unit hex 70 6379 Tape Unit hex 71 9331-11 Diskette Unit hex 72 9331-12 Diskette Unit hex 73 3570 Tape Unit hex 74 3590 Tape Unit hex 75 6335 Tape Unit 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-system 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. 184 File Management V4R5

I/O feedback area for ICF and display files Table 24. I/O Feedback Area for ICF and Display Files Offset Data Type Length Contents File Type 0 Character 2 Flag bits. Display Bit 1: Cancel-read indicator. 0 The cancel-read operation did not cancel the read request. 1 The cancel-read operation canceled the read request. Bit 2: Data-returned indicator. 0 The cancel-read operation did not change the contents of the input buffer. 1 The cancel-read operation placed the data from the read-with-no-wait operation into the input buffer. Bit 3: Command key indicator. 0 Conditions for setting this indicator did not occur. 1 The Print, Help, Home, Roll Up, Roll Down, or Clear key was pressed. The key is enabled with a DDS keyword, but without a response indicator specified. Bits 4-16: Reserved. Appendix A. Feedback area layouts 185

I/O feedback area for ICF and display files<br />

Table 24. I/O Feedback Area for ICF and Display <strong>File</strong>s<br />

Offset Data Type Length Contents <strong>File</strong> Type<br />

0 Character 2 Flag bits.<br />

Display<br />

Bit 1: Cancel-read indicator.<br />

0 The cancel-read operation did<br />

not cancel the read request.<br />

1 The cancel-read operation<br />

canceled the read request.<br />

Bit 2: Data-returned indicator.<br />

0 The cancel-read operation did<br />

not change the contents of the<br />

input buffer.<br />

1 The cancel-read operation<br />

placed the data from the<br />

read-with-no-wait operation<br />

into the input buffer.<br />

Bit 3: Command key indicator.<br />

0 Conditions for setting this<br />

indicator did not occur.<br />

1 The Print, Help, Home, Roll<br />

Up, Roll Down, or Clear key<br />

was pressed. The key is<br />

enabled with a DDS keyword,<br />

but without a response<br />

indicator specified.<br />

Bits 4-16:<br />

Reserved.<br />

Appendix A. Feedback area layouts 185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!