You cannot have blanks in the file name. I use _ between words to make more readable.
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Darryl Freinkel
Sent: Thursday, November 5, 2015 11:11 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Trying to get a RPG program to read a xlsx
I need help. I have loaded the POI and other libraries onto the machine and compiled. I am using Scott Klement's code and examples.
I am stuck with an error trying to open the spreadsheet with the hssf_Open(path_and_filename). It errors out and the job log shows that the file is not found.
1. The file name and path is long, over 100 characters. Is this a
problem?
2. The file name contains blanks. Is this a problem?
3. I cannot debug the HSSFR4 code. The compiler jumps over it and will
not allow me to put in a break point. I am using the Java/GUI debugger included with iAccess.
Any suggestions would help.
TIA
Darryl Freinkel
Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562 | 2247 La Salle Dr, Marietta GA, 30062, USA | PO Box 72556, Marietta, GA 30007-2556
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Subject to Change Notice:
WalzCraft reserves the right to improve designs, and to change specifications without notice.
Confidentiality Notice:
This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You;
WalzCraft PO Box 1748 La Crosse, WI. 54602-1748
www.walzcraft.com Phone... 608-781-6355
As an Amazon Associate we earn from qualifying purchases.