CP6100 I/O Process Programming Manual

CPTEST
CPTEST RUN Command
CPTEST RUN COMMAND
The syntax of the command to run CPTEST is:
-----------------------------------------------------------------
| |
| RUN CPTEST / [ IN <infile> , ] [ OUT <listfile> ] / |
| |
| |
| <infile> |
| |
| is a source file containing the CPTEST commands. |
| |
| |
| <listfile> |
| |
| is the name of the output device that receives the |
| listing file. |
| |
-----------------------------------------------------------------
Considerations
1. You must download and start your protocol using the
Communications Management Interface (CMI) before running
CPTEST.
2. You can run CPTEST interactively, or you can enter the
commands in a source file. If you don't specify a
source file, CPTEST expects its input from the terminal.
3. You can enter a series of CPTEST commands on the run line.
In this case, CPTEST executes the commands and then exits
and returns control to the calling process.
4. When you run CPTEST interactively, exit by entering E
or EXIT.
Examples
1. This example invokes CPTEST, which executes the commands in
the source file CSOURCE, which follows. You seldom use a
listing file with CPTEST. If you want a record of the
CPTEST commands and the responses from the protocol, use
the LOG command to set up a log file, as shown in these
examples.
:RUN CPTEST / IN CSOURCE /
B-7