Pathway/XM System Management Manual

Managing Clients and Requesters
Compaq NonStop™ Pathway/XM System Management Manual426761-001
8-4
Stopping TCPs
You can run a PROGRAM object with or without the NOWAIT option.
The NOWAIT option enables a maximum of 4,095 PROGRAM objects to run at the
same time. If you do not specify NOWAIT, the maximum number of PROGRAM
objects that can run at the same time drops to approximately 100.
The NOWAIT option causes the PROGRAM object to execute concurrently with
PXMCOM, so that the PXMCOM prompt returns immediately to your screen.
Consequently, you must specify a terminal that is different from the terminal at which
you issue the RUN PROGRAM command. The following example (entered at
$TERMA) runs the PROGRAM named SALES on terminal $TERMB:
>> RUN PROGRAM SALES, NOWAIT, FILE $TERMB
>>
After you enter the RUN PROGRAM command, the PXMCOM prompt immediately
appears on $TERMA; you can now enter other PXMCOM commands while SALES
runs.
If you do not specify the NOWAIT option, the PROGRAM runs at the same terminal
from which you specified the RUN PROGRAM command. The PXMCOM prompt does
not appear until you exit the program:
>> RUN PROGRAM SALES
.
(SALES application is running)
.
(user exits SALES)
>>
For the syntax of the RUN PROGRAM command, refer to RUN PROGRAM on
page 11-51.
Stopping TCPs
To stop the TCP associated with a specified TERM object, the TCPs associated with all
TERM objects in a defined group, or all TCPs in the Pathway/XM environment, you
use the STOP TCP command. You can stop a TCP only after you have stopped all
TERM objects controlled by TCPs for that TCP template.
The following command stops the TCP associated with the TERM object TERM-1:
>> STOP TCP TERM-1
The following command stops the TCPs associated with the terminals in the terminal
group named ABC:
>> STOP TCP GROUP ABC
The next command stops all TCPs in your Pathway/XM environment. The TCPs stop in
alphabetical order by process name:
>> STOP TCP *
For the syntax of the STOP TCP command, refer to STOP TCP on page 11-97.