You can import new result sets from XML and HTML tables, as well as from text files. You can import data from a local file, or from a URL.
To import a new result set:
1. In the Data branch of the desired connection in the DB2 Web Query Tool navigation tree, click any item.
A drop-down menu appears.
2. On the drop-down menu, click New.
The New Result Set page opens.
3. Select the type of file that you want to import as a results set. You can import data in the following formats:
· XML
· Text with comma separated variables
· Text with a fixed width
· HTML
4. Specify the location of the file from which you want to import a results set.
You can specify either a local file on your computer, or a URL.
5. Click Load.
The Import Options page corresponding to the file type that you selected opens.
6. Select the options for the type of results set that you are importing. For more information on the options available for each type see:
· Setting Options for importing XML data
· Setting Options for importing HTML data
· Setting Options for importing Delimited data
· Setting Options for importing data in text format
7. Click Load. The ImportOptions screen opens.
8. Set the import options for importing the result set that you have specified on the Options screen.
9. Click Import. DB2 Table Editor imports the specified result set.