<p>Is there an iSeries command to export the data in a table to CSV format?</p>

<p>I know about the Windows utilities, but since this needs to be run automatically I need to run this from a CL program.</p>

If you want the data to be downloaded directly to a PC, you can use the "Data Transfer from iSeries" function of IBM iSeries Client Access to create a .CSV file. In the file output details dialog, set the file type to
```
Comma Separated Variable (CSV)
```
.
You can save the transfer description to be reused later.