TMF Application Programmer's Guide (G06.24+)
TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-004
5-50
ARFETCHMXBEFOREDATA
ARFETCHMXBEFOREDATA
This procedure retrieves column data from the before image of audit records for
SQL/MX objects. ARFETCHMXBEFOREDATA can only be used with data-fork audit
records for SQL/MX objects. The object type can be determined by checking the
OBJECTTYPE field in the ARRECORD. ARFETCHMXBEFOREDATA copies the data
for all columns from the before image of the current audit record into a buffer specified
by the application. ARFETCHMXBEFOREDATA works with audit records of type
UPDATE (10), UPDATE FIELDCOMP (15), and DELETE (3).
return-code output
INT .EXT:ref:1
is a returned value indicating the outcome of this procedure.
request-bitmap input
INT(32) .EXT
is reserved for future use, but should be set to null.
reply-bitmap output
INT(32) .EXT
is reserved for future use.
bitmap-length input
INT(32):value
is reserved for future use, but should be set to null.
CALL ARFETCHMXBEFOREDATA ( return-code ! o
, request-bitmap ! i
, reply-bitmap ! o
, bitmap-length ! i
, image-buffer ! o
, image-buffer-length ! i
, end-image-dataoffset ! o
, reply-hint ); ! o
Errors (<0) Table 5-3 (later in this section) describes the error codes.
Warnings (>0) None.