ERRCLEAR

Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004

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