import-xml-fill-dset procedure
- Last Updated: May 5, 2026
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Imports an XML file containing audit polices into a specified
ProDataSet. If the XML file contains policies that already exist in the ProDataSet
and the ploverride parameter is set to NO, this procedure does not fill the ProDataSet and
returns a comma-separated list of existing policies. The caller can then ask for
confirmation and call copy-changes-to-dset procedure. If ploverride is set to YES, this procedure automatically overrides all existing policies and
does not return any duplicates in the pcDupList
parameter. Any errors set the perrorMsg parameter.
It is the caller's responsibility to reject any changes if errors occur.
Parameters:
- INPUT pcxmlFileName AS CHARACTER
- Filename of the XML file to import.
- INPUT ploverride AS LOGICAL
-
YESspecifies to override existing policies. - INPUT-OUTPUT DATASET FOR dsAudPolicy
- Target ProDataSet to import the policies.
- OUTPUT pcDupList AS CHARACTER
- Comma-separated list of policies that already exist in the specified database and also exist in the XML file.
- OUTPUT perrorMsg AS CHARACTER
- Error messages.