Fills the specified ProDataSet with the _aud-event table records from the specified database.

Parameters:

INPUT pcDbName AS CHARACTER
Logical name of the source database.
INPUT plGetAllEvents AS LOGICAL
YES specifies to copy system events.
OUTPUT DATASET-HANDLE phDataset
ProDataSet object to fill with records from the _aud-events table.
OUTPUT errorMsg AS CHARACTER
Error messages.