× 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.



Hi, I wrote a simple program to read an Excel file, modify some cells and
write back on the Ifs. Of course, since I'm an rpg programmer, I used the
service program provided by Scott Klement (HSSFR4).

The problem is when I run the pgm from the command line I've got an error 

Message . . . . :   Java exception received when calling Java method.
Cause . . . . . :   RPG procedure HSSF_OPEN in program xlib/HSSFR4 received
Java exception "java.io.IOException:" when calling method 
"<init>" with signature "(Ljava.io.InputStream;)V" in class
"org.apache.poi.poifs.filesystem.POIFSFileSystem".

If I call the same program using the debug (STRDBG PGM(LE36) UPDPROD(*YES)
SRVPGM(HSSFR4)) it's working perfectly.

POI .jar files are in /QIBM/UserData/Java400/ext.

Any hint, idea or...

Thanks in advance

Marco

P.S. I saw the thread in:
http://archive.midrange.com/java400-l/200505/msg00133.html
but he ended up writing Java code to fix the problem.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.