- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to access Oracle database via Cobol
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
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
тАО04-27-2001 12:05 PM
тАО04-27-2001 12:05 PM
I need access a Oracle Database from a Cobol program, but I don?t kown.
I?d like a little sample.
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2001 12:11 PM
тАО04-27-2001 12:11 PM
Re: How to access Oracle database via Cobol
Pro*Cobol is the thing you need. This will allow to incorporate SQL-statements in your Cobol programs. (Requires an Oracle license however)
sorry no (Pro*)Cobol examples from me
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2001 01:18 PM
тАО04-27-2001 01:18 PM
Re: How to access Oracle database via Cobol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2001 03:10 PM
тАО04-27-2001 03:10 PM
Re: How to access Oracle database via Cobol
Can you be more specific about what you're trying to do. What OS is Oracle running on? Where are the Cobol programs running? On the same platform?
If you have Oracle running on HPUX, and some old mainframe COBOL programs running on an IBM mainframe, you're going to need a lot more than Pro*COBOL to access Oracle. You will need and Oracle gateway product (Procedural or transparent gateway for example). This is a major architectural change I'm talking about.
We have some Legacy COBOL code that needs to access Oracle too. As much as I hate data replication, we opted to write an interface which loads the Oracle data into a DB2 database on the mainframe. The COBOL programs then access the data in DB2 on their native platform.
Regards,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2001 09:23 AM
тАО04-29-2001 09:23 AM
Re: How to access Oracle database via Cobol
I have a L1000 Machine and MicroFocus Cobol 13.35 on HP-UX 11.00, and oracle 8 on some machine. I haven?t ODBC.
I need access a Oracle databse to verify the client table.
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2001 10:43 AM
тАО04-29-2001 10:43 AM
Re: How to access Oracle database via Cobol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:22 PM
тАО04-30-2001 12:22 PM
Re: How to access Oracle database via Cobol
What I need?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:34 PM
тАО04-30-2001 12:34 PM
Re: How to access Oracle database via Cobol
2. export ORACLE_SID=yoursid
3. sqlplus user/passwd
4. select whatever from table
5. exit
Hope this helps
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 01:13 PM
тАО04-30-2001 01:13 PM
Re: How to access Oracle database via Cobol
I would get the Pro*COBOL compiler; it is much easier and is a marketable skill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 03:07 AM
тАО05-02-2001 03:07 AM
Re: How to access Oracle database via Cobol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 03:10 AM
тАО05-02-2001 03:10 AM
Solutionfrom Oracle company itself.
You'll need a license to run it. Maybe you can get a trail copy if you're still in development phase.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2001 04:13 AM
тАО05-04-2001 04:13 AM
Re: How to access Oracle database via Cobol
There are two flavors of Pro*COBOL - Pro*COBOL 8.1.7 and Pro*COBOL 1.8.52. I've used Pro*COBOL 8.1.7 with HP COBOL B.13.35 quite a bit with good results. From what I understand, the 8.1.7 version is the "newer" version of the precompiler, and it seems to get any new features.
There are several sample programs that are installed with Pro*COBOL.
Note that the Oracle Installation Guide has some speicifc pre-Installation requirements for Pro*COBOL.