Device definition list

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.
hex 01
Display
hex 02
Printer
hex 04
Diskette
hex 05
Tape
hex 09
Save
hex 0B
ICF
71 Character 1 Device type.
hex 02
5256 Printer
hex 0C
5224/5225 printers
hex 0F
5219 Printer
hex 10
5583 Printer (DBCS)
hex 11 (DBCS)
5553 Printer
hex 14
3270 Printer
hex 21
4234 (SCS) Printer
hex 22
3812 (SCS) Printer
hex 23
4214 Printer
hex 24
4224 (IPDS) Printer
hex 25
4245 Printer
hex 29
5262 Printer
hex 30
3812 (IPDS) Printer
hex 31
4234 (IPDS) Printer
hex 32
IPDS printer, model unknown
hex 55
6252 (SCS) Printer
hex 57
4230 (IPDS) Printer
hex 63
3935 (IPDS) Printer
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.