HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3  Command Definitions C-E

ERRCLEAR

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster