CP6100 I/O Process Programming Manual

CPTEST
LOG Command
LOG Command
Use the LOG command to open a log file that records all the
CPTEST commands you enter with their corresponding responses or
to close the current log file.
The syntax of the LOG command is:
-----------------------------------------------------------------
| |
| LOG TO <filename> | LOG STOP |
| |
| |
| <filename> |
| |
| is the name of the log file. |
| |
| |
| STOP |
| |
| terminates the logging process. |
| |
-----------------------------------------------------------------
Considerations
The log file you specify is usually a spooler file (that is,
it is in the form $s.#<filename>).
Examples
1. This example opens a spooler file for use as the log.
~LOG TO $s.#ALOG
2. This example closes the log file. CPTEST displays a message
telling you it closed the log file.
~LOG STOP
LOGging terminated.
B-17