You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Appendix A. Feedback area layouts<br />
Open feedback area<br />
Tables in this section describe the open and I/O feedback areas associated with<br />
any opened file. The following information is presented for each item in these<br />
feedback areas:<br />
v Offset, which is the number of bytes from the start of the feedback area to the<br />
location of each item.<br />
v Data Type.<br />
v Length, which is given in number of bytes.<br />
v Contents, which is the description of the item and the valid values for it.<br />
v <strong>File</strong> type, which is an indication of what file types each item is valid for.<br />
The support provided by the high-level language you are using determines how to<br />
access this information and how the data types are represented. See your<br />
high-level language information for more information.<br />
The open feedback area is the part of the open data path (ODP) that contains<br />
general information about the file after it has been opened. It also contains<br />
file-specific information, depending on the file type, plus information about each<br />
device or communications session defined for the file. This information is set<br />
during open processing and may be updated as other operations are performed.<br />
Table 20. Open Feedback Area<br />
Offset Data Type Length Contents <strong>File</strong> Type<br />
0 Character 2 Open data path (ODP) type:<br />
All<br />
DS Display, tape, ICF, save, printer file not being spooled, or diskette file<br />
not being spooled.<br />
DB Database member.<br />
SP Printer or diskette file being spooled or inline data file.<br />
2 Character 10 Name of the file being opened. If the ODP type is DS, this is the name of the<br />
device file or save file. If the ODP type is SP, this is the name of the device file or<br />
the inline data file. If the ODP type is DB, this is the name of the database file that<br />
the member belongs to.<br />
12 Character 10 Name of the library containing the file. For an inline data file, the value is *N. All<br />
22 Character 10 Name of the spooled file. The name of a database file containing the spooled input<br />
or output records.<br />
All<br />
Printer or<br />
diskette being<br />
spooled or<br />
inline data<br />
32 Character 10 Name of the library in which the spooled file is located. Printer or<br />
diskette being<br />
spooled or<br />
inline data<br />
42 Binary 2 Spooled file number. Printer or<br />
diskette being<br />
spooled<br />
44 Binary 2 Maximum record length. All<br />
46 Binary 2 Maximum key length. Database<br />
48 Character 10 Member name:<br />
v If ODP type DB, the member name in the file named at offset 2. If file is<br />
overridden to MBR(*ALL), the member name that supplied the last record.<br />
v If ODP type SP, the member name in the file named at offset 22.<br />
58 Binary 4 Reserved.<br />
Database,<br />
printer,<br />
diskette, and<br />
inline data<br />
© Copyright <strong>IBM</strong> Corp. 1998, 2000 169