<?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 Procob compilation : NCG ERROR 5209 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/procob-compilation-ncg-error-5209/m-p/3960288#M639635</link>
    <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;At the company I'm working at we have a problem with the compilation of our COBOL sources in Oracle 8 (It seems).  Here's our Setup :&lt;BR /&gt;&lt;BR /&gt;UNIX version (uname -a, bronze being our server name):&lt;BR /&gt;HP-UX bronze B.11.11 U 9000/800 103444620 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;Oracle version:&lt;BR /&gt;8.1.7&lt;BR /&gt;&lt;BR /&gt;We actually have two user for this machine, one is set up to use Oracle 7 and the other for Oracle 8.&lt;BR /&gt;&lt;BR /&gt;To access these databases we are using Entera 4 Logical Servers (SQL, COBOL and C servers).  These servers are then called using a dedicated DLL and entera-generated functions (Stubs) in Visual Basic.&lt;BR /&gt;&lt;BR /&gt;We are now trying to get rid of Oracle 7 and go full Oracle 8, so therefore we are trying to move or Entera Servers from 7 to 8.&lt;BR /&gt;&lt;BR /&gt;Everything works fine except the COBOL compilation under Oracle 8.  More precisely, the same command:&lt;BR /&gt;&lt;BR /&gt;cob -xe "RPCMAIN" -C IBMCOMP -C NESTCALL -x -g /upcdev/stubs/shn100_s.cbl  /upcdev/source/shp7000.cob  /upcdev/source/shp7001.cob -L/opt/entera/tcp/lib -lrpccobol -lrpc -lvoid +lcl -o /upcdev/bin/shn100.bin&lt;BR /&gt;&lt;BR /&gt;where shn100_s.cbl is generated by Entera and the .cob are actual COBOL program where we execute SQL code.&lt;BR /&gt;&lt;BR /&gt;This same command works perfectly under our Oracle 7 User, but not under our Oracle 8 User, even after making the Environment exactly the same (I launched an ENV command under the Oracle 7 user and used it to do an Export script so all the variable are the same in the Oracle 8 User).&lt;BR /&gt;&lt;BR /&gt;Here's the screen log of when I attempt the compilation under he Oracle 8 user:&lt;BR /&gt;&lt;BR /&gt;bronze:/upcdev/script=&amp;gt;cob -xe "RPCMAIN" -C IBMCOMP -C NESTCALL -x -g /upcdev/stubs/shn100_s.cbl  /upcdev/source/shp7000.cob  /upcde&lt;BR /&gt;v/source/shp7001.cob -L/opt/entera/tcp/lib -lrpccobol -lrpc -lvoid +lcl -o /upcdev/bin/shn100.bin&lt;BR /&gt;/upcdev/stubs/shn100_s.cbl:&lt;BR /&gt;** NCG ERROR **&lt;BR /&gt;** Code generation error number  5209 &lt;BR /&gt;cob: error(s) in code generation: RSHP7000.int&lt;BR /&gt;&lt;BR /&gt;So my questions are:&lt;BR /&gt;&lt;BR /&gt;1 - What is a 5209 error?  (I found no data or documentation of this error code anywhere)&lt;BR /&gt;2 - What can be it's cause?&lt;BR /&gt;&lt;BR /&gt;Any input or hint would be of course, greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Luc Desjardins&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Mar 2007 14:43:04 GMT</pubDate>
    <dc:creator>Luc Desjardins</dc:creator>
    <dc:date>2007-03-12T14:43:04Z</dc:date>
    <item>
      <title>Procob compilation : NCG ERROR 5209</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/procob-compilation-ncg-error-5209/m-p/3960288#M639635</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;At the company I'm working at we have a problem with the compilation of our COBOL sources in Oracle 8 (It seems).  Here's our Setup :&lt;BR /&gt;&lt;BR /&gt;UNIX version (uname -a, bronze being our server name):&lt;BR /&gt;HP-UX bronze B.11.11 U 9000/800 103444620 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;Oracle version:&lt;BR /&gt;8.1.7&lt;BR /&gt;&lt;BR /&gt;We actually have two user for this machine, one is set up to use Oracle 7 and the other for Oracle 8.&lt;BR /&gt;&lt;BR /&gt;To access these databases we are using Entera 4 Logical Servers (SQL, COBOL and C servers).  These servers are then called using a dedicated DLL and entera-generated functions (Stubs) in Visual Basic.&lt;BR /&gt;&lt;BR /&gt;We are now trying to get rid of Oracle 7 and go full Oracle 8, so therefore we are trying to move or Entera Servers from 7 to 8.&lt;BR /&gt;&lt;BR /&gt;Everything works fine except the COBOL compilation under Oracle 8.  More precisely, the same command:&lt;BR /&gt;&lt;BR /&gt;cob -xe "RPCMAIN" -C IBMCOMP -C NESTCALL -x -g /upcdev/stubs/shn100_s.cbl  /upcdev/source/shp7000.cob  /upcdev/source/shp7001.cob -L/opt/entera/tcp/lib -lrpccobol -lrpc -lvoid +lcl -o /upcdev/bin/shn100.bin&lt;BR /&gt;&lt;BR /&gt;where shn100_s.cbl is generated by Entera and the .cob are actual COBOL program where we execute SQL code.&lt;BR /&gt;&lt;BR /&gt;This same command works perfectly under our Oracle 7 User, but not under our Oracle 8 User, even after making the Environment exactly the same (I launched an ENV command under the Oracle 7 user and used it to do an Export script so all the variable are the same in the Oracle 8 User).&lt;BR /&gt;&lt;BR /&gt;Here's the screen log of when I attempt the compilation under he Oracle 8 user:&lt;BR /&gt;&lt;BR /&gt;bronze:/upcdev/script=&amp;gt;cob -xe "RPCMAIN" -C IBMCOMP -C NESTCALL -x -g /upcdev/stubs/shn100_s.cbl  /upcdev/source/shp7000.cob  /upcde&lt;BR /&gt;v/source/shp7001.cob -L/opt/entera/tcp/lib -lrpccobol -lrpc -lvoid +lcl -o /upcdev/bin/shn100.bin&lt;BR /&gt;/upcdev/stubs/shn100_s.cbl:&lt;BR /&gt;** NCG ERROR **&lt;BR /&gt;** Code generation error number  5209 &lt;BR /&gt;cob: error(s) in code generation: RSHP7000.int&lt;BR /&gt;&lt;BR /&gt;So my questions are:&lt;BR /&gt;&lt;BR /&gt;1 - What is a 5209 error?  (I found no data or documentation of this error code anywhere)&lt;BR /&gt;2 - What can be it's cause?&lt;BR /&gt;&lt;BR /&gt;Any input or hint would be of course, greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Luc Desjardins&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2007 14:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/procob-compilation-ncg-error-5209/m-p/3960288#M639635</guid>
      <dc:creator>Luc Desjardins</dc:creator>
      <dc:date>2007-03-12T14:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Procob compilation: NCG ERROR 5209</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/procob-compilation-ncg-error-5209/m-p/5364765#M639636</link>
      <description>&lt;P&gt;&amp;gt;1 - What is a 5209 error?&amp;nbsp; 2 - What can be its cause?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming this is the same code generator as HP's PA compilers:&lt;/P&gt;&lt;P&gt;5209 Cannot open object file %s (5209)&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUSE:&amp;nbsp; The compiler could not open the object file.&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This may be because:&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (a) You do not have write permission in the group (on MPE/iX)&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or directory (on HP-UX) that you are working in.&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (b) You have run out of some physical disc space limits.&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp; ACTION:&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (a) Work in a group / directory in which you have write&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; permission, or get yourself write permission in the group / directory.&lt;BR /&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (b) Remove some unnecessary files to make room for your object file.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2011 04:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/procob-compilation-ncg-error-5209/m-p/5364765#M639636</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-18T04:46:16Z</dc:date>
    </item>
  </channel>
</rss>

