ASAP 2.7 Extension Manual

Implementing the ASAP Extension in an Application
HP NonStop ASAP Extension Manual425265-004
4-15
Disable Statistics Processing
seg^offset
INT(32)
is the offset into the shared memory segment allocated to the metrics for this
domain. This was initially returned to the caller in its call to
ASAP_REGISTER_.
error^detail
INT .EXT:ref:1
is returned here when this parameter is used and an error occurs.
data^item
INT
is the DataItem to be updated. It must be in the range 0 through 11, identifying
the DataItem as defined to the ASAP Extension. The DataItem must be
predefined to the ASAP Extension using ASAP EDL.
value
FIXED
is the amount to add to the existing metric value in shared memory.
math
INT
is the type of math to be used in the update:
–6 Statistics shutdown request has been issued. Statistics are disabled.
–7 Attempt to replace a nonconstant DataItem.
–8 The DataItem in memory experienced an arithmetic overflow and has been
reset to zero. This is only a warning.
–9 Memory address trap detected. The supplied shared memory address
causes a memory trap.
0 Add (the default)
1 Replace, to update DataItems defined as type constant (C) or for DataItems
that are not constants if register flag bit 13 is set on for the domain at
registration time
2 Replace text, to replace constant DataItems with 8-byte ASCII string values
Value Definition