<?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: MFCOBOL in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746852#M722064</link>
    <description>Hi again Anand,&lt;BR /&gt;Still not much time... but definitely nothing wrong with your program since its execution:&lt;BR /&gt;home/vbe $ ll&lt;BR /&gt;total 234&lt;BR /&gt;-rwxrwxrwx   1 vbe        bin          28672 Jun 18 13:51 cob01&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin            575 Jun 18 13:35 cob01.cob&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin           1792 Jun 18 13:51 cob01.int&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin           2656 Jun 18 13:51 cob01.o&lt;BR /&gt;abenezra:/home/vbe $ ./cob01&lt;BR /&gt;EXECUTING LAB1...&lt;BR /&gt;&lt;BR /&gt;abenezra:/home/vbe $&lt;BR /&gt;The cobol Im using is not the HP enhanced MF but the microfocus: cd /opt/cobol&lt;BR /&gt;# ll&lt;BR /&gt;total 10&lt;BR /&gt;drwxr-xr-x   2 root       sys           1024 May 22  2001 bin&lt;BR /&gt;drwxr-xr-x  19 root       sys           4096 May 22  2001 cobdir&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 May 22  2001 etc&lt;BR /&gt;# more cobdir/cobver&lt;BR /&gt;cobol v4.1.30-e&lt;BR /&gt;PRN=OXUPR/ZZB:8c.l5.13.03&lt;BR /&gt;PTI=NLS&lt;BR /&gt;PTI=LMF&lt;BR /&gt;PTI=ASLMF&lt;BR /&gt;PTI=Y2K&lt;BR /&gt;# more etc/env_cobol&lt;BR /&gt;export COBDIR=/opt/cobol/cobdir&lt;BR /&gt;export PATH=$PATH:/opt/cobol/bin&lt;BR /&gt;export SHLIB_PATH=/opt/cobol/cobdir/coblib&lt;BR /&gt; I would suggest you do the same (well almost): in your home directory create a cob_profile (chmod 775 on it after) with in it something like:&lt;BR /&gt;export COBDIR=/opt/lib/cobol&lt;BR /&gt;#export COBLIB=/opt/lib/cobol/lib&lt;BR /&gt;export PATH=$PATH:/opt/lib/cobol/bin&lt;BR /&gt;export SHLIB_PATH=$COBDIR/lib:%SHLIB_PATH&lt;BR /&gt;#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib/cobol/lib&lt;BR /&gt;&lt;BR /&gt;The commented line were for a later version but not compatible with some modules we have, and so I uninstalled it, and cant try it to see how your program would react.&lt;BR /&gt;The idea is to put in all paths the cobol needs first...&lt;BR /&gt;&lt;BR /&gt;Sorry cant help more for now&lt;BR /&gt;Good luck&lt;BR /&gt;Victor&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Jun 2002 07:22:35 GMT</pubDate>
    <dc:creator>Victor BERRIDGE</dc:creator>
    <dc:date>2002-06-19T07:22:35Z</dc:date>
    <item>
      <title>MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746846#M722058</link>
      <description>I am trying to create executable from a simple&lt;BR /&gt;cobol program on hpux 11.00.&lt;BR /&gt;&lt;BR /&gt;Finally i want to write embeded sql in COBOL and link(Some dynamic and some static)&lt;BR /&gt; them to call interface libraries of database&lt;BR /&gt;server.&lt;BR /&gt;&lt;BR /&gt;Please find simple program for which i am unable to create executable.&lt;BR /&gt;&lt;BR /&gt;Unable to read symbols from shared libraries also(Used +/-B static/dynamic option)</description>
      <pubDate>Tue, 18 Jun 2002 07:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746846#M722058</guid>
      <dc:creator>anand_10</dc:creator>
      <dc:date>2002-06-18T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746847#M722059</link>
      <description>Hi,&lt;BR /&gt;I dont see anything wrong...&lt;BR /&gt;Whats COPLIB?&lt;BR /&gt;&lt;BR /&gt;Have you checked the presence of /usr/ccs/lib/crt0.o?&lt;BR /&gt;-r--r--r--   1 bin        bin          11608 Dec 15  2000 /usr/ccs/lib/crt0.o&lt;BR /&gt;What version are you using?&lt;BR /&gt;Unfortunately Im very busy on software install at the moment  so cannot spare time but I tried to compile your program:&lt;BR /&gt;My env has no cobol variables:&lt;BR /&gt;/home/vbe $ env&lt;BR /&gt;_=/usr/bin/env&lt;BR /&gt;MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/ma&lt;BR /&gt;n:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/&lt;BR /&gt;opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/ma&lt;BR /&gt;n:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/audio/share/man:/opt/ansic/share/man/%L:/opt/ansic/sh&lt;BR /&gt;are/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/imake/man:/opt/samba/man:/opt/tusc/man:/opt&lt;BR /&gt;/hpnp//man:/opt/perf/man/%L:/opt/perf/man:/opt/prm/man/%L:/opt/prm/man:/opt/cobol/cobdir/man:/opt/OV/man/itos&lt;BR /&gt;e/%L:/opt/OV/man/itose&lt;BR /&gt;PATH=/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/u&lt;BR /&gt;pgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/pred/bin:/opt/hparray/bin:/opt/&lt;BR /&gt;ignite/bin:/opt/langtools/bin:/opt/imake/bin:/opt/samba/bin:/opt/tusc/bin:/opt/hpnp//bin:/opt/gcc/bin:/opt/pe&lt;BR /&gt;rf/bin:/opt/prm/bin:/opt/cobol/bin:/opt/OV/bin/OpC:.&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;LOGNAME=vbe&lt;BR /&gt;MAIL=/var/mail/vbe&lt;BR /&gt;ERASE=^H&lt;BR /&gt;SHELL=/usr/bin/ksh&lt;BR /&gt;TMOUT=0&lt;BR /&gt;HOME=/home/vbe&lt;BR /&gt;TERM=hpterm&lt;BR /&gt;PWD=/home/vbe&lt;BR /&gt;TZ=MET-1METDST&lt;BR /&gt;LINES=51&lt;BR /&gt;A__z=-5TMOUT&lt;BR /&gt;abenezra:/home/vbe $&lt;BR /&gt;abenezra:/home/vbe $ which cob&lt;BR /&gt;/opt/cobol/bin/cob&lt;BR /&gt;abenezra:/home/vbe $ cob -x cob01.cob&lt;BR /&gt;ld: (Warning) At least one PA 2.0 object file (/var/tmp/cobBAAa12550/verlibhpcobol.o) was detected. The linke&lt;BR /&gt;d output may not run on a PA 1.x system.&lt;BR /&gt;abenezra:/home/vbe $ ll&lt;BR /&gt;total 242&lt;BR /&gt;-rwxrwxrwx   1 vbe        bin          28672 Jun 18 13:51 cob01&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin            575 Jun 18 13:35 cob01.cob&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin           1792 Jun 18 13:51 cob01.int&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin           2656 Jun 18 13:51 cob01.o&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Victo</description>
      <pubDate>Tue, 18 Jun 2002 10:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746847#M722059</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-18T10:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746848#M722060</link>
      <description>Hello Victor,&lt;BR /&gt;&lt;BR /&gt;Following is my version information.&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;Cobol/HP-UX HP35326 B.13.40      Copyright Hewlett-Packard Co. 1989-2002&lt;BR /&gt;V4.1 revision 30 build 10/10/2 G&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;&lt;BR /&gt;I am able to execute with cobrun command using .int genarated.&lt;BR /&gt;&lt;BR /&gt;crt0.o is avilable &lt;BR /&gt;&lt;BR /&gt;$ ls -l /lib/crt0*&lt;BR /&gt;lr--r--r-T   1 root       sys             19 Jun 21  2001 /lib/crt0.o@ -&amp;gt; /usr/ccs/lib/crt0.o&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ls -l /usr/ccs/lib/crt0.o&lt;BR /&gt;-r--r--r--   1 bin        bin          12436 Oct 10  2001 /usr/ccs/lib/crt0.o&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Anand.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jun 2002 12:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746848#M722060</guid>
      <dc:creator>anand_10</dc:creator>
      <dc:date>2002-06-18T12:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746849#M722061</link>
      <description>Hi, Anand&lt;BR /&gt;&lt;BR /&gt;Usually i find all the cobol programs end with .cbl ( like .c in C pgms), in ur case it is ending with .cob. &lt;BR /&gt;&lt;BR /&gt;#cob -x &lt;INPUT-FILE&gt;.cbl&lt;BR /&gt;will create the output in the name of input-file.&lt;BR /&gt;&lt;BR /&gt;After compilation&lt;BR /&gt;#./input_file will gives u the output.&lt;BR /&gt;&lt;/INPUT-FILE&gt;</description>
      <pubDate>Tue, 18 Jun 2002 14:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746849#M722061</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-06-18T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746850#M722062</link>
      <description>Hello Ravi,&lt;BR /&gt;&lt;BR /&gt;I tried to create executable for the demo .cbl programs came with software, But the same results.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Anand.</description>
      <pubDate>Wed, 19 Jun 2002 03:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746850#M722062</guid>
      <dc:creator>anand_10</dc:creator>
      <dc:date>2002-06-19T03:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746851#M722063</link>
      <description>Hi, Anand&lt;BR /&gt;&lt;BR /&gt;Look like problem with cobol,&lt;BR /&gt;why don't u try re-installing the cobol</description>
      <pubDate>Wed, 19 Jun 2002 05:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746851#M722063</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-06-19T05:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: MFCOBOL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746852#M722064</link>
      <description>Hi again Anand,&lt;BR /&gt;Still not much time... but definitely nothing wrong with your program since its execution:&lt;BR /&gt;home/vbe $ ll&lt;BR /&gt;total 234&lt;BR /&gt;-rwxrwxrwx   1 vbe        bin          28672 Jun 18 13:51 cob01&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin            575 Jun 18 13:35 cob01.cob&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin           1792 Jun 18 13:51 cob01.int&lt;BR /&gt;-rw-rw-rw-   1 vbe        bin           2656 Jun 18 13:51 cob01.o&lt;BR /&gt;abenezra:/home/vbe $ ./cob01&lt;BR /&gt;EXECUTING LAB1...&lt;BR /&gt;&lt;BR /&gt;abenezra:/home/vbe $&lt;BR /&gt;The cobol Im using is not the HP enhanced MF but the microfocus: cd /opt/cobol&lt;BR /&gt;# ll&lt;BR /&gt;total 10&lt;BR /&gt;drwxr-xr-x   2 root       sys           1024 May 22  2001 bin&lt;BR /&gt;drwxr-xr-x  19 root       sys           4096 May 22  2001 cobdir&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 May 22  2001 etc&lt;BR /&gt;# more cobdir/cobver&lt;BR /&gt;cobol v4.1.30-e&lt;BR /&gt;PRN=OXUPR/ZZB:8c.l5.13.03&lt;BR /&gt;PTI=NLS&lt;BR /&gt;PTI=LMF&lt;BR /&gt;PTI=ASLMF&lt;BR /&gt;PTI=Y2K&lt;BR /&gt;# more etc/env_cobol&lt;BR /&gt;export COBDIR=/opt/cobol/cobdir&lt;BR /&gt;export PATH=$PATH:/opt/cobol/bin&lt;BR /&gt;export SHLIB_PATH=/opt/cobol/cobdir/coblib&lt;BR /&gt; I would suggest you do the same (well almost): in your home directory create a cob_profile (chmod 775 on it after) with in it something like:&lt;BR /&gt;export COBDIR=/opt/lib/cobol&lt;BR /&gt;#export COBLIB=/opt/lib/cobol/lib&lt;BR /&gt;export PATH=$PATH:/opt/lib/cobol/bin&lt;BR /&gt;export SHLIB_PATH=$COBDIR/lib:%SHLIB_PATH&lt;BR /&gt;#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib/cobol/lib&lt;BR /&gt;&lt;BR /&gt;The commented line were for a later version but not compatible with some modules we have, and so I uninstalled it, and cant try it to see how your program would react.&lt;BR /&gt;The idea is to put in all paths the cobol needs first...&lt;BR /&gt;&lt;BR /&gt;Sorry cant help more for now&lt;BR /&gt;Good luck&lt;BR /&gt;Victor&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2002 07:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mfcobol/m-p/2746852#M722064</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-19T07:22:35Z</dc:date>
    </item>
  </channel>
</rss>

