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



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 stream
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 to
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.

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.