fill-audit-dataset procedure

Fills a ProDataSet with the audit policies from the database specified.

Parameters:

INPUT pcDbInfo AS CHARACTER
Database information string that contains at least the logical database name to read the policies from.
OUTPUT DATASET-HANDLE FOR phDset
The ProDataSet object.
Note: Check for any error messages using the ABL RETURN-VALUE function.

Example:

{auditing/include/_aud-utils.i}

DEFINE VARIABLE hAuditDset AS HANDLE NO-UNDO.

RUN fill-audit-dataset IN hAuditUtils (ldbname(1),
  OUTPUT DATASET-HANDLE hAuditDset BY-REFERENCE).