TS/MP 2.5 Management Programming Manual

To specify node independence for server class attributes, specify \* for node names or omit
node names and set ZNODEINDEPENDENT to ON in the START PATHWAY command.
Here is an example of a partial configuration for a server:
ZMAXLINKS 10
ZLINKDEPTH 2
ZMAXSERVERS 7
ZNUMSTATIC 2
ZCREATEDELAY 10,000,000 (microsecond value for 10 seconds)
ZDELETEDELAY 300,000,000 (microsecond value for 5 minutes)
Each server process in this configuration can have up to 10 links from Pathway subsystem or
Pathsend requesters (ZMAXLINKS has a value of 10). As each link can support a send to the
server process, up to 9 requests can be queued at the server while it is processing a request.
Each link manager can have up to 2 links to each server (ZLINKDEPTH has a value of 2). The
link managers can have links to multiple processes in the server class. A link manager uses a
single open to implement a link. Because ZMAXSERVERS is 7, the server class can have up
to 7 server processes. Because each process can support 10 links, the total number of possible
links to the server class is 70.
When queuing a link request, the link manager prompts for a new link if it does not have its
maximum number of static links (ZNUMSTATIC * ZLINKDEPTH). Otherwise, it only asks for
another link if the request is still queued after CREATEDELAY expires. In this example, since
ZCREATEDELAY is 10 seconds, the request can be queued for 10 seconds.
Unused links to dynamic servers are returned to the PATHMON process by the link managers.
The amount of time to wait before deleting the unused links is controlled by the value in the
ZDELETEDELAY field. In this example, a link to a dynamic server is returned if it has not been
used for 5 minutes.
ADD SCASSIGN
Use the ADD SCASSIGN command to add an ASSIGN message for a given server class in the
PATHMON configuration file. The ASSIGN message assigns a logical file name to a physical file
and specifies attributes of the file. The PATHMON process stores the values specified in this
command and uses it to send an ASSIGN message to the server process when the server is created.
If the server program is written in COBOL, this command is used to override the program file
assignment made in the SELECT clause.
Continuation
You cannot use continuation with this command to add all server ASSIGN messages; you must
explicitly add each server ASSIGN message by name.
Command Syntax
For tokens that may be present in the command and response buffers but are not listed, see “Unlisted
Tokens” (page 49). For descriptions of tokens and fields, see “SPI and EMS Standard Definitions”
(page 50) through “ZPWY-MAP- Definitions” (page 75).
Command
nl
ZPWY-CMD-ADD
Object Type
nl
ZPWY-OBJ-SCASSIGN
Tokens in Command Buffer
nl
ZPWY-MAP-SEL-SCASSIGN token-type ZPWY-DDL-SEL-SCASSIGN.
!r
ADD SCASSIGN 133