MPE CI Programming for 7.5

July 22, 2008
Page 27
hp e3000
strategy
variable referencing
two ways to reference a variable:
explicit -- !varName
implicit -- varName
some CI commands expect variables (and expressions) as their arguments,
e.g.
:CALC, :IF, :ELSEIF, :SETVAR, :WHILE
use implicit referencing here, e.g.
:if (HPUSER = MANAGER) then
most CI commands don’t expect variable names (e.g. BUILD, ECHO,
LISTF)
use explicit referencing here, e.g.
:echo You are logged on as: !HPUSER.!HPACCOUNT
note: all UDC/script parameters must be explicitly referenced
all CI functions accept variable names, thus implicit referencing works
:while JINFO (HPLASTJOB, exists) do better than ...
:while JINFO (!HPLASTJOB, exists) do