In the May 15, 2003, issue of Club Tech iSeries Programming Tips, some information was presented on how to use the Jakarta-POI/HSSF Java classes together with an iseries RPG program to create an Excel spreadsheet. In this tip, the same open-source Java classes will be used to do the opposite: to extract data from an existing Excel spreadsheet.
http://www.easy400.net/hssfcgi/documentation/17840.html
The downloadable as400 source code for this tip contains an RPG service program and Java .jar file that work together with the HSSF classes to make parsing an Excel document a snap. All you have to do is provide a as400 rpg subprocedure for character cells and a subprocedure for numeric cells, and the service program will call them back for each cell in the workbook
Sunday, September 20, 2009
Parsing An Excel Spreadsheet with as400 RPG and Java
Scott Klement has an article on how to do this on the as400 here...
Subscribe to:
Post Comments (Atom)
Popular Posts
- as400 Iseries Tips
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
- Adobe Flex 2.0 Beta
- EclipseZone - Clean Up Warnings with the 'restriction' Suppression Flag
- Common Gateway Interface (CGI) on the as400 / iSeries
- AS400 APIs
- Why Crunch Mode (Long Hours) Doesn't Work
- AS400 Job Scheduler
- as400 iSeries NetServer Disabled user profiles
No comments:
Post a Comment