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
15–6 106160 Tandem Computers Incorporated
If you wish, you can design the panels used by an NCL PATHSEND requester so that
they look the same as the screen displays used by a requester written in another
language. This means that a user can communicate with a server process by using
screen displays with which they are already familiar.
See Section 14, “Working With Panels,” for information on creating and using panel
description files.
Using User-Defined Maps
to Define Message
Structure
Using Pathway requesters written using languages other than NCL, the structure of
request and reply messages is typically defined using the Tandem Data Definition
Language (DDL) in a source schema file.
Using NonStop NET/MASTER MS, you can use the same source schema file to create
user-defined maps. An NCL PATHSEND requester can then use the user-defined
maps to describe and interpret the data structures in request and reply messages.
This means that an NCL PATHSEND requester and a requester written in another
language can use the same data structures for request and reply messages when
communicating with a server process. The data structures of the messages sent to and
from the server process are identical, regardless of the requester process that is used.
See Section 11, “Standard and User-Defined Maps,” for information on creating and
using user-defined maps.
Controlling Access to
a Server Class by
NonStop NET/MASTER
MS
After you have written a server program, you must prepare the server class for
system-wide access—that is, prepare it for access by NonStop NET/MASTER MS—
before an NCL PATHSEND requester can work with it. The PSNDCTL commands
control system-wide access to a server class. In particular, you must assign the server
class an identifier before an NCL PATHSEND requester can work with the server
class.
This subsection describes how to use the PSNDCTL commands.
Making a Server Class
Available to NonStop
NET/MASTER MS
If you want to work with a server class from NonStop NET/MASTER MS, you must
prepare it by using the PSNDCTL OPEN command. This command makes the server
class known to NonStop NET/MASTER MS and makes the server class available for
system-wide access. You cannot access a server class from an NCL process unless it is
known to NonStop NET/MASTER MS and available for system-wide access. Entering
the following command from the OCS command input line makes a server class
available for system-wide access:
PSNDCTL OPEN=\SYS1.$PMON.SERVERCLASS1
This example shows the simplest form of the PSNDCTL command. This command
makes the \SYS1.$PMON.SERVERCLASS1 server class available for use with
NonStop NET/MASTER MS—making it available so that many NCL processes, when
a server class identifier is subsequently assigned, can communicate with the server
class and so that no Guardian process has exclusive use of the server class.