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



Thanks. I just converted BLOB to CLOB and used CLOB variable to convert
into java string and sent it in JSON. It looks like it worked .. waiting
for a confirmation from client..

On Fri, May 11, 2018 at 10:35 AM, Joep Beckeringh <
joep.beckeringh@xxxxxxxxxx> wrote:

Mohammad,

A BLOB is a binary large object; as it is binary, not character, it does
not have a CCSID. If you store something in base64 encoding, it would make
more sense to use CLOB, character large object, which does have a CCSID.

Anyway, if you Google 'retrieve BLOB in RPG' you'll find several useful
descriptions.

Joep Beckeringh


Op 11-5-2018 om 14:16 schreef Mohammad Tanveer:

I have a PDF document stored in a table BLOB field with bas64 encoding.

How can I extract it and pass it to web-service in json format. It looks
like blob field is in CCSID 65535.



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