|
Thanks all! I will give it a shot.
On Wed, Sep 2, 2020 at 6:06 PM Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
wrote:
As the others have said, many of the old IFS APIs, including stat() use
32-bit integers and are therefore limited to 2GB or 4GB file sizes.
Use stat64() instead, which uses 64-bit integers.
If you don't have prototypes you can find them here:
http://www.scottklement.com/rpg/copybooks/ifsio_h.rpgle.txt
On 9/2/2020 2:10 PM, Brad Stone wrote:
Just curious if anyone has run into an issue with the max size a streamto
file can be when working with it through RPG and the IFS APIs.
I have someone with 25GB file and it's erroring out on the stat() call
check for it's existance (I don't have the RC right now). Also, EDTF--
reports an error as well "Object is too large to process."
Thanks.
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.