<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="ftp"-->
 <template>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="ftp">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="jdbc.wml#drivers"/>
  </do>
  <p>Data can be extracted remotely from DB2 and easily loaded into spreadsheets or other applications. </p>
  <p align="left">2) </p>
  <p>Note that some FTP clients do not support the site command, but may allow the command to be executed by preceding it with quote. </p>
  <p align="left">quote site ...</p>
  <p>If the system that the data is to be downloaded to has an FTP server running, the data can be sent from an FTP client running on the host system. This allows the data to be sent automatically by scheduling the transfer as a batch job. In this case, the locsite command is used to set parameters on the local system where the FTP client is running. </p>
  <p align="left">locsite filetype=sqllocsite db2=<i>db2x</i>&#8203;locsite spreadput <i>myquery</i>.sql <i>myquery</i>.dat</p>
  <p align="left">
   <a href="jdbc.wml#drivers">Next: JDBC</a>
   <br/>
   <a href="index.wml">Back Up: IBM DB2</a>
   <br/>
  </p>
 </card>
</wml>

