ASAP 1.1 Hybrid Manual
HP NonStop ASAP Hybrid Manual – 529729-004
Page 4-16
const short math
The type of math to be done when applying the new value to the in-memory
data item. Possible values are given by the ASAP_MATH constants defined in the
asapx.h header file. This parameter is optional. The default value is
ASAP_MATH_ADD.
short *ptr_error_detail
A detailed error code, if any. This parameter is optional. The default value is
NULL, which means no detailed error code is returned.
Return Values
ASAP_ERROR_NONE (0)
No error. Update was successful.
ASAP_ERROR_INVALID_PARAM (-101)
A parameter was invalid. If specified, *ptr_error_detail contains the incorrect
parameter number (first param = 1).
ASAP_ERROR_REMOVED (-111)
The domain has been removed. Once cleanup occurs, the domain can be
reregistered.
ASAP_ERROR_HOST_DOMAIN (-112)
There is a problem with this domain on the NonStop server. Updates continue to
occur locally on the Linux system and are sent to the server. However, the server
might not be able to update or display this data. *ptr_error_detail contains the
NonStop server error number.
ASAP_ERROR_MUTEX (applies to asap_update_ts only) (-113)
No mutex was allocated for this domain, or there was an error accessing the
mutex. The update is not performed. To update data, the application must use
the standard asap_update call.
Differences From the NonStop ASAPX API
A different range of values and possible errors is returned.