Hello Jevgeni,

If you wish to read the LOB column (BLOB, CLOB, DBCLOB) you'll need to use some form of SQL. (Either embedded SQL or CLI.)

To read/write/update the file (without the LOB column) using _Ropen() and friends, you'll need to create a logical file or SQL view that excludes the LOB columns.

Good luck!


On 11/2/2011 10:11 AM, Jevgeni Astanovski wrote:
Of course Dennis.
Agree with you. There are lots of other methods to get number of records held on file.
And I have solved this particular problem in another way.

However my feeling is that my way was the easiest one from programming point of view :-)
Using APIs requires more code.

But my question was different.
Is it possible to work with tables containing BLOB/CLOB fields from ILE/C without using embedded SQL?

Jevgeni.


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