CL is probably not the best choice for this.
Scott Klement wrote some articles for iSeries Network that explain
how to use Java POI/HSSF classes to read and write directly to
Excel spreadsheets. Here is a link to the third article in the series. Links to the other two are at the bottom.
You can also try http://faq.midrange.com/data/cache/533.html