MPE CI Programming for 7.5
July 22, 2008
Page 48
hp e3000
strategy
• use HPAUTOCONT variable judiciously :
• better --
continue
command
if hpcierr > 0 then ...
• if error-condition then
echo something…
return -- or -- escape
endif …
• RETURN vs. ESCAPE
• :return goes back ONE level
• :escape goes back to the CI level in a session, to an active
CONTINUE, or can abort a job
• HPCIERRMSG - variable contains the error text for the value of
CIERROR JCW / variable
• :ERRCLEAR - sets HPCIERR, CIERROR, HPFSERR, HPCIERRCOL
variables to zero
error handling