Try OpenEdge Now
skip to main content
Programming Interfaces
Audit Policy Maintenance APIs : Generic utility API : policies-dataset-read-xml procedure
 

policies-dataset-read-xml procedure

Reads an XML file containing audit policies and then populate the specified ProDataSet object. If the ProDataSet already contains one or more policies defined in the XML file, this routine returns a comma-separated list of duplicate policies in the pcList parameter, so that caller can decide if it wants to override existing policies while loading the XML into the ProDataSet. This procedure calls src/auditing/_imp-policies.p to read the XML file and import it into the ProDataSet.
Parameters:
INPUT pcxmlFileName AS CHARACTER
XML file name.
INPUT-OUPUT DATASET-HANDLE FOR phDataSet
ProDataSet object.
OUTPUT pcList AS CHARACTER
List of existing policies.
OUTPUT pcErrorMsg AS CHARACTER
Error messages.
Example:
See cancel-import-from-xmlprocedure.