Skip to main content

base64 decoding

  • April 29, 2014
  • 2 replies
  • 0 views

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

2 replies

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.


Thomas Morrison
  • Participating Frequently
  • April 30, 2014

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