NET/MASTER Network Control Language (NCL) Programmer's Guide
Making a Server Class Available for Access by NCL
Working With Pathway Server Classes
15–14 106160 Tandem Computers Incorporated
When you make a server class available using PSEND OPEN, you have four available
identifier options:
After a server class is assigned a system-wide server class identifier by the
PSNDCTL command, the NCL process uses one PSEND OPEN verb to make the
server class available. The ID operand of the PSEND OPEN verb specifies the
local server class identifier of the server class. The PSEND OPEN verb does not
use the PSNDID operand. This means that the local server class identifier used in
the NCL process is the same as the system-wide server class identifier assigned by
the PSNDCTL command. The following code segment illustrates this:
…
INTCLEAR
INTCMD "PSNDCTL OPEN=\SYS1.$PMON.SERVERCLASS1 ID=SYSID_1"
INTREAD
PSEND OPEN ID=SYSID_1 FORMAT=MAPPED MAP=REPMAP
…
PSEND SEND ID=SYSID_1 MDO=&REQMDO. TO MDO=&REPMDO.
…
After a server class is assigned a system-wide server class identifier by the
PSNDCTL command, the NCL process uses one PSEND OPEN verb to make the
server class available. The PSEND OPEN verb uses both the PSNDID operand,
which specifies the system-wide server class identifier of the server class, and the
ID operand, which explicitly assigns an identical local server class identifier to the
server class. That is, the PSNDID operand and the ID operand specify the same
identifier. This means that the local server class identifier used in the NCL process
is the same as the system-wide server class identifier assigned by the PSNDCTL
command. The following code segment illustrates this:
…
INTCLEAR
INTCMD "PSNDCTL OPEN=\SYS1.$PMON.SERVERCLASS1 ID=SYSID_1"
INTREAD
INTCONT
PSEND OPEN PSNDID=SYSID_1 ID=SYSID_1 FORMAT=MAPPED,
MAP=REPMAP
…
PSEND SEND ID=SYSID_1 MDO=&REQMDO. TO MDO=&REPMDO.
…