Use the Retrieve Query screen to retrieve an SQL query through FTP or through a URL.
To retrieve an SQL query:
1. Click SQL Queries on the DB2 Web query navigation tree. A drop down menu appears.
2. On the drop-down menu, click New. The Edit Query screen opens.
3. On the Edit Query screen click FTP or HTTP. To retrieve a query using FTP, click FTP, to retrieve a query using a URL, click HTTP. The Retrieve query screen opens.
4. Identify the location from which you want to retrieve the query
· If you selected FTP, specify the user name and password used to login to the FTP server in the Login and Password fields. In the Host field, specify the FTP host name and in the File Path field, specify the location of the query on the FTP server.
· If you selected HTTP, in the URL filed, type the URL where your query is located.
5. Click Retrieve. The Edit Query window opens. The query that you retrieved appears in the Enter an SQL Statement(s) box.