Steps for using FTP server SQL support
Complete these steps so that you can use the FTP server to submit queries to the DB2® subsystem.
Procedure
Perform the following steps:
Results
To submit a query to DB2 through the FTP server, issue the following commands as necessary:
- SITE FILETYPE=SQL
- SITE DB2=db2name, where db2name is the name of a DB2 subsystem at the host
- RETR fname1fname2, where fname1 is a file at the host that contains a SQL SELECT statement