Exports the audit events from the ProDataSet specified to a .ad file. This routine reads the data cached in the ProDataSet object passed. see export-audit-eventsprocedure if you want to refresh the data before exporting.
Parameters:
INPUT pcFileName AS CHARACTER
Filename of the .ad file.
INPUT DATASET-HANDLE phDataset
ProDataSet object.
OUTPUT pnumRecords AS INTEGER
Number of records exported.
Note: Check for any error messages using the ABL RETURN-VALUE function.