Propriété outputPureQueryXml

Specifies the fully-qualified or relative path to and name of the file or files that the process of capturing SQL statements creates.

The format of the value that you set for this property is name.extension or name$X.extension.

name
Specifies the name of the file. Include the absolute or relative path to the file.
$X
Use this suffix if you are creating multiple pureQueryXML files for a clustered application. pureQuery replaces these characters with two values: the ID of the ClassLoader object for the application, and a timestamp that indicates when pureQuery created the given file.
.extension
The extension must be either .pdqxml or .xml.

When you are capturing SQL statements for the first time from a non-clustered application: You can use the outputPureQueryXml property or the pureQueryXml property. You must use one of them, however. The directory that you specify must exist. You must have permission to create files in that directory.

When you are capturing SQL statements for the first time from a clustered application: Use the outputPureQueryXml property with the $X suffix.

When you are capturing additional SQL statements from a non-clustered application for which you already created a pureQueryXML file: You can use the pureQueryXml property to specify the file as an input file and use the outputPureQueryXml property for capturing additional SQL statements that do not already appear in the input file.

When you are capturing additional SQL statements from a clustered application: Use the pureQueryXml property to specify as an input file the pureQueryXML file that is the result of the merge of the files that you created when you last captured SQL statements from the application. Use the outputPureQueryXml property with the $X suffix to specify the files that you want to capture additional SQL statements to.

You cannot use this property when you want an application to run only statements that were previously captured. You must use the pureQueryXml property to specify the file in which those statements are captured.

Si les deux propriétés outputPureQueryXml et outputXmlRepository sont paramétrées, une exception est émise.

Important : Si les données SQL capturées sont en cours d'enregistrement dans les fichiers se trouvant sur le système de fichiers, vous devez vous assurer que l'application est mise au repos et que les fichiers ne sont pas écrits lorsque vous les récupérez. Si l'application n'est pas mise au repos, le contenu des fichiers risque de ne pas être valide ou l'application risque de ne pas pouvoir mettre à jour les fichiers, car cela générerait une erreur E-S. Vous pouvez utiliser l'option -validateXml à l'aide de l'utilitaire de fusion ou de configuration pour vérifier la validité du fichier.

Commentaires