× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott,
Thanks for the clarifaction.  When I opened it in EXCEL and then went to Save As, the file type was Microsoft Exel 95.  After I save it as a current version workbook, I had no problem reading it.
 
Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 
IBM  Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM  Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3
  
 





----- Original Message ----
From: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, October 16, 2008 5:00:37 PM
Subject: Re: Help using XLPARSER4

Hi Jeff,

Jeff Young wrote:
When I modified it for my application, I received the following error:
"java.io.FileNotFoundException: no such entry: "Workbook""


This error means that it *did* find your IFS file, but it can't find a
workbook object inside of it.

You see, Microsoft Office documents are actually archives in themselves
-- much like a ZIP file or SAVF.  They are archives of one or more
internal files.  So within your XLS file will be other, internal, files
that contain the spreadsheet, charts, images, etc... all the stuff that
can be placed in a spreadsheet.

So when it says 'no such entry: Workbook" that means that it's looking
for the Excel workbook inside the XLS archive.  And it's not finding it,
which isn't good.

Either the file it's reading isn't a valid Excel file (for example, a
Word document, or a PowerPoint document uses the exact same archive
format, but wouldn't have a 'Workbook' object because it's not an Excel
spreadsheet) -- or the file has been damaged somehow.  Perhaps it was
cut off during file transfer?  Or perhaps your file transfer software
attempted an ASCII -> EBCDIC conversion, which would've corrupted the
file?  Or perhaps it's an Excel format, but created from a version of
Excel that HSSF doesn't understand?

Hard to say.  I've never encountered this error in my own work...
everything I say above comes from searching the web for the error
message you posted...

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.