MPE/iX - CI Programming for Stability

July 18, 2008 HP World '01 21
Predefined variables (cont)
HPLASTSPID - the $STDLIST spoolfile ID of the last job streamed, useful in
:print !hplastspid.out.hpspool
HPLOCIPADDR - IP address for your system.
HPMAXPIN - the maximum number of processes supported on your system.
HPPATH - list of group[.acct] or directory names used to search for script and
program files
HPPIN - the Process Identification Number (PIN) for the current process.
HPPROMPT - the CIs command prompt, useful to contain other info like:
!!HPCWD, !!HPCMDNUM, !!HPGROUP, etc.
HPSPOOLID - the $STDLIST spoolfile ID -- if executing in a job.
HPSTDIN - the filename for $STDIN, useful in script subroutines” where input
has been redirected to a disk file
HPSTREAMEDBY - the Jobname,User.Acct (jobIDnum)of the job/session that
streamed the current job.
HPUSERCAPF - formatted user capabilities, useful to test if user has desired
capability, e.g. if pos(SM,hpusercapf) > 0 then