HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)
10- 80
:SAVE SDLOG
:RENAME SDLOG,LOGFILE
The file LOGFILE now contains the previously entered input.
SDMCOM When you are merging a version to another existing version, the target version may contain
extra occurrences that do not exist in the source version. If you preview the merge process,
SDMAIN commands to delete the extra occurrences will be generated and stored in the file
SDMCOM. This file may then be used as input to SDMAIN to delete the extra occurrences
without having to enter SDMAIN commands manually. If SDMCOM does not exist, SDUTIL
willcreate it as afixedlength permanent filewithrecord size 80 bytes.If it does alreadyexist,
SDUTILwill ask for permission topurge and re-create it. Note that thiscommand generation
feature can be disabled by redirecting SDMCOM to $NULL. SDCOM may be redirected to a
file via the following file equation:
:FILE SDMCOM = <command file>
Running SDUTIL
SDUTIL may be run in either session or batch mode. These are explained further on in this chapter. The
following information applies to both session and batch mode.
Run Options
When you run SDUTIL, you can specify one of several options through the use of the PARM parameter.
These options deal with the processing of the commands and the handling of any errors encountered. The
parameter values and their meanings are shown in following table.
SDUTIL Run Options
Note that the execute and abort options allow flexibility for you to specify the exact number of errors that
are considered acceptable.
Command Language
The general format of SDUTIL commands is eit her:
• a command, or
-1 Parse Only When SDUTIL is run with the parse-only option, no dictionary or files
are opened and no definitions are copied. The commands issued are only
parsed to catch syntax errors.
0 Execute and do not abort
(Default)
If the PARM parameter is not specified, the default is not to abort regard-
less of the number of errors encountered. All the errors are reported, but-
non-fatal errors will not terminate the program.
1 Execute and abort on the
first error
Aborts on first syntactical or operational error.
>1 Execute and abort only if
the specified number of
errors are found
Aborts at user-specified number of syntactical or operational errors.
May abort before the error count is reached if a fatal error is encountered.