On 10 Dec 2022, at 09:29, Brad Stone <bvstone@xxxxxxxxx> wrote:ask
I have a customer using Scotts Base64 decoding stuff and I told him I'd
his question for him.(Char=x'40')
He's getting the following error decoding data that is pretty big:
CPF9897 Escape 40 12/09/22 16:07:30.792369 BASE64R4 MGFOBJ *STMT TM008
From module . . . . . . . . : BASE64R4
From procedure . . . . . . : INVALIDCHAR
Statement . . . . . . . . . : 471
To module . . . . . . . . . : TM008
To procedure . . . . . . . : _QRNP_PEP_TM008
Statement . . . . . . . . . : *N
Message . . . . : Unable to decode character at position 65536.
Cause . . . . . : No additional online help information is available.saw
I thought at first it was because the field was over 65535. But then I
the character in question is a space (x'40)?Cloud
The field is defined as 500000 char ccsid(1208).
Is there a limit on this base64_decode function? It uses pointers and I
can't find anything else in there that is defined as 65335 bytes.
Bradley V. Stone
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our affiliate
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.