I've finally got the BASE64ENCODE to match what I've created on the front-end in Javascript World.
SELECT
SYSTOOLS.BASE64ENCODE(CAST('USERIDassword' AS VARCHAR(64) CCSID 1208))
FROM SYSIBM.SYSDUMMY1
I cannot DECODE this on the iSeries to get back to the original 'USERIDassword'. Am I missing something very obvious? Whatever I try I either get garbage or a conversion error. My job is already running in CCSID 37.
Thanks in advance.
SELECT
SYSTOOLS.BASE64ENCODE(CAST('USERIDassword' AS VARCHAR(64) CCSID 1208))
FROM SYSIBM.SYSDUMMY1
I cannot DECODE this on the iSeries to get back to the original 'USERIDassword'. Am I missing something very obvious? Whatever I try I either get garbage or a conversion error. My job is already running in CCSID 37.
Thanks in advance.
Comment