DB2 Web Query Tool allows you to specify the format in which you export your query results. You can export your results in the following formats:
· HTML
· Fixed Width Text
· Formatted Text
· Delimited Text
· XML
· A previously saved format
· Microsoft Excel format
· Into a new or existing DB2 table
· A graphical representation of your result set
Fields and controls for the Select Output page
To specify the format in which you want to export your query results:
1. From the Select Output page, highlight the result set that you want to export from the Select Result Set list.
2. Select one of the three radio buttons or click the Chart button.
· Select Transform to export the data as:
o HTML
o Fixed Width Text
o Formatted Text
o Delimited Text
o XML
Note: If you export your query results to XML, you can format the resulting document with an XML style sheet, also called an XSL document. To do so, click XSL Workbench and create an XSL style sheet or select one by choosing Default or Saved from the Export To drop down then selecting the desired XSL document from the Transforms box.
o A previously saved format
If you selected the Transform radio button, highlight the desired output type from the list.
· Select Excel to export to Microsoft Excel format. If you selected the Excel radio button, skip to the last step in this task.
· Select DB Table to specify that data will be exported to a new or existing DB2 table. For more information on exporting data to a DB2 table see:
o Opening results in a new DB2 table
o Opening results in an existing DB2 Table
If you selected the DB Table radio button, skip to the last step in this task.
· Click Chart to create a graphical representation of your result set. For more information on graphing result sets, see Charting a result set.
3. Optional: Customize the export options for your results.
a) Click Options. The Export Options page opens.
b) Customize the export options for your results. For more information on customizing the options for a specific format, see the following topics:
· Setting Options for Exporting to XML
· Setting Options for Exporting to HTML
· Setting Options for Exporting Formatted Text
· Setting Options for Exporting Fixed Width Text
· Setting Options for Exporting to spreadsheet format
c) Click Save. The Select Output page opens.
4. Select an action to apply to your results set. Select:
· Download radio button to save your results to a local or network drive,
· Display radio button to view your results in your web browser
· E-mail radio button to send your results to an e-mail address.
5. Click Process.
DB2 Web Query Tool exports your query results according to the export options that you specified.