Re: Decode base64 to job CCSID?
Justin Taylor <[email protected]> Thu, 2 Apr 2026 08:22:21 -0500
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Message-ID | <CAJu8Sp9G5GoZ6bubodFu+UJbNU=6W-KqUngaU5srHZf2V5+zNg@mail.gmail.com> |
That works! Thank you On Thu, Apr 2, 2026 at 7:49 AM Daniel Gross <[email protected]> wrote: > Well - as I'm on holiday right now, I have to poke around a bit - try the > following please: > > dcl-ds decoded qualified; > blob sqltype(blob:1000); > utf8 varchar(1000:4) ccsid(*utf8) pos(1); > end-ds; > > The rest should be the same. The varchar(...:4) is important as the BLOB > var uses an UNS(10) length field (which is 4 bytes). > > Please try - if if doesn't work, can you send some more info? > Version/release etc. so I can dig deeper. > > HTH > Daniel > > -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact [email protected] for any subscription related questions.