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