Pathway/iTS Management Programming Manual
NonStop Pathway/iTS Management Programming Manual—426749-002
13-1
13
Management Programming 
Examples
This section contains the following three management programming examples:
•
A NonStop Pathway/iTS configuration program, written in COBOL
•
A program that issues an INFO PROG command, written in TAL
•
An error handling program, written in COBOL.
Configuring Pathway/iTS
Example 13-1 on page 13-2 contains an example management program that 
configures Pathway/iTS. The program, which is written in COBOL, performs the 
following tasks:
1. Starts the PATHMON process
2. Starts the Pathway subsystem
3. Configures and adds:
•
One TCP object
•
One TERM object
•
One PROG object
•
Two PROGTERM objects
4. Starts the TCP
5. Issues a STATUS command on the TCP
6. Issues a STATUS command on the TERM object
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.










