Maybe I'm missing something but 65,535 seems partially correct. While that
is the largest RPGLE field, because IFS is not DB2 fixed record formats, its
record length is controlled by the location of the CRLF at the end of the
stream of data. Writing consecutive 65,535 fields to the IFS without a CRLF
between them is the same as writing one 131,070 byte field. So, basically
there is not a limit for a single record (that I have ever bumped up against
in my limited IFS usage).
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Steinmetz, Paul
Sent: Tuesday, August 12, 2014 9:53 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: writing large single record stream file
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.
As an Amazon Associate we earn from qualifying purchases.