HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)

6-39
Error Handling
SDCONV makes distinctions among three categories of errors.
The first is the syntax errors. These are errors caused by typographical errors and illegal command syntax
constructions. When these errors are detected, a caret is displayed beneath the erroneous command line
where the error was discovered, and an error message is issued. If the command issued is an invalid
command, it is not logged into the log file.
The second category consists of operational errors. These errors are caused by commands that request
invalid operations. For example, requesting LOAD when no System Dictionary is open is an operational
error. Error messages will be displayed in response to these errors.
The third category consists of fatal errors. These are usually file system related errors that the program
has very little or no control over. When such an error is detected, the program is usually terminated.
Failure to open $STDINX is such an error.
Control Y Handling
CONTROL Y is enabled when any of the following is true:
1 Standard input is interactive and SDCONV is expecting a command.
2 Standard input is interactive and SDCONV is in the REDO command.
3 Standard input is interactive and SDCONV is displaying help messages.
Note that once the definition loading process starts, CONTROL Y is disabled until the completion of the
loading process.
If you enter CONTROL Y, SDCONV displays:
< Control Y >
and reissues the first level command prompt ('>').
Session Mode vs, Job Mode
SDCONV can be run in batch mode. When running SDCONV in batch mode, the input/list pair is
considered non-interactive and non-duplicative.
The following differences between SDCONV in session mode and SDCONV in job mode should be noted:
In job mode, the CONTROL Y and the REDO command are both disabled. In session mode, positive run
options are ignored. Thus, if the $STDINX is used for input in a session, any run option other than -1 or 0
is always ignored.
Therefore, in a job, the input is echoed to $STDLIST by SDCONV.