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.


Table 1. Device definition list
Offset Data Type Length Contents File Type
0 Character 10 Program device name. For database files, the value is DATABASE. For printer or diskette files being spooled, the value is *N. For save files, the value is *NONE. For ICF files, the value is the name of the program device from the ADDICFDEVE or OVRICFDEVE command. For all other files, the value is the name of the device description. All, except inline data
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. All, except database and inline data
70 Character 1 Device class.

hex 01

Display

hex 02

Printer

hex 04

Diskette

hex 05

Tape

hex 09

Save

hex 0B

ICF
All, except database and inline data
71 Character 1 Device type.

hex 02

5256 Printer

hex 07

5251 Display Station

hex 08

Spooled

hex 0A

BSCEL

hex 0B

5291 Display Station

hex 0C

5224/5225 printers

hex 0D

5292 Display Station

hex 0E

APPC

hex 0F

5219 Printer

hex 10

5583 Printer (DBCS)

hex 11

5553 Printer

hex 12

5555-B01 Display Station

hex 13

3270 Display Station

hex 14

3270 Printer

hex 15

Graphic-capable device

hex 16

Financial Display Station

hex 17

3180 Display Station

hex 18

Save file

hex 19

3277 DHCF Device

hex 1A

9347 Tape Unit

hex 1B

9348 Tape Unit

hex 1C

9331-1 Diskette Unit

hex 1D

9331-2 Diskette Unit

hex 1E

Intrasystem communications support

hex 1F

Asynchronous communications support
 
     

hex 20

SNUF

hex 21

4234 (SCS) Printer

hex 22

3812 (SCS) Printer

hex 23

4214 Printer

hex 24

4224 (IPDS™) Printer

hex 25

4245 Printer

hex 26

3179-2 Display Station

hex 27

3196-A Display Station

hex 28

3196-B Display Station

hex 29

5262 Printer

hex 2A

6346 Tape Unit

hex 2B

2440 Tape Unit

hex 2C

9346 Tape Unit

hex 2D

6331 Diskette Unit

hex 2E

6332 Diskette Unit

hex 30

3812 (IPDS) Printer

hex 31

4234 (IPDS) Printer

hex 32

IPDS printer, model unknown

hex 33

3197-C1 Display Station

hex 34

3197-C2 Display Station

hex 35

3197-D1 Display Station
     

hex 36

3197-D2 Display Station

hex 37

3197-W1 Display Station

hex 38

3197-W2 Display Station

hex 39

5555-E01 Display Station

hex 3A

3430 Tape Unit

hex 3B

3422 Tape Unit

hex 3C

3480 Tape Unit

hex 3D

3490 Tape Unit

hex 3E

3476-EA Display Station

hex 3F

3477-FG Display Station

hex 40

3278 DHCF device

hex 41

3279 DHCF device

hex 42

ICF finance device

hex 43

Retail communications device

hex 44

3477-FA Display Station

hex 45

3477-FC Display Station

hex 46

3477-FD Display Station

hex 47

3477-FW Display Station

hex 48

3477-FE Display Station

hex 49

6367 Tape Unit

hex 4A

6347 Tape Unit

hex 4D

Network Virtual Terminal Display Station

hex 4E

6341 Tape Unit

hex 4F

6342 Tape Unit
 
     

hex 50

6133 Diskette Unit

hex 51

5555-C01 Display Station

hex 52

5555-F01 Display Station

hex 53

6366 Tape Unit

hex 54

7208 Tape Unit

hex 55

6252 (SCS) Printer

hex 56

3476-EC Display Station

hex 57

4230 (IPDS) Printer

hex 58

5555-G01 Display Station

hex 59

5555-G02 Display Station

hex 5A

6343 Tape Unit

hex 5B

6348 Tape Unit

hex 5C

6368 Tape Unit

hex 5D

3486-BA Display Station

hex 5F

3487-HA Display Station

hex 60

3487-HG Display Station

hex 61

3487-HW Display Station

hex 62

3487-HC Display Station

hex 63

3935 (IPDS) Printer

hex 64

6344 Tape Unit

hex 65

6349 Tape Unit

hex 66

6369 Tape Unit

hex 67

6380 Tape Unit

hex 68

6378 Tape Unit

hex 69

6390 Tape Unit

hex 70

6379 Tape Unit

hex 71

9331-11 Diskette Unit

hex 72

9331-12 Diskette Unit

hex 73

3570 Tape Unit

hex 74

3590 Tape Unit

hex 75

6335 Tape Unit
 
72 Binary 2 Number of lines on the display screen. Display
74 Binary 2 Number of positions in each line of the display screen. Display
76 Character 2 Bit flags.

Bit 1:

Blinking capability.

0

Display is not capable of blinking.

1

Display is capable of blinking.

Bit 2:

Device location.

0

Local device.

1

Remote device.

Bit 3:

Acquire status. This bit is set even if the device is implicitly acquired at open time.

0

Device is not acquired.

1

Device is acquired.

Bit 4:

Invite status.

0

Device is not invited.

1

Device is invited.

Bit 5:

Data available status (only if device is invited).

0

Data is not available.

1

Data is available.

Bit 6:

Transaction status.

0

Transaction is not started. An evoke request has not been sent, a detach request has been sent or received, or the transaction has completed.

1

Transaction is started. The transaction is active. An evoke request has been sent or received and the transaction has not ended.
Display
     

Bit 7:

Requester device.

0

Not a requester device.

1

A requester device.

Bit 8:

DBCS device.

0

Device is not capable of processing double-byte data.

1

Device is capable of processing double-byte data.

Bits 9-10:

Reserved.

Bit 11:

DBCS keyboard.

0

Keyboard is not capable of entering double-byte data.

1

Keyboard is capable of entering double-byte data.

Bits 12-16:

Reserved.
 
78 Character 1 Synchronization level.

hex 00

The transaction was built with SYNLVL(*NONE). Confirm processing is not allowed.

hex 01

The transaction was built with SYNLVL(*CONFIRM). Confirm processing is allowed.

hex 02

The transaction was built with SYNLVL(*COMMIT).
ICF
79 Character 1 Conversation type.

hex D0

Basic conversation (CNVTYPE(*USER)).

hex D1

Mapped conversation (CNVTYPE(*SYS)).
ICF
80 Character 50 Reserved.  

 

Parent topic:

Open feedback area