ACC Utilities Reference Guide

Chapter 5 131
ZTERM - Interactive Routine Interface
ZTERM Available Commands
/E - Exit Program
Format: /E
This command terminates ZTERM, closing its ZLU. This command has
thesameeffectasEX.
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.Thevalidrequests(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 a re 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.