- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Linking using .obj on Integrity VMS Server
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО10-24-2007 10:13 PM
тАО10-24-2007 10:13 PM
I am running a brief feasability study on the amount of work to get our Alpha vms Cobol images running on the integrity vms platform.
My Alpha VMS server is 8.3 (cobol 2.8)
I am trying to see if i can just port the obj and link against that on the integrity box but get the same error with several images, any ideas?
Directory :[EXE]
L300.EXE;6 L300.OBJ;1
Total of 2 files.
RX2620_>link l300
%ILINK-E-INVLDHDR, invalid ELF header; field 'ehdr$b_ei_mag0' has invalid value
%X3D
module:
file: :[EXE]L300.OBJ;1
%ILINK-F-NOMODS, no input modules specified (or found)
Regards,
Paul.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2007 10:29 PM
тАО10-24-2007 10:29 PM
Re: Linking using .obj on Integrity VMS Server
what do you mean by 'port the object'?
You had to compile and link on IA64.
See Help/message INVLDHDR for more information.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2007 11:17 PM
тАО10-24-2007 11:17 PM
Re: Linking using .obj on Integrity VMS Server
You can get the images running iwth binary translation, but I would not recommend that.
You can NOT use the objects, as you foudn out.
You can just re-compile, link and go.
For 'normal' cobol programs this is likely all you need to do. Just compile and go. For bonus points you may want to monitor the 'allignment faults' during the initial runs to see if there is poor coding/datalayout which was sub-obtipaml on Alpha alerady, but which may have become problematic (performance) on Itanium.
Be sure to check the OpenVMS website and google for detailed advise, and please consider to engage someone 'who has been there' to help you.
Enjoy the Itanium!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2007 12:57 AM
тАО10-25-2007 12:57 AM
SolutionOBJ files from Alpha, contain Alpha instructions in an OpenVMS Alpha-specific file format.
The Itanium linker is expecting an Itanium object file. That contains Itanium instructions in a different file format called ELF. The linker told you that the file was not a valid Itanium OBJ file.
The Itanium linker does not know now to take Alpha objects and magically turn them into Itanium images.
As others have said, the I64 COBOL compiler (current version is 2.9) should be able to recompile your COBOL source and create Itanium objects for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2007 01:00 AM
тАО10-25-2007 01:00 AM
Re: Linking using .obj on Integrity VMS Server
You have pointed me in the right direction. As I say im no programmer but I understand now that I need get get Cobol and temporary license on this server which I am now progressing. I will copy the soure cobol code over and compile and relink once I have the cobol license.
Thanks again,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2007 01:05 AM
тАО10-25-2007 01:05 AM
Re: Linking using .obj on Integrity VMS Server
Google: testdrive +site:hp.com
There are folks out there (like myself) who would be interested to assist you with a conversion effort as an assignment.
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2007 03:43 AM
тАО10-25-2007 03:43 AM
Re: Linking using .obj on Integrity VMS Server
As has been noted, OBJ files are architecture specific. So, the code will need to be recompiled.
If the codebase is old, I generally recommend that clients recompile (and verify that the code recompiles correctly and runs correctly) on Alpha; then recompile and test on Itanium.
Your mileage (or kilometerage) may vary, but well written build procedures often work with no problem.
Recompilation is the preferred route, however, image translation is useful tool for transitioning large code bases.
Some comments on this are contained in my OpenVMS Technical Journal article, "Strategies for Migrating from Alpha and VAX systems to HP Integrity Servers on OpenVMS" (Volume 10, June 2007). An abstract of that article, together with a link to the complete article, can be found at: http://www.rlgsc.com/publications/vmstechjournal/migrationstrategies.html
- Bob Gezelter, http://www.rlgsc.com