Owner's manual

Working With SAFECOM
Safeguard User’s Guide 422089-020
7 - 18
Checking Command Syntax Only
SAFECOM RUN command are the same as those of the TACL RUN command. For
further details regarding this command, refer to the Safeguard Reference Manual.
For example, the following command runs the program TRACKER that resides in the
current default subvolume:
=RUN TRACKER / IN TRACK1, OUT TRACK2, NOWAIT /
This command specifies that the file TRACK1 is the input file for the program, and the
file TRACK2 is the output file for the program. The NOWAIT option instructs
SAFECOM to redisplay its prompt without pausing for the program TRACKER to
complete execution.
Checking Command Syntax Only
SAFECOM allows you to select a syntax-only mode, in which commands are simply
checked for syntax and not executed. To select this mode of operation, use the
following command:
=SYNTAX ON
In this mode, SAFECOM reports any syntax errors found in commands as you enter
them. The only SAFECOM commands that can be executed in syntax-only mode are
ASSUME, EXIT, OBEY, and SYNTAX. Other commands are merely checked for syntax
errors.
If you enter a command with correct syntax, SAFECOM issues the following message
to remind you that it is in syntax-only mode:
* WARNING * SAFECOM IS IN SYNTAX ONLY MODE; COMMAND NOT EXECUTED.
If you issue a command with incorrect syntax, SAFECOM issues the following
message:
ILLEGAL SYNTAX; COMMAND NOT EXECUTED.
To return to the normal mode of operation, in which SAFECOM executes commands,
use the following command:
=SYNTAX OFF