What I'm supposed to do is read a base64 encoded value
eyJzb3VyY2UiOiJDQ0RWIiwidHJhY2VpZCI6IjNiM2MxZDZjZT U2Y2QxZTBkNThlNDA4NDY2YWVkZWE3In0=
from a field in a database file and decode it to obtain the original JSON statement
{"source":"CCDV","traceid":"3b3c1d6ce56cd1e0d58e40 8466aedea7"}...
Announcement
Collapse
No announcement yet.
Search Result
Collapse
2 results in 0.0021 seconds.
Keywords
Members
Tags
-
IBM Base64 API in RPG - apr_base64_decode procedure
I am trying to use IBM supplied apr_base64_decode in RPG. But the decoded string is ending up as garabage.
Please help me identify what I am missing. Is this due to the Arabic (420) CCSID of our IBM i machine and I need to perform proper conversion? Hoping for guidance.
Code:00
Our Sponsors
Collapse