User`s guide

DC 900-1317J 109
Chapter
6
ADCCP NRM Line-Monitor
Function
This chapter describes the Line-Monitor function of the ADCCP NRM protocol. When
selected, this function sends to the client, via a dedicated Monitor Session (distinct from
any Link Session), a record of each incoming and outgoing SDLC frame as it is received
or transmitted on those links that have been configured by the client for this purpose.
The final section describes Protogate’s ADCCP NRM Line-Monitor client program,
which is provided for basic diagnostic purposes and as an example of the coding needed
for accessing and controlling a Monitor Session and for displaying reported frames.
6.1 Opening and Attaching the Monitor Session
A single Monitor Session may be opened and attached for a given ICP. The opening and
use of the Monitor Session is optional. Unless this session is opened and attached, the
ICP does not perform line monitoring.
A Monitor Session is opened by the client in the standard manner: with a dlOpen call.
As with dlOpen calls for Link Sessions, the session-name parameter of the call must
specify the name of the section in the DLI configuration file that defines this Monitor
Session (e.g., "
server0icp0monitor"). The Monitor Session must be opened for
Raw operation.
The iProtModifier field of the Attach command must be set to 3; this is how the ICP
interprets the Attach as pertaining to the Monitor Session as opposed to a Link Session.
The
usProtLinkID field is not used. The rest of the Optional Arguments are set per
Figure 3–1 on page 51