User`s guide

76 DC 900-1340I
BSC Programmers Guide
3.4.2.7 Request BSC 3270 Poll List
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_POLL_LIST to request the current BSC 3270 poll list. The dlRead poll list
report response (the
pOptArgs.usProtCommand field is set to DLI_PROT_GET_POLL_LIST by
the DLI) has the same format as the
dlWrite Set Poll List command (Figure 3–3 on
page 63).
3.4.2.8 Request Virtual 3270 Device Status
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_DEVICE_STATUS to request the status of a virtual 3270 device. Set the MSB of
the
pOptArgs.usProtCircuitID field to the control unit number. For the client application
to request virtual device status, the link must be configured as a tributary (slave) station
(Section 4.10 on page 93), and the 3270 Text Addressing option (Section 4.22 on
page 102) must be set to device emulation.
The dlRead device status report response (the pOptArgs.usProtCommand field is set to
DLI_PROT_GET_DEVICE_STATUS by the DLI) lists the status of the current device numbers
(maximum of 32). The format of the
dlRead device status report is a single byte for each
device number, starting with device number 0 in the first byte of the
pBuf data area.
Figure 3–6 shows the status byte format for each device number.
Figure 3–6: BSC 3270 Device Status Bits
de ec oc cr ir db
pt
is
device in service
device busy
intervention required
command rejectoperation check
equipment check
device end
printer(1)/display(0)
7
6
5
43
210