The open feedback area is the part of the open data path (ODP) that contains general information about the file after it has been opened. It also contains file-specific information, depending on the file type, plus information about each device or communications session defined for the file. This information is set during open processing and can be updated as other operations are performed.
Offset | Data type | Length | Contents | File type |
---|---|---|---|---|
0 | Character | 2 | Open data path (ODP) type:
|
All |
2 | Character | 10 | Name of the file being opened. If the ODP type is DS, this is the name of the device file or save file. If the ODP type is SP, this is the name of the device file or the inline data file. If the ODP type is DB, this is the name of the database file that the member belongs to. | All |
12 | Character | 10 | Name of the library containing the file. For an inline data file, the value is *N. | All |
22 | Character | 10 | Name of the spooled file. The name of a database file containing the spooled input or output records. | Printer or diskette being spooled or inline data |
32 | Character | 10 | Name of the library in which the spooled file is located. | Printer or diskette being spooled or inline data |
42 | Binary | 2 | Spooled file number. | Printer or diskette being spooled |
44 | Binary | 2 | Maximum record length. | All |
46 | Binary | 2 | Maximum key length. | Database |
48 | Character | 10 | Member name:
|
Database, printer, diskette, and inline data |
58 | Binary | 4 | Reserved. | |
62 | Binary | 4 | Reserved. | |
66 | Binary | 2 | File type:
|
All |
68 | Character | 3 | Reserved. | |
71 | Binary | 2 | Number of lines on a display screen or number of lines on a printed page. | Display, printer |
Length of the null field byte map. | Database | |||
73 | Binary | 2 | Number of positions on a display screen or number of characters on a printed line. | Display, printer |
Length of the null key field byte map. | Database | |||
75 | Binary | 4 | Number of records in the member at open time. For a join logical file, the number of records in the primary. Supplied only if the file is being opened for input. | Database, inline data |
79 | Character | 2 | Access type:
|
Database |
81 | Character | 1 | Duplicate key indication. Set only if the
access path is KC, KF, KL, KN, or KU:
|
Database |
82 | Character | 1 | Source file indication.
|
Database, tape, diskette, and inline data |
83 | Character | 10 | Reserved. | |
93 | Character | 10 | Reserved. | |
103 | Binary | 2 | Offset to volume label fields of open feedback area. | Diskette, tape |
105 | Binary | 2 | Maximum number of records that can be read or written in a block when using blocked record I/O. | All |
107 | Binary | 2 | Overflow line number. | Printer |
109 | Binary | 2 | Blocked record I/O record increment. Number of bytes that must be added to the start of each record in a block to address the next record in the block. | All |
111 | Binary | 4 | Reserved. | |
115 | Character | 1 | Miscellaneous flags.
|
|
|
All | |||
|
Database | |||
|
Database | |||
|
Database | |||
|
All, except database | |||
|
Database, display, printer, tape, diskette, and ICF | |||
|
Database | |||
116 | Character | 10 | Name of the requester device. For display
files, this is the name of the display device description that is the requester
device. For ICF files, this is the program device name associated with the
remote location of *REQUESTER. This field is supplied only when either a device or remote location name of *REQUESTER is being attached to the file by an open or acquire operation. Otherwise, this field contains *N. |
Display, ICF |
126 | Binary | 2 | File open count. If the file has not been opened shareable, this field contains a 1. If the file has been opened shareable, this field contains the number of programs currently attached to this file. | All |
128 | Binary | 2 | Reserved. | |
130 | Binary | 2 | Number of based-on physical members opened. For logical members, this is the number of physical members over which the logical member was opened. For physical members, this field is always set to 1. | Database |
132 | Character | 1 | Miscellaneous flags. | |
|
Database | |||
|
Database | |||
|
Database | |||
|
Database | |||
|
Printer, display, and ICF | |||
|
All | |||
|
||||
|
Database | |||
133 | Character | 2 | Open identifier. This value is unique for a full open operation (SHARE(*NO)) or the first open of a file that is opened with SHARE(*YES). This is used for display and ICF files, but is set up for all file types. It allows you to match this file to an entry on the associated data queue. | All |
135 | Binary | 2 | The field value is the maximum record format length, including both data and file-specific information such as: first-character forms control, option indicators, response indicators, source sequence numbers, and program-to-server data. If the value is zero, then use the field at offset 44. | Printer, diskette, tape, and ICF |
137 | Binary | 2 | Coded character set identifier (CCSID) of the character data in the buffer. | Database |
139 | Character | 1 | Miscellaneous flags.
|
Database |
|
Database | |||
|
Database | |||
|
Database, Display | |||
|
All | |||
|
||||
140 | Character | 6 | Reserved. | |
146 | Binary | 2 | Number of devices defined for this ODP. For displays, this is determined by the number of devices defined on the DEV parameter of the Create Display File (CRTDSPF) command. For ICF, this is determined by the number of program devices defined or acquired with the Add ICF Device Entry (ADDICFDEVE) or the Override ICF Device Entry (OVRICFDEVE) command. For all other files, it has the value of 1. | All |
148 | Character | Device name definition list. | All |