Define statement, Maximum statement, Define syntax – HP Integrity NonStop H-Series User Manual
Page 54

ViewSys Definition Language (VDL)
ViewSys User’s Guide— 526358-002
D- 2
DEFINE Statement
The ViewSysC file contains a DEFINE statement for each possible CPU type.
DEFINES must appear at the beginning of the file preceding any statements that
reference DEFINES.
DEFINE Statement
The DEFINE statement allows the definition of easily remembered processor symbolic
names to be substituted for the TYPE and SUBTYPE values of the processor in a
MAXIMUM statement. The DEFINE string information is substituted whenever the
defined keyword is found in a statement.
DEFINE must be declared in the ViewSysC file before they are used in a statement.
DEFINE Syntax
The syntax of the DEFINE statement is:
keyword
Defines an alphanumeric symbolic name that is used to refer to the replacement
text defined by
string
.
Notes
•
DEFINES must be terminated by a # symbol.
•
All statements contained in a ViewSysC file must be terminated by a semicolon.
MAXIMUM Statement
The maximum values configuration statement is called the MAXIMUM statement. The
abbreviated form of the statement is MAX.
The MAXIMUM statement provides a mechanism for mapping CPU TYPES and
SUBTYPES to predefined maximum values in order to normalize the graph maximum
for displays of rate or scalar values.
The MAXIMUM statement can also be used to map user-selected maximums for
individual CPU numbers.
A single MAXIMUM statement can span multiple lines.
DEFINE keyword = string#;
DEFINE K10000 = CPUTYPE 7:2#;