_update-policies.p
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Saves the tracked changes to policies stored
in a specified source ProDataSet into a specified target database.
If an error occurs for any record update, the procedure sets the ERROR attribute
on both the ProDataSet and buffer, as well as the buffer ERROR-STRING attribute.
The caller should check for errors.
Parameters:
- INPUT pcDbName AS CHARACTER
- Logical name of the target database.
- INPUT-OUTPUT DATASET-HANDLE phDataset
- ProDataSet object containing the tracked changes to save.
- OUTPUT erroMsg AS CHARACTER
- Error messages.
Note: This procedure automatically
refreshes the database cache by calling the
AUDIT-POLICY:REFRESH-AUDIT-POLICY() method.