ACC Utilities Reference Guide

Chapter 4 119
ZMNTR - ZCOM Runtime Monitor
Commands
TR - Set Transfer File
Format: TR,filename
TR is used to automate any repeated series of commands that are used
through ZMNTR. “filename” is the name of a file which consists of a
sequence of ZMNTR command strings, with one command per line.
These command strings are then performed automatically when the TR
command is used.
NOTE WhilemostZMNTRcommandsarenotcasesensitive(ieupperandlower
case are treated the same), the filename in the TR command must be
entered w ith t he correct case.
The file must contain the ZMNTR commands t o be executed. They are
entered as they would b e in the interactive mode. Comment lines must
begin with an asterisk followed by a space , followed by the comment.
Blank lines are allowed.
For example the file example.cmd might contain:
??
tt110
* this is a comment
mx 0
ex
This would be invoked by
ZMNTR> tr example.cmd
It would execute the commands and then exit from ZMNTR. It could a lso
be invoked from the shell command:
$ zmntr tr example.cmd
Note that if the ex command is omitted from the end o f the command file
ZMNTR will return to the ZMNTR> prompt rather than the shell prompt
$ when it completes the file.