TMF Application Programmer's Guide (G06.26+)

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
5-52
ARFETCHMXBEFOREDATA2
ARFETCHMXBEFOREDATA2
This procedure is the same as ARFETCHMXBEFOREDATA except that it uses byte
maps instead of bit maps. Byte maps are easier to use for languages that have
difficulty checking and setting bits.
This procedure retrieves column data from the before image of audit records for
SQL/MX objects. ARFETCHMXBEFOREDATA2 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. ARFETCHMXBEFOREDATA2 copies the
data for all columns from the before image of the current audit record into a buffer
specified by the application. ARFETCHMXBEFOREDATA2 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-bytemap input
STRING .EXT
is reserved for future use, but should be set to null.
reply-bytemap output
STRING .EXT
is reserved for future use.
bytemap-length input
INT(32):value
is reserved for future use, but should be set to null.
CALL ARFETCHMXBEFOREDATA2 ( return-code ! o
, request-bytemap ! i
, reply-bytemap ! o
, bytemap-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.