<?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: compile question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809058#M268022</link>
    <description>I did a swlist and found that the Micro Focus COBOL compiler isnâ  t listed.  I did an install of the software from their instructions a couple of weeks ago.  Should I have done an SWINSTALL instead?&lt;BR /&gt;&lt;BR /&gt;I found some of the COBOL software located at /opt/bin/cobol.&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Jun 2006 14:32:24 GMT</pubDate>
    <dc:creator>Jeffrey F. Goldsmith</dc:creator>
    <dc:date>2006-06-20T14:32:24Z</dc:date>
    <item>
      <title>compile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809055#M268019</link>
      <description>I have a user that is trying to compile some programs on my rp3440-4 server.  The OS is HP-UX 11.i23.  Here is the programers notes and the error that she received during the last compile.&lt;BR /&gt;&lt;BR /&gt;It looks like I am still missing some pieces to do the compiles.  The commands/scripts compile and cob are missing.  I can only cob has something to do with the cobol compiler.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;[gravina] source$ compile gl995.cbl&lt;BR /&gt;&lt;BR /&gt;+ compile gl995.cbl&lt;BR /&gt;&lt;BR /&gt;sh: compile:  not found.&lt;BR /&gt;&lt;BR /&gt;[gravina] source$ &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;  [gravina] /apps/testifas/xport/src/sl$ make sy800.o&lt;BR /&gt;&lt;BR /&gt;+ make -k sy800.o&lt;BR /&gt;&lt;BR /&gt;        echo Making sy800.o, will copy to /tmp&lt;BR /&gt;&lt;BR /&gt;Making sy800.o, will copy to /tmp&lt;BR /&gt;&lt;BR /&gt;        cp sy800.cbl /tmp&lt;BR /&gt;&lt;BR /&gt;        (cd /tmp; cob -cx -Oe "" -X ANIM -X COBCOMMS -X RTSCALL -C sign=ebcdic s&lt;BR /&gt;&lt;BR /&gt;y800.cbl 2&amp;gt; /apps/testifas/xport/src/sl/sy800.err)&lt;BR /&gt;&lt;BR /&gt;*** Error exit code 127 (ignored)&lt;BR /&gt;&lt;BR /&gt;        rm -f /tmp/sy800.cbl&lt;BR /&gt;&lt;BR /&gt;        rm -f /tmp/sy800.idy&lt;BR /&gt;&lt;BR /&gt;        rm -f /tmp/sy800.int&lt;BR /&gt;&lt;BR /&gt;        [ -s sy800.err ] &amp;amp;&amp;amp; exit 1 || rm sy800.err&lt;BR /&gt;&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;[gravina] /apps/testifas/xport/src/sl$ more sy800.err&lt;BR /&gt;&lt;BR /&gt;+ more sy800.err&lt;BR /&gt;&lt;BR /&gt;sh: cob:  not found. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for any and all help.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 20 Jun 2006 13:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809055#M268019</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2006-06-20T13:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: compile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809056#M268020</link>
      <description>Hi Jeff:&lt;BR /&gt;&lt;BR /&gt;Did you install the Cobol compiler?  Does your PATH properly reflect its location?  If the compiler is installed and the PATH has been updated, have you logged-out and back in to fetch the updated PATH into your environment?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 20 Jun 2006 13:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809056#M268020</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-20T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: compile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809057#M268021</link>
      <description>Both of these point to the same problem. "compile" (whatever that is) and "cob" (MicroFocus COBOL Compiler?) are either non-existant or more-likely not in $PATH.&lt;BR /&gt;&lt;BR /&gt;I would first do a swlist to see if a COBOL compiler is actually installed. Typically not only does cob (/opt/cobol/bin/cob) have to be in $PATH but also a COBDIR (e.g. /opt/cobol/cobdir) COBOL base directory environment variable needs to be set.</description>
      <pubDate>Tue, 20 Jun 2006 13:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809057#M268021</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-20T13:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: compile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809058#M268022</link>
      <description>I did a swlist and found that the Micro Focus COBOL compiler isnâ  t listed.  I did an install of the software from their instructions a couple of weeks ago.  Should I have done an SWINSTALL instead?&lt;BR /&gt;&lt;BR /&gt;I found some of the COBOL software located at /opt/bin/cobol.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jun 2006 14:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809058#M268022</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2006-06-20T14:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: compile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809059#M268023</link>
      <description>The last time I installed a MF COBOL compiler (~5 years ago), it used swinstall but if you followed the instructions then you should be ok. (Did I mention that of all languages - with the possible exception of RPG [which is imcomprehensible to me]) - I hate COBOL the most?) In any event there were probably a few other instructions about setting up the environment that you missed or failed to add to the .profile of this user.&lt;BR /&gt;&lt;BR /&gt;Almost certainly, you will need COBDIR defined and cob in the PATH.</description>
      <pubDate>Tue, 20 Jun 2006 14:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-question/m-p/3809059#M268023</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-20T14:40:57Z</dc:date>
    </item>
  </channel>
</rss>

