Measure Reference Manual

OBEY
The OBEY command reads MEASCOM commands from a specified file.
Syntax
OBEY filename [ , NOECHO ]
filename
is the name of a command file that contains MEASCOM commands.
NOECHO
prevents the command file from echoing its commands to an output file.
Usage Notes
The terms command file and OBEY file are often used interchangeably.
You can nest up to four command files. When MEASCOM reaches the end of the primary
command file, it resumes reading commands from the device where the first OBEY command
was entered. Nested files can have different echoing options.
Much of the command output for MEASCOM is in the correct format for a command file. You
can use the OUT command, or the OUT option in some MEASCOM commands, to direct
output to a file. With a little editing, you can then use that file as a command file.
Example
This example shows the execution of a command file. The commands and comments following the
OBEY command were read from the command file named DAILY:
+ OBEY DAILY
+ -- begin obey file
+ Add cpu 7
+ Add process *
+ Add file $*.*.ACCOUNT
+ -- end obey file
OSSPATH
In Measure G09 and later PVUs, the OSSPATH command specifies a default directory for use in
expanding OSS file pathnames. OSS file pathnames encountered in MEASCOM that do not begin
with a slash (/) are expanded using the current setting of OSSPATH.
Syntax
OSSPATH "directory"
"directory"
is a fully qualified OSS file pathname that identifies a directory to be used as the default
directory. Subsequent OSS file pathnames that do not begin with a slash (/) are appended to
the default directory name to form a fully qualified OSS file pathname. The default value is
slash (/).
Example
This example shows the output from using the OSSPATH command to declare a default directory:
+ OSSPATH "/Path/to/the/SourceFiles"
+ LISTGNAME "Server"
$DATA01.ZYQ00001.Y000019F.340568 "/Path/to/the/SourceFiles/Server"
OBEY 101