Pathway/iTS System Management Manual (G06.24+)

HP NonStop Pathway/iTS System Management Manual426748-002
G-1
G
Source Code for Programs in
Section 6
This appendix presents the source code for the screen and server programs used in
the examples described in Section 6, Examples of System Management Tasks.
You can configure and run a real PATHMON environment based on this example.
To create this environment:
1. Enter the source code for the screen program into a text file named SC (using your
text editor).
2. Enter the source code for the server program into a text file named SV (using your
text editor).
3. Follow the directions in Section 6, Examples of System Management Tasks, to
compile the source code into object programs, configure and start your
environment, configure and start the individual objects for that environment, and
run the application.
Source Code for Screen Program
The source code for the screen program (to be entered in the text file named SC)
appears in Example G-1 on page G-2. This code is written in the SCREEN COBOL
language.
This program is intended for use on user terminals running in block mode. However,
screen programs can also be written to handle terminals operating in conversational
mode.