Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
mfisher Absent Member.
Absent Member.
2756 views

RMNet library missing in Linux

Jump to solution

We're running 32-bit AcuCOBOL 9.2.1 for Linux. The RMNET library doesn't seem to have been included. Am I looking in the wrong place?

I would expect to find it in the AcuCOBOL 9.2.1 lib directory, as librmnet.so. But there is no file whose name contains rmnet in that directory.

Thanks.

 

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

RE: RMNet library missing in Linux

Jump to solution

Which Linux 32 bit archive do you have (intel or PowerPC), in the shared library archive acucob921pmk60sh.tar.gz in the lib directory is librmnet.so. I hope this helps.

View solution in original post

0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

RE: RMNet library missing in Linux

Jump to solution

Which Linux 32 bit archive do you have (intel or PowerPC), in the shared library archive acucob921pmk60sh.tar.gz in the lib directory is librmnet.so. I hope this helps.

View solution in original post

0 Likes
mfisher Absent Member.
Absent Member.

RE: RMNet library missing in Linux

Jump to solution

It's the static library build: acucob921pmk60st.tar.gz

Would that mean there's no need to preload the rmnet library (with runcbil -y)?

0 Likes
mfisher Absent Member.
Absent Member.

RE: RMNet library missing in Linux

Jump to solution

correction: runcbl -y

0 Likes
mfisher Absent Member.
Absent Member.

RE: RMNet library missing in Linux

Jump to solution

Looks that way. The following test program compiles and runs without errors.

       IDENTIFICATION DIVISION.
       PROGRAM-ID. TEST.

       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01  W-RESPONSE-STATUS       PIC 9(3) VALUE ZERO.
       01  W-WEBSVC-EXCEPTION-FLAG PIC X(1)   VALUE "N".
           88  W-WEBSVC-EXCEPTION             VALUE "Y" FALSE "N".
       01  W-WEBSVC-ERR-CODE       PIC 9(3)   VALUE ZERO.
       01  W-WEBSVC-ERR-MSG        PIC X(512) VALUE SPACE.

       PROCEDURE DIVISION.
           SET W-WEBSVC-EXCEPTION TO FALSE
           MOVE ZERO   TO W-WEBSVC-ERR-CODE
           MOVE SPACES TO W-WEBSVC-ERR-MSG

      *    Initialize the RMNET session.
           CALL "NetInit" GIVING W-RESPONSE-STATUS
             ON EXCEPTION
               SET W-WEBSVC-EXCEPTION TO TRUE
               MOVE W-RESPONSE-STATUS TO W-WEBSVC-ERR-CODE
               MOVE "An error occurred when calling NetInit."
                 TO W-WEBSVC-ERR-MSG
               GOBACK 1
           END-CALL
           GOBACK 0.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.