|
On Dec 9, 2022, at 11:20 PM, Brad Stone <bvstone@xxxxxxxxx> wrote:
That's what I thought too, but I don't see anything defined that big. The
base64_decode function uses pointers.
On Fri, Dec 9, 2022 at 5:14 PM Don Brown via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
--
I’m not near my laptop but 65536 sounds tooo much like exceeding a 65535
defined variable to me.
Sent from my iPhone
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
MPLIB *STMT
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
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Provider!
--
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,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
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.