ASAP 2.8 Server Manual
ASAP Conversational Interface Commands
HP NonStop ASAP Server Manual—522303-007
6-11
APP Command
Examples
These examples show some available options along with the display output:
+APP \CENTDIV ATM !DEFAULT OUTPUT Domain = ATM
\CENTDIV Domain\Name\Hierarchy Status Date Time Ct Error
-------------------------------- --------------- ----- ----- -- -----
Atm\Guest\Chicago\$Jx00 Up 5/10 16:56 17 0
Atm\Guest\Chicago\$Jx01 Up 5/10 16:56 17 0
Atm\Guest\Chicago\$Jx20 Up 5/10 16:56 17 0
Atm\Guest\Chicago\$Jx21 Up 5/10 16:56 17 0
+APP \CENTDIV MARKET
\CENTDIV Domain\Name\Hierarchy Status Date Time Ct Error
-------------------------------- --------------- ----- ----- -- -----
Market\Commodities\Corn\Frozen Up 5/10 16:58 12 0
Market\Commodities\Corn\Futures Up 5/10 16:58 12 0
Market\Commodities\Porkbellies\Futures
Up 5/10 16:58 12 0
Market\Commodities\Porkbellies\Salted
Up 5/10 16:58 12 0
Market\Commodities\Soybeans\Futures
Up 5/10 16:58 12 0
The preceding example shows basic APP command output without detail attributes,
and it also shows how ASAP wraps to a second line when the domain name is longer
than 33 characters. The domain name appears on its own line, and its corresponding
data appears on the next line.
The following example, of the Accounts application, uses the DETAIL option so the
output displays the four user-defined metrics: TransRate, ErrCount, Busy, and State.
The EDL definition for the Accounts entity shows the user-defined attributes:
ENTITY Accounts CI ASAP,
COMMAND "APP\*ACCOUNTS,RAW,TAB,DETAIL,STATE,AGGREGATE" ,
DETAIL "APP\*ACCOUNTS,TAB,DE,ST,AG,MI,COUNT 25"
DataItems "0 I, 1 I, 2 U, 3 M, 4 S, 5 C"
ENABLED YES,
ErrorState ErrorState
KeyForNode NodeName, KeyForObj Domain, KeyForRow "Dateymd Time",
RESERVED NO
SGPManage YES, SGPFile "$System.System.ASAPXSGP", SGPSuffix H
HELP "TRANSACTION Application", MaxObjectives 100;
AT NodeName GRID YES GRAPH NO GRAPHMAX 0 HELP "NSK System Name";
AT Sysnum GRID NO GRAPH NO GRAPHMAX 0 HELP "System Number";
AT Domain GRID YES GRAPH NO GRAPHMAX 0 HELP "Domain Name";
AT Status GRID YES GRAPH YES GRAPHMAX 0 HELP "Operational Status"
HEAD OpStatus HeadPickup True
STATEPAIR YES STATERULE UseStateGraphState STATEISOP YES
TypeData CHAR20;
AT OpState GRID NO GRAPH NO GRAPHMAX 9 HELP "Objects Operational
State";
AT Dateymd GRID NO GRAPH NO GRAPHMAX 0 HELP "Date of Stats";