Try OpenEdge Now
skip to main content
Programming Interfaces
Audit Policy Maintenance APIs : Caching API : export-cached-audit-events procedure
 

export-cached-audit-events procedure

Exports the audit events cached to a .ad file. This routine retrieves the data cached in the local ProDataSet object. See exportAuditEvents in src/auditing/_aud-utils.p if you want to refresh the data before exporting.
Parameters:
INPUT pcFileName AS CHARACTER
Filename of the .ad file to generate.
OUTPUT pnumRecords AS INTEGER
Number of records exported.
Note: Check for any error messages using the ABL RETURN-VALUE function.