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



Hi David,

CLOB cannot be used with RLA. It may not work as expected with various tools (CPYTOSTMF, CPYTOIMPF, et al), and I have no clue what happens if you try to FTP a file with a LOB in it.

CLOB variables are never stored in the record buffer, they have to be fetched separately, which performs slower. (You can make CHAR/VARCHAR work that way as well, but it's not that way by default.)

On the other hand, LOB variables (CLOB, BLOB, DBCLOB) have the advantage that they can be very large (megabytes). That's simply not possible with CHAR/VARCHAR.

So they are good for some things, and bad for others. It's just a matter of using the right tool for the job.


On 2/16/2011 2:25 PM, dmosley@xxxxxxxxxx wrote:
Does anyone know of any problems (performance-wise, or something else)
when using a CLOB RPG variable.

We have stored procedures that calls normal RPG programs. We had a very
generic parameter set where one of the IN params was a 32,000 VARYING
field.
Well, the value of the field got to be too large so we changed it to a
(CLOB:64,000). Now, we are thinking of rasing that size up as well.

So, I'm just curious to know if anyone has used them much, and if , (in
there own opinion), are a good idea or not. And why.

Thanks everyone,
David


David L. Mosley, Jr.
Technical Solutions Architect
Dancik International, Ltd.
2000 CentreGreen Way, Suite 250
Cary, NC 27513

www.dancik.com


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.