export-audit-events procedure

Exports the audit events from the database specified to a .ad file. This routine retrieves the data by using a ProDataSet and then exports the data to the .ad file. see export-cached-audit-events procedure if you want to export the information already cached in a ProDataSet and you have your own ProDataSet object.

Parameters:

INPUT pcDbInfo AS CHARACTER
Database information string.
INPUT pcFileName AS CHARACTER
Filename of the .ad file.
OUTPUT pnumRecords AS INTEGER
Number of records exported.
Note: Check for any error messages using the ABL RETURN-VALUE function.