Try OpenEdge Now
skip to main content
Programming Interfaces
Audit Policy Maintenance APIs : Additional audit policy procedures : _get-db-list.p
 

_get-db-list.p

Gets a list of databases connected with some additional information about each database. The caller determines if the list should contain only audit-enabled databases. The list of possible entries is defined in src/auditing/include/_aud-std.i.
Parameters:
INPUT pcgetCompleteList AS LOGICAL
YES specifies to return a complete list of connected databases, including the nonaudit-enabled ones. If the user does not have permission (Audit Data Reporter) to read the policy tables for a database, the database is not included when the caller specifies NO to return a list of audit-enabled databases only.
OUTPUT cList AS CHARACTER
Returned list of databases. The information for each database is separated by the value of CHR(1).