beautypg.com

Using abbreviations in commands – HP NonStop G-Series User Manual

Page 33

background image

Measure Command Interface (MEASCOM)

Measure User’s Guide 520560-003

2 -5

Using Abbreviations in Commands

Using Abbreviations in Commands

When you enter MEASCOM commands interactively (at the + prompt), you can
abbreviate the keywords for commands, objects, attributes, and counter names. For
example, instead of entering STATUS MEASUREMENT, you can enter STAT MEASU.

MEASCOM matches abbreviations word by word and gives priority to exact
matches. For example, LIST is always recognized as the LIST command and not
as an abbreviation of LISTALL.

For commands, objects, and attributes, MEASCOM compares each abbreviation
against all other commands, objects, and attributes. Each abbreviation you use
must be unique among all commands, objects, and attributes. For example, RE is
not an abbreviation for the RESET command because it also matches the
REPORT object.

For counter names, MEASCOM compares abbreviations only against other
counter names for the specified entity type. For example, the DISC entity has
counters named REQUEST-QTIME and REQUEST-QLEN-MAX. You could
abbreviate these names as REQUEST-QT and REQUEST-QL. Hyphens are
treated as part of the name, not as spaces. You cannot abbreviate
REQUEST-QTIME as REQ-QT.

As new keywords are added to MEASCOM, you might need to modify the
abbreviations you use so that they remain unique.

You cannot use abbreviations in noninteractive command entry (that is, when you
execute a MEASCOM command from the TACL prompt).

You cannot use abbreviations in a command (OBEY) file or in an input file used
during noninteractive command entry. Because abbreviations can change from
RVU to RVU, this prevents command files from becoming obsolete.

You cannot abbreviate the topic in a HELP command. For example, you must enter
HELP ADD TERMINAL, not HELP ADD TER.

Note.

MEASCOM recognizes DISK as an alternate spelling for the keyword DISC. You

cannot use DISK as an abbreviation for DISKFILE.