Skip to main content

Hi,

We have developed a program that takes advantage of the XML and Rmnet extensions, to extract some information from a website by interacting with a SOAP web service.
On the Windows operating system, the program (compiled with the -Ze option) works perfectly and was developed with the help of libraries:

xmlif.dll
rmnet.dll

Problems arose when running functioning tests also on Linux system (Red Hat)
From the examples in our possession we are instructed to use the libraries:

libxmlif.so
librmnet.so


But after several attempts, these are not recognized as cobol libraries


We also tried setting the variables
SHARED_LIBRARY_LIST e SHARED_LIBRARY_EXTENSION, without any success.

By checking the manual, we do not find a confirmation (for version 9.2.5) of these libraries. While an example of execution is proposed on version 10.3.
Also in the manual of version 9.2.5 there are indications for the library: xmlif.so
Run the COBOL program. On Windows use -y xmlif.dll. On UNIX use -y xmlif.so. Test the program and repeat steps 1 and 2, as necessary.

We do not find anything for a possible rmnet.so and in any case these libraries are not in our possession.
Do you have any suggestions to give to us, referring to the 9.2.5 version of Acucobol on Linux system?

Best regards.


#Linux

Hi,

We have developed a program that takes advantage of the XML and Rmnet extensions, to extract some information from a website by interacting with a SOAP web service.
On the Windows operating system, the program (compiled with the -Ze option) works perfectly and was developed with the help of libraries:

xmlif.dll
rmnet.dll

Problems arose when running functioning tests also on Linux system (Red Hat)
From the examples in our possession we are instructed to use the libraries:

libxmlif.so
librmnet.so


But after several attempts, these are not recognized as cobol libraries


We also tried setting the variables
SHARED_LIBRARY_LIST e SHARED_LIBRARY_EXTENSION, without any success.

By checking the manual, we do not find a confirmation (for version 9.2.5) of these libraries. While an example of execution is proposed on version 10.3.
Also in the manual of version 9.2.5 there are indications for the library: xmlif.so
Run the COBOL program. On Windows use -y xmlif.dll. On UNIX use -y xmlif.so. Test the program and repeat steps 1 and 2, as necessary.

We do not find anything for a possible rmnet.so and in any case these libraries are not in our possession.
Do you have any suggestions to give to us, referring to the 9.2.5 version of Acucobol on Linux system?

Best regards.


#Linux

In the 32 bit installation of AcuCOBOL on Linux, the libraries to load are:

librmnet.so

libxmlif.so

In a 64 bit installation of AcuCOBOL on Linux, use:

librmnet64.so

libxmlif64.so

Thank you


In the 32 bit installation of AcuCOBOL on Linux, the libraries to load are:

librmnet.so

libxmlif.so

In a 64 bit installation of AcuCOBOL on Linux, use:

librmnet64.so

libxmlif64.so

Thank you

You need to load the library in addition to running a COBOL program i.e.

runcbl -y libxmlif64.so program.acu


You need to load the library in addition to running a COBOL program i.e.

runcbl -y libxmlif64.so program.acu

I have tried, but these are not recognized as cobol libraries.

this is a 32-bit installation of acucobol

Thank you


I have tried, but these are not recognized as cobol libraries.

this is a 32-bit installation of acucobol

Thank you

It looks like you have installed the STATIC version of Acu. I see a lot of .a libraries in your screenshot which is the giveaway. You need to install the SHARED version to use RMNET.


It looks like you have installed the STATIC version of Acu. I see a lot of .a libraries in your screenshot which is the giveaway. You need to install the SHARED version to use RMNET.

thanks, I'll do a test following the directions