- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HOw to recognize 32bit cobol compiler
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
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
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
тАО09-11-2007 08:51 PM
тАО09-11-2007 08:51 PM
on HPUX 11.00 /top/cobol/bin.
I need to link procob32 cobol objects.
(This is procobol for Oracle)
I think cob is it 64bit by default,
but I would like to invoke the 32bit version.
Should there be a different binary instead
of cob, cob32 or do I need to use a specific
parameter with cob ?
[orad03@orasrv2:]/opt/cobol/bin<>>> ls -altr cob
-r-xr-xr-x 49 bin bin 20480
[orad03@orasrv2:]/opt/cobol/bin<>>> what cob
cob:
cobprog.c 1.5
[orad03@orasrv2:]/opt/cobol/bin<>>> file cob
cob: PA-RISC1.1 shared executable dynamically linked -not stripped
[orad03@orasrv2:]/opt/cobol/bin<>>> uname -a
HP-UX orasrv2 B.11.00 U 9000/800 658369312 unlimited-user license
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 08:55 PM
тАО09-11-2007 08:55 PM
Re: HOw to recognize 32bit cobol compiler
Why do I think our cob cobol compiler is 64bit ?
Because the OS command getconf returns this:
[orad03@orasrv2:]/opt/cobol/bin<>>> getconf KERNEL_BITS
64
[orad03@orasrv2:]/opt/cobol/bin<>>>
However, we have other 32bit programs running on it so I know it is compatible with 32bit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 09:05 PM
тАО09-11-2007 09:05 PM
Re: HOw to recognize 32bit cobol compiler
parameter with cob?
I would guess this?
>Why do I think our cob cobol compiler is 64bit? Because the OS command getconf returns
There doesn't have to be any connection between the bitsize of the driver, compiler and the kernel. The HP C/aC++ compilers were 32 bit but they generated 32 or 64 bit executables. On IPF, they are now 64 bit.
>we have other 32bit programs running on it so I know it is compatible with 32bit as well.
That's correct. A HP-UX 64 bit kernel will run both 32 and 64 bit applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 09:10 PM
тАО09-11-2007 09:10 PM
Re: HOw to recognize 32bit cobol compiler
So in fact my cob program could easily be 32 bit.
Does the fact that the file command returns file cob:
cob: PA-RISC1.1 shared executable dynamically linked -not stripped
not mean that it is 32bit because it says
PA-RISC1.1 ?
Otherwise it should return
ELF-64 executable object file - PA-RISC 2.0 (LP64) (And it clearly doesn't)
Please verify and confirm,
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 09:18 PM
тАО09-11-2007 09:18 PM
Re: HOw to recognize 32bit cobol compiler
Yes, the cob driver is a 32 bit app.
>Otherwise it should return
ELF-64 executable object file - PA-RISC 2.0 (LP64)
Exactly. Unless you are on IPF where you get:
ELF-32 executable object file - IA64
ELF-64 executable object file - IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 09:32 PM
тАО09-11-2007 09:32 PM
Re: HOw to recognize 32bit cobol compiler
by the way what does the abbreviation IPF stands for ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 10:03 PM
тАО09-11-2007 10:03 PM
Re: HOw to recognize 32bit cobol compiler
Also Integrity server.