TS/MP 2.5 Management Programming Manual

15 Management Programming Examples
This section contains the following 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 3 (page 319) presents a management program (written in COBOL) that configures a
Pathway subsystem.
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 include:
ZSPICOB – Which contains SPI/DSM COBOL definitions.
ZPWYCOB – Which contains Pathway subsystem and DSM COBOL definitions.
The object files include:
COBOLEX0 – Which contains the C00 operating system procedure call formats.
COBOLLIB – Which contains the COBOL utility procedure call formats.
PWYUTIL – Which contains user-written Pathway/SPI utilities.
318 Management Programming Examples