TS/MP Management Programming Manual (G06.24+, H06.03+)

Server Class Commands
NonStop TS/MP Management Programming Manual540082-001
9-5
ADD SCASSIGN
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). Because
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 immediately asks 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 could 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 to 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.