The device definition list part of the open feedback area is an array structure. Each entry in the array contains information about each device or communications session attached to the file. The number of entries in this array is determined by the number at offset 146 of the open feedback area. The device definition list begins at offset 148 of the open feedback area. The offsets shown for it are from the start of the device definition list rather than the start of the open feedback area.
Offset | Data Type | Length in Bytes | Contents |
---|---|---|---|
0 | Character | 10 | Program device name. For printer or diskette files being spooled, the value is *N. For database files, the value is DATABASE. For save files, the value is *NONE. For ICF files, the value is the name of the program device from the Add ICF Device Entry (ADDICFDEVE) or Override ICF Pgm Device Entry (OVRICFDEVE) command. For all other files, the value is the name of the device description. |
10 | Character | 50 | Reserved. |
60 | Character | 10 | Device description name. For printer or diskette files being spooled, the value is *N. For save files, the value is *NONE. For all other files, the value is the name of the device description. |
70 | Character | 1 | Device class.
|
71 | Character | 1 | Device type.
|
72 | Binary | 2 | Not applicable to printer. |
74 | Binary | 2 | Not applicable to printer. |
76 | Character | 2 | Not applicable to printer. |
78 | Character | 1 | Not applicable to printer. |
79 | Character | 1 | Not applicable to printer. |
80 | Character | 50 | Reserved. |