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 26. I/O Feedback Area for Database <strong>File</strong>s (continued)<br />

Offset Data Type Length Contents<br />

Bit 6: <strong>File</strong> position changed indicator. Set<br />

only for read and positioning I/O<br />

operations. Not set for write, update,<br />

and delete I/O operations.<br />

0 <strong>File</strong> position did not change.<br />

1 <strong>File</strong> position did change.<br />

Bit 7: Pending exception indicator. Valid for<br />

files open for input only and<br />

SEQONLY(*YES N) where N is greater<br />

than 1.<br />

0 Pending retrieval error does<br />

not exist.<br />

1 Pending retrieval error does<br />

exist.<br />

Bit 8: Duplicate key indicator.<br />

0 The key of the last read or<br />

write operation was not a<br />

duplicate key.<br />

1 The key of the last read or<br />

write operation was a<br />

duplicate key.<br />

20 Binary 2 Number of key fields. Use this offset for binary<br />

operations. Use the next offset (offset 21) for<br />

character operations. These offsets overlap and<br />

provide the same value (there can be no more<br />

than 32 key fields, and only the low-order byte of<br />

offset 20 is used).<br />

21 Character 1 Number of key fields.<br />

22 Character 4 Reserved.<br />

26 Binary 2 Key length.<br />

28 Binary 2 Data member number.<br />

30 Binary 4 Relative record number in data member.<br />

34 Character * Key value.<br />

* Character * Null key field byte map.<br />

Get attributes feedback area<br />

Performing the get attributes operation allows you to obtain certain information<br />

about a specific display device or ICF session.<br />

Table 27. Get Attributes<br />

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

0 Character 10 Program device name. Display, ICF<br />

10 Character 10 Device description name. Name of the device description<br />

associated with this entry.<br />

Display, ICF<br />

20 Character 10 User ID. Display, ICF<br />

30 Character 1 Device class:<br />

Display, ICF<br />

190 <strong>File</strong> <strong>Management</strong> V4R5<br />

D Display<br />

I ICF<br />

U Unknown

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

Saved successfully!

Ooh no, something went wrong!