HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dlopen() not supporting for cobcall???
Operating System - HP-UX
1825822
Members
3075
Online
109688
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 02:54 AM
06-26-2007 02:54 AM
dlopen() not supporting for cobcall???
I am a new comer to cobol. I have a query. Can any1 plz suggest how to link shared libraries at run time? i have an executeable 'post' for which i want to link a method 'Binmup' that is defined in a shared library libmup.sl. I can link this libmup.sl during compiling post program. Bt i dnt want to compile post program everytime i make change to libmup.sl so can any1 suggest how to link libmup.sl with out compiling post program.....i am using cobol program on HP-UX
for the above mentioned issue i used shl_load()and made my work done. But wile porting to other platforms its failing as shl_load is for HP-UX so i used dlopen() the library is getting loaded bt am not able to call cobol programs using cobcall() it throws some issue like this
Unresolved module for symbol: _tMc2406 (plabel) from /opt/cobol/cobdir/coblib
can you plz suggest me a solution???
for the above mentioned issue i used shl_load()and made my work done. But wile porting to other platforms its failing as shl_load is for HP-UX so i used dlopen() the library is getting loaded bt am not able to call cobol programs using cobcall() it throws some issue like this
Unresolved module for symbol: _tMc2406 (plabel) from /opt/cobol/cobdir/coblib
can you plz suggest me a solution???
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 03:04 PM
06-26-2007 03:04 PM
Re: dlopen() not supporting for cobcall???
dlopen and shl_load essentially work the same. You have that unsat symbol in both cases. Solve that and you are done.
You'll have to talk to a Micro Focus expert to see what _tMc2406 means.
>how to link shared libraries at run time?
A correction in terms, you are dynamically loading the shared lib, not linking.
You'll have to talk to a Micro Focus expert to see what _tMc2406 means.
>how to link shared libraries at run time?
A correction in terms, you are dynamically loading the shared lib, not linking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 03:39 PM
06-26-2007 03:39 PM
Re: dlopen() not supporting for cobcall???
Hi,
Thanx for that correction. I belive dlopen()
is loading the library properly. I tested by loading a C shared library and calling a function from it. It works fine. I get this issue only when i run through a cobcall(). so is ther any way out to load a cobal shared library and run an cobol application that can be ported on any platform??
Plz suggest
Thanx for that correction. I belive dlopen()
is loading the library properly. I tested by loading a C shared library and calling a function from it. It works fine. I get this issue only when i run through a cobcall(). so is ther any way out to load a cobal shared library and run an cobol application that can be ported on any platform??
Plz suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 04:31 PM
06-26-2007 04:31 PM
Re: dlopen() not supporting for cobcall???
>I get this issue only when i run through a cobcall().
You are going to have to look at your MF documentation.
You are going to have to look at your MF documentation.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP