ACC Utilities Reference Guide

ZTERM - Interactive Routine Interface
ZTERM Available Commands
Chapter 4 103
/E - Exit Program
Format: /E
This command terminates ZTERM, closing its ZLU. This command has
the same effect as EX.
CL - Close ZLU
Format: CL,ZLU
Closes the specified program ZLU. Returns the ZLU to the ZCOM
subsystem for reuse. Uses the zclos routine call.
CN - Control Requests
Format:CN,ZLU1,ZLU2,req,[mode],[port,type,poll,select],[t1,t2]
The CN command is used to send control requests to terminal ZLUs in
the range ZLU1 to ZLU2. The valid requests (req) available under the
CN command are:
SE - Set terminal parameters
EN- Enable terminal
DI- Disable terminal
AC- Activate terminal
DE- Deactivate terminal
The port, type, poll, and select parameters are only used for “SE
request, and the terminal must be disabled before they can be changed.
They are described under zcntl in the ACC Programmer’s Reference
Guide. See under zsend in that manual for a detailed description of
mode. A terminal must be both enabled and activated before it can send
and receive messages.
CW - Control Write
Format: CW,ZLU,mode,tag1,tag2