×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Sometimes the obvious is so hard to see. Thanks, Matt.



On Tue, Apr 15, 2008 at 9:49 AM, Haas, Matt (CL Tech Sv) <
matt.haas@xxxxxxxxxxx> wrote:

Gene,

The /'s in your file name make it invalid. Those are directory separators.
They way you have your file name, it's expecting the following directory
structure:

/Excel
/Combined CAT to Premium 03
/21

I'm guessing that's not what you want. Try changing "03/31/2008" to
"03-31-2008" and see if the error goes away.

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Gene Burns
Sent: Tuesday, April 15, 2008 10:44 AM
To: RPG400-L@xxxxxxxxxxxx
Subject: error saving spreadsheet

I'm using Scott Klement's HSSF to create spreadsheets.

My latest program runs fine until it reaches the hssf_save procedure,
where
I get RNX0301 on the following statement:

wwFile = new_FileOutputStream(wwStr);

The variables are as follows;
wwStr = 11702
peFilename = /Excel/Combined CAT to Premium 03/31/2008.xls
peBook = 8



Can anyone tell me what this error means? Debug in 7.0.0.4 shows me where
this is happening but does not give me much to go on for fixing it.


Gene
--
This is the RPG programming on the AS400 / 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.


--
This is the RPG programming on the AS400 / 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.



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