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



According to manuals, it was increased to approx 1TB with V5R3, currently
the same with V7R1.

I think the original question was how many bytes can I write at a time from
an RPG program, not how big the file can be.

I thought about it more and it occurred to me that number is 2,147,483,647
bytes through a pointer because number of bytes to write is an integer and
as Jon said through a RPG variable 16MB.



On Tue, Aug 12, 2014 at 9:56 AM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
wrote:

<I was always under the impression that an IFS file cannot exceed 2 GB.>

That was a V6R1 limit.
Several limits were increased with V7R1
Either 256 gb or 512 gb , might be higher 1 tb.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Birgitta Hauser
Sent: Tuesday, August 12, 2014 11:32 AM
To: 'Midrange Systems Technical Discussion'
Subject: AW: writing large single record stream file

I was always under the impression that an IFS file cannot exceed 2 GB.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok) "What is
worse than training your staff and losing them? Not training them and
keeping them!"

-----Ursprüngliche Nachricht-----
Von: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von
Alan Campin
Gesendet: Tuesday, 12.8 2014 16:48
An: Midrange Systems Technical Discussion
Betreff: Re: writing large single record stream file

But if your program is tereaspace enabled, you allocate storage and you
write to the IFS though a pointer aren't you talking tereaspace being a
limit?

But as earlier poster mentioned. It doesn't really matter. You can write
one byte at a time or 10 million. You can write a single record in one
write or you can write it in a dozen writes. The IFS doesn't care. It is
just streams of bytes. The only reason it really matters and that is not
much is efficiency.


On Tue, Aug 12, 2014 at 8:38 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:

No so in any release from V6 onwards - at V6 the size went up to 16Mb.


On 2014-08-12, at 9:53 AM, "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
wrote:

65535 RPGLE field and/or record size.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
Of
Jim Franz
Sent: Tuesday, August 12, 2014 9:36 AM
To: Midrange Systems Technical Discussion
Subject: writing large single record stream file

What are the limits of writing a single stream record from RPGLE?
I need to write EDI unwrapped stream file, possible 10 to 100 meg
(it's
a monthly file to a government agency). Am using program based on
Scott Klement's IFS samples, currently writing one record per segment,
but have not figured out how to append each segment to a single
record, and what the limits will be. File is much larger than a single
field can hold. Looking for a sample.
Jim Franz
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
http://archive.midrange.com/midrange-l.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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-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.