30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

3 Character 2 Cursor location (line and position). Updated on<br />

input operations that are not subfile operations<br />

that return data to the program. For example, hex<br />

0102 means line 1, position 2. Line 10, position 33<br />

would be hex 0A21.<br />

Display<br />

5 Binary 4 Actual data length. For an ICF file, see the ICF<br />

Programming book for additional information. For<br />

a display file, this is the length of the record<br />

format processed by the I/O operation.<br />

Display, ICF<br />

9 Binary 2 Relative record number of a subfile record.<br />

Updated for a subfile record operation. For input<br />

operations, updated only if data is returned to the<br />

program. If multiple subfiles are on the display,<br />

this offset will contain the relative record number<br />

for the last subfile updated.<br />

Display<br />

11 Binary 2 Lowest subfile. ndicates the lowest subfile relative<br />

record number currently displayed in the<br />

uppermost subfile display area if the last write<br />

operation was done to the subfile control record<br />

with SFLDSP specified. Updated for roll up and<br />

roll down operations. Reset to 0 on a write<br />

operation to another record. Not set for message<br />

subfiles.<br />

Display<br />

13 Binary 2 Total number of records in a subfile. Updated on<br />

a put-relative operation to any subfile record. The<br />

number is set to zero on a write or write-read<br />

operation to any subfile control record with the<br />

SFLINZ keyword optioned on. If records are put<br />

to multiple subfiles on the display, this offset will<br />

contain the total number of records for all subfiles<br />

assuming that no write or write-read operations<br />

were performed to any subfile control record with<br />

the SFLINZ keyword optioned on.<br />

Display<br />

15 Character 2 Cursor location (line and position) within active<br />

window. Updated on input operations that are not<br />

subfile operations that return data to the program.<br />

For example, hex 0203 means line 2, position 3<br />

relative to the upper-left corner of the active<br />

window.<br />

Display<br />

17 Character 17 Reserved.<br />

34 Character 2 Major return code.<br />

Display, ICF<br />

00 Operation completed successfully.<br />

02 Input operation completed successfully,<br />

but job is being canceled (controlled).<br />

03 Input operation completed successfully,<br />

but no data received.<br />

04 Output exception.<br />

08 Device already acquired.<br />

11 Read from invited devices was not<br />

successful.<br />

34 Input exception.<br />

80 Permanent system or file error.<br />

81 Permanent session or device error.<br />

82 Acquire or open operation failed.<br />

83 Recoverable session or device error.<br />

Appendix A. Feedback area layouts 187

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

Saved successfully!

Ooh no, something went wrong!