ACC Utilities Reference Guide

Chapter 5 137
ZTERM - Interactive Routine Interface
ZTERM Available Commands
LG-GetLogicalTerminalDataFromQueue
Format: LG,zlu,[queue]
This command retrieves logical terminal queue data from the specified
logical terminal data queue. If the queue number is omitted, the number
will be defaulted to the queue number from the last data queue command
(LQ, LG or LP). The retrieved data will be displayed on the terminal.
LP - Put Logical Terminal Data to Queue
Format: LP,zlu,[queue]
This command puts a test message (of length 100 bytes) on the specified
logical terminal data queue. If the queue number is o mitted, it will be
defaulted to the queue number from the last data q ueue command (LQ,
LG or LP).
LQ - Allocate Logical Terminal Queue
Format: LQ,appl,label
This command requests a logical terminal data queue for the given
terminal application with the given label. If this label is already
allocated for this application, then the existing queue number will be
returned.Thiscommandmaybeusedtosetthelogicalqueuenumberfor
subsequent LG and LP commands.
LS - Allocate Logical Terminal Storage
Format: LS,appl,label,size
Parameters: appl application number (0 for general allocation)
label unique label for queue within application (up to 6
ASCII characters)
Parameters: appl application number (0 for general allocation)
label storage label (up to 6 ASCII characters)
size Bit 15 = 0 : allocate if new
Bit15=1:donotallocate
Bits 14-0 : size of storage in words