ACC Utilities Reference Guide

ZTERM - Interactive Routine Interface
ZTERM Available Commands
Chapter 4114
NM - Retrieve ZLU from Name
Format: NM,name,[node]
Retrieves the ZLU from the name only. Enter the name of the ZLU, (8
bytes maximum). If there is a ZLU of that name, the system will respond
with “ZLU is nnn”. The remote node call is not currently implemented.
Uses the zname routine call.
OP - Open Program ZLU
Format: OP,[name],[PRIM]
Opens a program ZLU. If PRIM is not specified, then the program ZLU
will be an auxiliary. The name of the ZLU must be specified if more than
one ZLU is being opened. Uses the zopen routine call.
PE - Peek at ZLU
Format: PE,[wait]
Peeks at the ZTERM primary ZLU. This command does not remove the
message from the head of the queue. If wait specified, then the program
will display the messages as they are received. If no messages are
received then an INT signal can be used to interrupt the wait (this can
usually be generated by using a ^C). Uses the zpeek routine call.
ZTERM> pe
08:12:43 Message from program ZLU #0802 length 22 tag1=0000 tag2=0000
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII....
000 5468 6973 2069 7320 6120 7465 7374 206D 6573 7361 This is a test message
010 6765 e.
The PE command can also be used to display the header of the message
by using the command modifier HD.
ZTERM> pehd
08:12:47 Message from program ZLU #0802 length 22 tag1=0000 tag2=0000
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII.....
000 0200 007B 0322 2021 007B 0322 2021 0000 0000 0000 { ” ! { ” !
010 0000 0000 0000 0000 0016
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII....