MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » August 2014

Re: writing large single record stream file



fixed

As Charles said, I can write x bytes, clear, read, write x more bytes, even
beyond the 16Mb Jon mentioned.
Can someone point me to sample code that can append to the stream? The
current code I've always used only writes records that end with CRLF
eval @len = %len(%trimr(@textbig))
callp writeline(fd:%addr(@textbig):@len) (and writeline is part of
Scott's download sample code)
Jim


On Tue, Aug 12, 2014 at 10: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.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact