MPE/iX - CI Programming for Stability

July 18, 2008 HP World '01 33
use HPAUTOCONT variable judiciously. This is better:
continue
command
if hpcierr > 0 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