MPE CI Programming for 7.0
July 22, 2008
Page 5
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 - contains the error text for the value of CIERROR
• :ERRCLEAR - sets HPCIERR, CIERROR, HPFSERR, HPCIERRCOL to zero
error handling