<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to access Oracle database via Cobol in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522459#M878620</link>
    <description>Given that Pro*COBOL will work just fine on either a local machine or a remote database instance. If you are trying to connect to a remote oracle instance you don't need ODBC but you do need to oracle client software installed on the local machine and a listener configured on the remote machine. I would start out do very simple tasks and build on them. This is not difficult. I started out barely being to spell COBOL but nevertheless could connect and do oracle I/O very quickly. I was comfortable using SQL and doing the same task in C before I did any COBOL.</description>
    <pubDate>Sun, 29 Apr 2001 17:43:18 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-04-29T17:43:18Z</dc:date>
    <item>
      <title>How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522454#M878615</link>
      <description>Hi body,&lt;BR /&gt;&lt;BR /&gt;I need access a Oracle Database from a Cobol program, but I don?t kown.&lt;BR /&gt;&lt;BR /&gt;I?d like a little sample.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 27 Apr 2001 19:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522454#M878615</guid>
      <dc:creator>Andre Machado_1</dc:creator>
      <dc:date>2001-04-27T19:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522455#M878616</link>
      <description>Hi Andre,&lt;BR /&gt;Pro*Cobol is the thing you need.  This will allow to incorporate SQL-statements in your Cobol programs. (Requires an Oracle license however)&lt;BR /&gt;sorry no (Pro*)Cobol examples from me&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Fri, 27 Apr 2001 19:11:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522455#M878616</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-04-27T19:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522456#M878617</link>
      <description>AS Thierry says, Pro*COBOL is what you need. I've attached a sample of code that will give you an idea of what is involved. I'm not really a COBOL guy myself (C, C++) but I have done some work on replacing all the existing I/O with SQL and it works well. You can still retain conventional I/O as well. When you purchase PRO*COBOL you also get PRO/C.&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Apr 2001 20:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522456#M878617</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-27T20:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522457#M878618</link>
      <description>Hi Andre.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tim</description>
      <pubDate>Fri, 27 Apr 2001 22:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522457#M878618</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2001-04-27T22:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522458#M878619</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I need access a Oracle databse to verify the client table.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help!</description>
      <pubDate>Sun, 29 Apr 2001 16:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522458#M878619</guid>
      <dc:creator>Andre Machado_1</dc:creator>
      <dc:date>2001-04-29T16:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522459#M878620</link>
      <description>Given that Pro*COBOL will work just fine on either a local machine or a remote database instance. If you are trying to connect to a remote oracle instance you don't need ODBC but you do need to oracle client software installed on the local machine and a listener configured on the remote machine. I would start out do very simple tasks and build on them. This is not difficult. I started out barely being to spell COBOL but nevertheless could connect and do oracle I/O very quickly. I was comfortable using SQL and doing the same task in C before I did any COBOL.</description>
      <pubDate>Sun, 29 Apr 2001 17:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522459#M878620</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-29T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522460#M878621</link>
      <description>I will access oracle from local host.&lt;BR /&gt;&lt;BR /&gt;What I need?</description>
      <pubDate>Mon, 30 Apr 2001 19:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522460#M878621</guid>
      <dc:creator>Andre Machado_1</dc:creator>
      <dc:date>2001-04-30T19:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522461#M878622</link>
      <description>1. telnet to the machine with the oracle account&lt;BR /&gt;2. export ORACLE_SID=yoursid&lt;BR /&gt;3. sqlplus user/passwd&lt;BR /&gt;4. select whatever from table&lt;BR /&gt;5. exit&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Mon, 30 Apr 2001 19:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522461#M878622</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-04-30T19:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522462#M878623</link>
      <description>If you are running on the local host. Sqlplus should already be installed. I can think of two ways to do this. 1) Install Pro*COBOL and examine the attached sample I've already sent or 2) if the SQL commands are simple you can build SQL statements within COBOL and write the to a text file 'on the fly' and then EXECUTE an external program (sqlplus) to read and process the SQL statements. Method 2 works but you will have to do a lot of text processing of the results withinn your COBOL program. &lt;BR /&gt;I would get the Pro*COBOL compiler; it is much easier and is a marketable skill.&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Apr 2001 20:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522462#M878623</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-30T20:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522463#M878624</link>
      <description>Where I get PRO Cobol?</description>
      <pubDate>Wed, 02 May 2001 10:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522463#M878624</guid>
      <dc:creator>Andre Machado_1</dc:creator>
      <dc:date>2001-05-02T10:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522464#M878625</link>
      <description>Hi,&lt;BR /&gt;from Oracle company itself.&lt;BR /&gt;You'll need a license to run it.  Maybe you can get a trail copy if you're still in development phase.&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 02 May 2001 10:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522464#M878625</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-05-02T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Oracle database via Cobol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522465#M878626</link>
      <description>Oracle Pro*COBOL as a part of the Client installation process with Oracle 8.1.7.  As stated previously, you'll need a separate license for Oracle Programmer - this allows you to use Pro*COBOL among other development tools.  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;There are several sample programs that are installed with Pro*COBOL.&lt;BR /&gt;&lt;BR /&gt;Note that the Oracle Installation Guide has some speicifc pre-Installation requirements for Pro*COBOL.</description>
      <pubDate>Fri, 04 May 2001 11:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-access-oracle-database-via-cobol/m-p/2522465#M878626</guid>
      <dc:creator>Jon McDermott</dc:creator>
      <dc:date>2001-05-04T11:13:51Z</dc:date>
    </item>
  </channel>
</rss>

