Since 6.1, RPG supports character variables up to 16 MB.
... because RPG variables are restricted to 16 MB. LOB-Variables defined for
embedded SQL can only hold large objects with a maximum length of 16 MB
(before 6.1 - 65535 Bytes), while a LOB (column) can hold LOBs up to 2 GB.
LOBs > 16 MB have to be handled (within RPG) with either LOB Locators (LOB
columns) or LOB Reference Files (IFS Files).

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!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)



-----Ursprüngliche Nachricht-----
Von: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von
Barbara Morris
Gesendet: Thursday, 11.8 2016 00:35
An: midrange-l@xxxxxxxxxxxx
Betreff: Re: SQL010 - length of a table's record

On 8/10/2016 1:20 PM, Mark Murphy/STAR BASE Consulting Inc. wrote:
I believe 32K is a DB2 limit as RPG supports character variables up to
64K.


Since 6.1, RPG supports character variables up to 16 MB.

--
Barbara

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].