MPE/iX - CI Programming for Stability

July 18, 2008 HP World '01 20
Predefined variables
HPAUTOCONT - set TRUE causes CI to behave as if each command is
protected by a :continue.
HPCMDTRACE - set TRUE causes UDC / scripts to echo each command line
as long as OPTION NOHELP not specified. Useful for debugging.
HPCPUMSECS - tracks the number of milliseconds of CPU time used by the
process. useful for measuring script performance.
HPCWD - current working directory in POSIX syntax.
HPDATETIME - contains the date/time in
CenturyYearMonthDateHourMinuteSecondMicrosecond format.
HPDOY - the day number of the year from 1..365.
HPFILE - the name of the executing script or UDC file.
HPINTERACTIVE - TRUE means $STDIN and $STDLIST do not form an
interactive pair, useful to test if it is ok to prompt the user.
HPLASTJOB - the job ID of the job you most recently streamed, useful for a
default parm value in UDCs that alter priority, show processes, etc.