ERRCLEAR [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Commands Reference Manual Volume I
ERRCLEAR
Zeros out all HP predefined error-related variables. (Native Mode)
Syntax
ERRCLEAR
NOTE This command follows the optional MPE/iX command line syntax.
Refer to "Optional Format for MPE/iX Commands" at the beginning of
this chapter.
Parameters
None
Operation Notes
This command is equivalent to the following:
* SETVAR CIERROR 0
* SETVAR HPCIERR 0
* SETVAR HPCIERRCOL 0
* SETVAR HPFSERR 0
Use
This command is available from a job or session. It is not available
from a program or in BREAK. Pressing Break has no effect on this command.
Example
errclear
continue
run database
if hpcierr < 0 then
echo database warning ![abs(hpcierr)] detected, proceeding...
elseif hpcierr > 0 then
echo FATAL database error !hpcierr detected, halting...
escape
endif
Related Information
Commands ESCAPE, RETURN
Manuals None
MPE/iX 5.0 Documentation