import-xml-db procedure
- Last Updated: May 5, 2026
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Imports an XML file containing audit polices into a connected database
specified by its logical name. If the XML file contains policies that already exist
in the database and the ploverride parameter is set
to NO, this procedure does not update the database
and returns a comma-separated list of existing policies. The caller can then ask for
confirmation and call save-changes-to-db 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
and cause the import operation to be backed out.
Parameters:
- INPUT pcxmlFileName AS CHARACTER
- Filename of the XML file with audit policies to import.
- INPUT pcDbName AS CHARACTER
- Logical name of the target database to import the policies.
- INPUT plWait AS LOGICAL
-
YESspecifies to wait if a lock on a record cannot be acquired. - INPUT ploverride AS LOGICAL
-
YESspecifies to override existing 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.