Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## import-xml-fill-dset procedure

> Import 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 the 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`

> `YES` specifies 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.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095