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

Controlling Access to a Server Class by NonStop NET/MASTER MS
Working With Pathway Server Classes
106160 Tandem Computers Incorporated 15–7
Assigning an Identifier to a Server Class
When you make a server class available by using the PSNDCTL OPEN command, you
must assign the server class an identifier before NCL can work with it. This is called a
Pathway server class identifier. The server class identifier is the logical name used by
NCL processes to access the server class, and provides a logical connection between
NCL and a server class.
A server class identifier must be from one through eight characters long. You can use
the following characters in a server class identifier, as long as the first character is not a
digit:
Alphabetic characters: A-Z and a-z
Numeric characters: 0 through 9
Other characters: # $ @ _
The following examples show valid server class identifiers:
PSC_1
ID_$3
NCL#4
You can assign a server class identifier to a server class either when you make it
known to NonStop NET/MASTER MS, by using the PSNDCTL OPEN command, or
afterward.
Assigning an Identifier When a Server Class Is Made Available. If you assign a server class
identifier when you make a server class available, NCL can work with the server class
immediately. You use the ID operand of the PSNDCTL OPEN command to assign an
identifier. The following example assigns the identifier PSC_1 to the
\SYS1.$PMON.SERVERCLASS1 server class when you make it available using the
PSNDCTL OPEN command from the OCS command input line:
PSNDCTL OPEN=\SYS1.$PMON.SERVERCLASS1 ID=PSC_1
Assigning an Identifier After a Server Class Is Made Available. If you do not assign an
identifier when you make the server class available using the PSNDCTL OPEN
command, you must assign an identifier later before NCL can work with the server
class. This requires two PSNDCTL commands—one to make the server class available,
another to assign the server class identifier.
Entering the following two commands from the OCS command input line makes a
server class available and then assigns the server class an identifier:
PSNDCTL OPEN=\SYS1.$PMON.SERVERCLASS1
PSNDCTL \SYS1.$PMON.SERVERCLASS1=PSC_1