CP6100 I/O Process Programming Manual

CPTEST
CPTEST Input Line Format
INPUT LINE FORMAT
The CPTEST prompt is a tilde (~). You can type one or more
commands after the prompt; use a semicolon to separate commands
that you enter on the same line.
This example shows three CPTEST commands entered one per line:
~LOG TO $s.#LOGFILE
~LINE $PDF8
~SHOW
This example shows the same commands entered on the same line:.
~LOG TO $s.#LOGFILE;LINE $PDF8;SHOW
The maximum length for a single input line is 132 characters.
However, you can extend the line to another line by entering
an ampersand (&) as a line continuator. (You might want
to enter lines of more than 132 characters when using the
SEND and SENDNW commands). The maximum command length using
line continuators in 2048 characters.
You cannot place an ampersand within a string to continue a
line. Instead, close the string with quotation marks, type a
comma followed by an ampersand, and resume the string on the
next line, starting with quotation marks.
This example shows the use of the ampersand to extend a CPTEST
command line to more than 132 characters:
~LINE $PDF8;SEND 05,00,01 "this is a test string that", &
"extends the CPTEST command line to a second line."
NOTE
CPTEST has the same prompt as a tool called CSSDBUG,
a nonsymbolic debugger. The two tools also have some
common commands. Therefore, if you use CPTEST and
CSSDBUG together, you should run them on separate
terminals to avoid confusion.
B-2