Try OpenEdge Now
skip to main content
Programming Interfaces
Audit Policy Maintenance APIs : Importing policies from XML : save-changes-to-db procedure
 

save-changes-to-db procedure

Saves the policies previously loaded by import-xml-dbprocedure into the specified database. This should only be called if import-xml-db returns a list of duplicate policies. If import-xml-db does not return duplicate policies or the caller specifies that it should override existing policies, import-xml-db automatically saves the changes into the database, and this procedure should not be called.
Parameters:
INPUT pcDbName AS CHARACTER
Logical name of the database in which to save the previously loaded policies.
INPUT plWait AS LOGICAL
YES specifies to wait if a lock on a record cannot be acquired.
OUTPUT perrorMsg AS CHARACTER
Error messages. Any error message causes the transaction to be backed out.