Pathway/iTS System Management Manual (G06.24+)
Examples of System Management Tasks
HP NonStop Pathway/iTS System Management Manual—426748-002
6-8
Communicating With Another PATHMON
Environment (Task 3)
.
PROCEDURE DIVISION.
.
.
SEND-DATA.
MOVE 0 TO SEND-ERROR-FLAG
SEND ENTRY-MSG TO "EXAMPLE-SERVER"
UNDER PATHWAY "$AC1" <--(Added)
REPLY CODE 0 YIELDS ENTRY-REPLY
.
.
.
3. Compile the screen program in the SC2 file using the SCREEN COBOL compiler,
as follows:
7> SCOBOLX /IN SC2/
At this point, two different program units exist in the POBJCOD and POBJDIR files:
EXAMPLE-SCREEN-PROGRAM (from Task 1) and EXAMPLE-SCREEN-
PROGRAM-REMOTE (from Task 3).
4. Using your text editor, create a file named COLD2 and enter the TACL commands
shown in Example 6-5.
You use the COLD2 file as a command file to configure the second PATHMON
environment. The commands in this file:
a. Create a log file named LOG2 for the PATHMON environment.
b. Specify a PATHMON configuration file named PATHCTL2, whose name does
not conflict with that of the PATHMON configuration file for the first PATHMON
environment.
c. Create a PATHMON process, assign it the process name $AC2, and run its
primary process on CPU 1.
d. Start PATHCOM, which opens communication with the PATHMON process
named $AC2, reads PATHCOM commands from a command file named
CONFIG2, and returns control to TACL.
e. Start PATHCOM again, so that you are prompted for a new PATHCOM
command.
Example 6-5. TACL Commands in the COLD2 File
PURGE LOG2
FUP CREATE LOG2,TYPE E, REC 132, EXT(100,100), MAXEXTENTS 100
ASSIGN PATHCTL, PATHCTL2
PATHMON /NAME $AC2, CPU 1, OUT LOG2, NOWAIT/
CLEAR ASSIGN PATHCTL
PATHCOM /IN CONFIG2/ $AC2
PATHCOM $AC2