TS/MP Management Programming Manual (G06.24+, H06.03+)
Management Programming Examples
NonStop TS/MP Management Programming Manual—540082-001
15-30
Adding or Altering a Server
Adding or Altering a Server
Example 15-2 presents a management program that opens a Pathway subsystem and
issues an ADD SERVER or ALTER SERVER command. The example is a TACL
macro written as a SPI requester and:
1. Determines whether the PATHMON process name and server name are supplied
and checks that the names, as well as the command, are in a valid format
2. Calls routines to ensure that the PATHMON process name, server name, and the
command are entered
3. Loads the ZSPITACL and ZPWYTACL token definitions
4. Defines the SPI buffer
5. Sets the SSID value
6. Initializes the buffer and the selector token
7. Loads the buffer
8. Opens the Pathway subsystem, sends and receives the buffer, and closes the
buffer
9. Displays the results by extracting ZPWY-DDL-SEL-SC from the response buffer
and displaying its contents
To use this example in your own environment, you must supply the Pathway
subsystem name (that is, $PM), the command you want to perform, and the server
class name.