ASAP 2.8 Server Manual

ASAP Conversational Interface Commands
HP NonStop ASAP Server Manual522303-007
6-13
APP Command
-------------------------------- --------------- ----- ----- -- -----
Receive\$Jx50 Up 5/10 17:47 4 0
Receive\$Jx51 Up 5/10 17:47 4 0
continued...
TransRate ErrCount Busy State
--------- -------- ----- -----
0.1500 2 0.04 3
0.6000 4 0.10 3
This example retrieves detail record information about the ATM application directly
from ASAP memory instead of from the ASAP database.
APP ATM, DETAIL, STATE, MEMORY
This example limits the response to an in-memory record request only to domains
where at least one attribute state is at the medium alert level (state 4.)
APP ATM, DE, ST, MEM, MINSTATE 4
This example shows information from the ASAP database but limits the output to only
aggregate domains. It uses the AO abbreviation for AGGREGATEONLY.
APP ATM, DE, ST,AO
This examples extracts all ATM records for the last 1000 samples into a separate file
named $DATA.STORE.ATMFILE while suppressing terminal output.
APP ATM, EXTRACT $DATA.STORE.ATMFILE, NOPRINT, SAMPLES 1000
This example illustrates writing comma-separated value (CSV) records to a pre-
existing entry-sequenced file named ATMCSV. Only aggregate ATM records are
written to the CSV file, for 1000 samples. The TAB option replaces normal tab
characters in the output with a comma.
APP/OUT ATMCSV/ATM, DE, ST, AO,RAW, TAB ",", NOLINEBREAK, S1000
The next example illustrates the EDL DETAIL command for a user-defined ASAP entity
where the entity is controlled by a SET AGGREGATE ONLY command in ASAPXCNF.
When SET AGGREGATE ONLY is defined for an entity, detail records are not written
to the ASAP database, but they are available from ASAP memory using the ME
(MEMORY) option. Setting this command in user EDL files lets you right-mouse on an
object in ASAP Client and then select Show Object Details to show the detail records
that make up the aggregate domain. The MI (MINSTATE) option is used to control
record selection to choose only records where at least one attribute state is equal to or
greater than the low-alert state (3), and the CO (COUNT) parameter is used to limit the
number of lines of response to 20. Setting this command lets you immediately retrieve
the alerting detail records from an aggregate domain where only the aggregate domain
is written to the ASAP database and to the ASAP Client. Option abbreviations are used
in the EDL DETAIL command because the domain name insertion (^) can insert up to
64 additional bytes into the command. Completely spelled options can result in
commands that are too long when the application uses long domain names.
EDL DETAIL "APP ^, DE, ST, ME, CO 20, MI"