Example of listing pureQueryXML files in an options file

This example shows an options file with default options and entries for three pureQueryXML files.

A simple options file for the pureQuery StaticBinder utility might look like this:

defaultOptions = -traceFile C:\logs\staticbinder.txt -traceLevel ALL
	  -url jdbc:db2://SRVR01:50000/DB01 -username user01 -password pass01
capture_sales.pdqxml = -isolationLevel CS
capture_orders.pdqxml
capture_employee.pdqxml = -url jdbc:db2://SRVR01:50001/DB02 -username user02 -password pass02

The file contains default options and lists three pureQueryXML files.

defaultOptions
This entry specifies the qualifier for the DB2® packages and sets the default connection URL. The line also specifies the file in which to log messages.
Attention: The break in the line is present only to make the example easier to read. pureQuery does not allow entries in options files to contain line breaks.
capture_sales.pdqxml
This entry specifies a pureQueryXML file and a single isolation level.
All of the options that are in the defaultOptions entry apply to this entry.
capture_orders.pdqxml
This entry specifies a pureQueryXML file for which all of the options that are in the defaultOptions entry apply.
capture_employee.pdqxml
This entry specifies a pureQueryXML file to bind against a different database.
All of the other options that are in the defaultOptions entry apply to this entry.

Feedback