Beppe's utility works really well.

Customizing the formatting is not all that granular. You can create a template spreadsheet, and his utility will populate it with the output from the SELECT statement, but it's not quite as flexible as Scott Klement's HSSF.  But like Scott's, it is open source, so you can modify it.

--
*Peter Dow* /
909 793-9050
petercdow@xxxxxxxxx
/

On 7/16/2025 1:16 PM, Vern Hamberg via MIDRANGE-L wrote:
Hi again

There is a utility written by Beppe Costgliola - here is one link to an article he wrote not too long ago -

https://www.mcpressonline.com/programming/sql/techtip-sql2xlsx-now-climbs-to-the-summit-of-one-million-rows

It has a reference to a startup of his tool. We used an earlier version for some things, he has you pass a SELECT statement in a command that goes to a Java class - it's easier than the thing I came up with, and now it does the latest XLSX format - might use POI underneath, but check out the articles.

*Regards*

*Vern Hamberg*

IBM Champion 2025 <cid:part1.Kpfqyv2D.m1DLvrCt@centurylink.net> CAAC (COMMON Americas Advisory Council) IBM Influencer 2023

On 7/16/2025 1:58 PM, Slanina, John via MIDRANGE-L wrote:
I have been look for a ways to create Excel Spread sheet in native rpgle.
All the sites that have information are down. All Scott links are down.

I know I can dump a file to create via sql. But want to have more control then that.

What is every ones  go to for that now ?

Thanks
John Slanina


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.