Skip to main content

Is there a recommended approach to doing base64 decoding from ACUCOBOL? I do have a few ideas in mind, including calling functions from either OpenSSL or MSXML. But the boss is asking for a second opinion.

Our preference would be for a shared library routine as opposed to a standalone utility. Our platforms include both Linux and Windows.

Thanks!


#Base64
#ACUCOBOL9.2.1

Is there a recommended approach to doing base64 decoding from ACUCOBOL? I do have a few ideas in mind, including calling functions from either OpenSSL or MSXML. But the boss is asking for a second opinion.

Our preference would be for a shared library routine as opposed to a standalone utility. Our platforms include both Linux and Windows.

Thanks!


#Base64
#ACUCOBOL9.2.1

We have no user-callable standard routines for doing this. I believe we have some internal routines (because config variables and ActiveX resources sometimes need them). But these are not exposed as something users can call from COBOL.


Is there a recommended approach to doing base64 decoding from ACUCOBOL? I do have a few ideas in mind, including calling functions from either OpenSSL or MSXML. But the boss is asking for a second opinion.

Our preference would be for a shared library routine as opposed to a standalone utility. Our platforms include both Linux and Windows.

Thanks!


#Base64
#ACUCOBOL9.2.1

How about routines implemented in COBOL?  Although having some RM/COBOL specific dialect, there are routines available in an RM/COBOL Knowledgebase article attachment that will do the job.

Article link.

Attachment link.


#Base64