Measure Reference Manual
INT .EXT:ref:$LEN(IF^ITEM^G09^DEF) / 2
is a structure that supports longer (128 byte) SQL/MX run unit names in Measure G09 and
later PVUs:
STRUCT IF^ITEM^G09^DEF (*);
Begin
Int Item^Name[0:15]; ! Item name in entity record
Int Relation^Operator;! Relation Operator
! See Usage Notes (page 450)
! Bit 0 must be 1
!
! Bits 13:15
! 1 -> Equal =
! 2 -> Not Equal <>
! 3 -> Less Than <
! 4 -> Greater Than >
Fixed Value; ! Value used in comparison
Int Rate; ! Use rated or nonrated value
! for condition checking:
! 0 -> No-Rate, 1 -> Rated
Int SQLName[0:63]; ! For SQLSTMTs only
Int SQLIndex; ! SQL Index number
String IP^addr[0:15] = SQLName;
Int port = SQLIndex;
Int IP^wildcard^flags = value;
End;
DEFINE IP^addr^wildcard^flag = IP^wildcard^flags.<0>#,
port^wildcard^flag = IP^wildcard^flags.<1>#;
or
if^item
input
INT .EXT:ref:$LEN(IF^ITEM^DEF) / 2
is a structure that provides compatibility with existing applications and older data files in
Measure pre-G09 and earlier PVUs:
STRUCT IF^ITEM^DEF (*);
Begin
Int Item^Name[0:15]; ! Item name in entity record
Int Relation^Operator;! Relation Operator
! 1 -> Equal =
! 2 -> Not Equal <>
! 3 -> Less Than <
! 4 -> Greater Than >
Int(32) Value; ! Value used in comparison
Int Rate; ! Use rated or nonrated value
! for condition checking:
! 0 -> No-Rate, 1 -> Rated
Int SQLName[0:15]; ! SQL run-unit in Ascii
Int SQLIndex; ! SQL Index number
End;
item^name
input
is one of the counter names defined in the entity record (for example, CPU-BUSY-TIME for
a CPU record).
relation^operator
input
MEASWRITE_DIFF_ 447