HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: cob64 : bad magic number
Operating System - Tru64 Unix
1829705
Members
2437
Online
109992
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-03-2003 05:56 AM
06-03-2003 05:56 AM
cob64 : bad magic number
Hi,
We have just installed Micro Focus Server Express V2.0 rev 011 and I am recieving cob64:bad magic number when trying to create a runtime. I had previously created a custom runtime under Micro Focus COBOL for UNIX V4.1 rev 040, and that worked fine.
Based on reading old postings, this is what I have done.
when i compile a cobol program using
cob -i -P $1.cbl
cob -u $1.cbl
it compiles fine.
i then try to create a runtime
by using cob -xe "" rque.o -o cobren
I recieve cob64:bad magic number
rque was compiled using :
cc rque.c -vc -o rque.o
I have already updated my profile to include the following:
COBDIR=/opt/lib/cobol
export COBDIR
SHLIB_PATH=$COBDIR/lib
export SHLIB_PATH
PATH=:$COBDIR/bin:/etc:/usr/bin:/opt/bin:/usr/ccs/bin:$HOME/bin
export PATH
LD_LIBRARY_PATH=$COBDIR/lib
export LD_LIBRARY_PATH
COBCONFIG=/home/developer/renda1/seconfig
export COBCONFIG
export COBMODE=64
Any suggetions??
thanks renda
We have just installed Micro Focus Server Express V2.0 rev 011 and I am recieving cob64:bad magic number when trying to create a runtime. I had previously created a custom runtime under Micro Focus COBOL for UNIX V4.1 rev 040, and that worked fine.
Based on reading old postings, this is what I have done.
when i compile a cobol program using
cob -i -P $1.cbl
cob -u $1.cbl
it compiles fine.
i then try to create a runtime
by using cob -xe "" rque.o -o cobren
I recieve cob64:bad magic number
rque was compiled using :
cc rque.c -vc -o rque.o
I have already updated my profile to include the following:
COBDIR=/opt/lib/cobol
export COBDIR
SHLIB_PATH=$COBDIR/lib
export SHLIB_PATH
PATH=:$COBDIR/bin:/etc:/usr/bin:/opt/bin:/usr/ccs/bin:$HOME/bin
export PATH
LD_LIBRARY_PATH=$COBDIR/lib
export LD_LIBRARY_PATH
COBCONFIG=/home/developer/renda1/seconfig
export COBCONFIG
export COBMODE=64
Any suggetions??
thanks renda
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 04:08 AM
06-04-2003 04:08 AM
Re: cob64 : bad magic number
Supportmatrix for MF Cobol:
Tru64 < 5.1 MF 2.0
Tru64 5.1 MF 2.2
Tru64 5.1a MF 2.5a
Other versions and mixes are not supported. There are known problem with 5.1A using MF 2.0 and 2.2 and linker/compiler. The headerfiles doesn't match for example etc.
Be sure you are using the right version.
Tru64 < 5.1 MF 2.0
Tru64 5.1 MF 2.2
Tru64 5.1a MF 2.5a
Other versions and mixes are not supported. There are known problem with 5.1A using MF 2.0 and 2.2 and linker/compiler. The headerfiles doesn't match for example etc.
Be sure you are using the right version.
Help() { FirstReadManual(urgently); Go_to_it;; }
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