NET/MASTER Network Control Language (NCL) Programmer's Guide

Controlling Access to a Server Class by NCL
Working With Pathway Server Classes
106160 Tandem Computers Incorporated 15–11
Displaying Information
About Server Class Users
The SHOW PSNDUSER command displays information about the users and NCL
processes currently using the server class, as the following screen shows:
(15:33) --------------------- OPERATOR CONTROL SERVICES ----------------------
SHOW PSNDUSER
NNM0320 PSNDID USERID NCL-PROC NCLID TX AVG-RT AVG-MSG TIME-OPEN
NNM0321 DYNAMIC NMTJN MAKE_SE* 002010 0000002 001.905 00000068 001130.26
NNM0999 *END*
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Controlling Access to
a Server Class by NCL
After you have created a server class, made it available for system-wide access from
NonStop NET/MASTER MS, and assigned it a server class identifier, then an NCL
PATHSEND requester can communicate with the server class.
Table 15-1, earlier in this section, summarizes the PSEND verbs. The following
subsections discuss in detail how to use the PSEND verbs to write an NCL
PATHSEND requester. This subsection lists the system variables set by the PSEND
verbs, lists the return codes set by PSEND verbs, and briefly explains how to handle
run-time server class errors.
System Variables Set by
PSEND Verbs
When attempting to make a server class available from an NCL process, or when
performing other operations on server classes, the PSEND verbs set system variables
to indicate the success or failure of an operation. You can test these system variables
from an NCL process after a PSEND verb has completed its operation. Table 15-2
summarizes the system variables set by PSEND verbs.
Return Codes in
&SYS.PSEND.RC
The return codes in the &SYS.PSEND.RC system variable, after a PSEND verb
completes its operation, are listed in Table 15-3.
Handling Run-Time Server
Class Errors
You can handle run-time server class errors in an NCL process by using either the
ERROR or the PSEND_ERROR error handler. These error handlers are discussed in
Section 7, “Run-Time Error Handling.”