If I specify the CCSID on retDecoded, I get SQLSTATE 42806 "Variable
RETDECODED not compatible or value too long.".


Example:
Dcl-s retDecoded varChar(1000) ccsid(*UTF8) ;



On Wed, Apr 1, 2026 at 12:32 PM cesco via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

You need to know what encoding the encoded in base64 was originally in.
then try to declare retDecoded with that CCSID






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