On Sat, 9 Mar 2024 at 22:13, Paul Gilmartin < [email protected]> wrote: [...]
> Has anyone written a HLASM base64 decoder that works on both ASCII and > EBCDIC? > Well in a different sense. I wrote (and posted on ASSEMBLER-LIST a good many years ago) an HLASM macro that is essentially a DC instruction for base64. That is, you pass it a constant string and it assembles it into a base64 representation. I later added an ASCII conversion option (with default CP 819) because the OP had wanted to have the input strings treated as ASCII. With hindsight I should have used more descriptive variable names, but the whole thing is only about 50 lines, so not too bad to read. Plus another 264 lines for the Rexx-generated conversion table if you want it. Wow - I just looked it up on the list archives at listserv.uga.edu, and it was posted on Thu, 14 Mar 2002 12:34:32 -0500- so just a few days shy of 22 years ago. Something to think about for those who want to move these listserv lists to "modern" platforms like discord or stack exchange, or even groups.io or some IBM hosted list. What chance that a 22 year old post would still be around on one of those...? Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
