HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: Micro Focus Cobol doesn't allow calls to shar...
 
Operating System - HP-UX
        1840176
        Members
    
    
        2655
        Online
    
    
        110162
        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
 
05-12-2005 09:57 AM
05-12-2005 09:57 AM
			
				
					
						
							Micro Focus Cobol  doesn't allow calls to shared libraries
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						We used to build a big dynamic shared library using the linker "ld". The list of object files (most of them cobol programs) to link was taken from a text file.
The new version of "Micro Focus Cobol" doesn't allow calls to shared libraries created with the "ld" linker. You need to create the library using the tools provided with the compiler. The list of object files is taken from the command line arguments.
The problem is that we have thousands of object files, and to list all of them in the command line is not practical or even possible.
Is there any other way to avoid using the shared library but keep referring the objects from the application? (i.e. resolving the calls directly to the object, but keeping dynamic links)
What could be the consecuences of such a change? (i.e.: more memory usage, lower performance, etc.)
Thanks in advance and best regards,
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
The new version of "Micro Focus Cobol" doesn't allow calls to shared libraries created with the "ld" linker. You need to create the library using the tools provided with the compiler. The list of object files is taken from the command line arguments.
The problem is that we have thousands of object files, and to list all of them in the command line is not practical or even possible.
Is there any other way to avoid using the shared library but keep referring the objects from the application? (i.e. resolving the calls directly to the object, but keeping dynamic links)
What could be the consecuences of such a change? (i.e.: more memory usage, lower performance, etc.)
Thanks in advance and best regards,
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-12-2005 12:46 PM
05-12-2005 12:46 PM
			
				
					
						
							Re: Micro Focus Cobol  doesn't allow calls to shared libraries
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						The last version of MF Cobol had a broken licensing system that required a complex procedure to make the productr work properly.
Based on about 7 years of working with MF, there is no way I know of to avoid the use of shared libraries. Its how the product needs to work.
SEP
		
		
	
	
	
Based on about 7 years of working with MF, there is no way I know of to avoid the use of shared libraries. Its how the product needs to work.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP