User`s guide

3: BSC 3270 DLI Functions
DC 900-1340I 73
3.4.2.4 Request Status Report
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_STATUS_REPORT to request the current link status. The status report
returned by
dlRead is a snapshot of the links hardware and software condition. The
dlRead status report response (the pOptArgs.usProtCommand field is set to
DLI_PROT_GET_STATUS_REPORT by the DLI) is an eleven-word report containing the cur-
rent link status as shown in Tab le 3 –8.
Link status indicates whether the link is on, off, or starting. Starting indicates that a con-
nection command was received, but the link did not start because it did not receive the
data set ready (DSR) or data carrier detect (DCD) signal from the remote station
(depending on the modem control option, Section 4.14 on page 95). A line is off until it
is started and the signal has been received from the remote station.
Current operation mode settings indicate whether the line can operate. A line is idle
when data transmission or reception can occur. The setting is DSR off if the DSR signal
is off.
Table 3–7: BSC 3270 Statistics Report Definition
Word Statistic
1 Block check errors
2 Parity errors
3 Receive overrun errors
4 Buffer errors
5 Messages sent
6 Messages received
7 NAKs sent
8 NAKs received
9 Poll timeouts
10 Select timeouts