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

NonStop TS/MP Management Programming Manual540082-001
15-1
15
Management Programming
Examples
This section contains these three management programming examples:
A Pathway subsystem configuration program, written in COBOL.
A program that issues an ADD SERVER or ALTER SERVER command, written in
TACL.
A program that issues an INFO PATHWAY command, written in TACL.
Configuring Pathway
Example 15-1 presents a management program that configures a Pathway subsystem.
The program, which is written in COBOL:
1. Starts the PATHMON process
2. Starts the Pathway subsystem
3. Configures and adds:
°
One server class
°
ASSIGN messages for the server class
4. Starts the server class
5. Issues a STATUS command on the server class
6. Issues a STATUS command on the server processes in the server class
7. Shuts down the Pathway subsystem
The source files used in the example include ZSPICOB, which contains SPI/DSM
COBOL definitions, and ZPWYCOB, which contains Pathway subsystem and DSM
COBOL definitions. The object files used include COBOLEX0, which contains the C00
operating system procedure call formats; COBOLLIB, which contains the COBOL utility
procedure call formats; and PWYUTIL, which contains user-written Pathway/SPI
utilities.