TMF Application Programmer's Guide (G06.26+)
TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
5-48
ARFETCHMXAFTERDATA2
ARFETCHMXAFTERDATA2
This procedure is the same as ARFETCHMXAFTERDATA 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 after image of audit records for SQL/MX
objects. ARFETCHMXAFTERDATA2 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. ARFETCHMXAFTERDATA2 copies the data for all columns
from the after image of the current audit record into a buffer specified by the
application. ARFETCHMXAFTERDATA2 works with audit records of type UPDATE
(10), UPDATE FIELDCOMP (15), and INSERT (5).
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 ARFETCHMXAFTERDATA2 ( return-code ! o
, request-bytemap ! i
, reply-bytemap ! o
, bytemap-length ! i
, image-buffer ! o
, image-buffer-length ! i
, end-image-data-offset ! o
, reply-hint ); ! o
Errors (<0) Table 5-3 (later in this section) describes the error codes.
Warnings (>0) None.