ERRCLEAR

Generated from C.60.01 /SYS/PUB/CICAT last modified on Thu Jan 11 09:18:52 2001

Back to Main Index


ERRCLEAR


     Zeroes out all HP predefined error-related variables.

SYNTAX


     ERRCLEAR



PARAMETERS


     None


OPERATION


     This command should be used in place of "SETVAR CIERROR 0" by
     users wanting to take advantage of these variables: CIERROR,
     HPCIERR, HPCIERRCOL, AND HPFSERR.

     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(S)


    errclear
    continue
    run database
    if hpcierr < 0 then
         echo database warning ![abs(hpfserr)] detected, proceeding...
    elseif hpcierr > 0 then
         echo FATAL database error !hpcierr detected, halting...
         escape
    endif

ADDITIONAL INFORMATION


Related Commands: ESCAPE

Back to Main Index