<?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 How can I compile my fortran program in vms 7.3-2? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113809#M44094</link>
    <description>Hi,&lt;BR /&gt;I'm not very familiar with VMS, I've been supporting some jobs written in DCL &amp;amp; Fortan running on an Alpha VMS server. I know some basic VMS commands and several things about VMS operating system. Due to the job requirements, sometimes I have to modify the jobs and rebuild the fortran source files. So far, I succesfully used these lines:&lt;BR /&gt;&lt;BR /&gt;orabld XX_FILE&lt;BR /&gt;lnprofor XX_FILE XX_FILE,lnk$library/lib,MIS_ENVIRO:[FOR]COMBLD/OPT&lt;BR /&gt;&lt;BR /&gt;where XX_FILE is the file that needs to be rebuild into an EXE format. In folder MIS_ENVIRO:[FOR] I have some standard definitions used in the XX_FILE.FOR.&lt;BR /&gt;&lt;BR /&gt;Recently, I tried to rebuild another fortran file, but I'm getting these lines:&lt;BR /&gt;&lt;BR /&gt;Pro*FORTRAN: Release 1.8.52.4.0 - Production on Tue Jun 10 05:09:38 2008&lt;BR /&gt;&lt;BR /&gt;(c) Copyright 2000 Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;System default option values taken from: ora_pcc:pccfor.cfg&lt;BR /&gt;&lt;BR /&gt;Precompiling UNPLAN_WO_CLEANUP.FOR&lt;BR /&gt;   Compiling UNPLAN_WO_CLEANUP.OUT&lt;BR /&gt; - Linking UNPLAN_WO_CLEANUP.EXE&lt;BR /&gt;%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 1 is illegal (3.)&lt;BR /&gt;%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 2 is illegal (1.)&lt;BR /&gt;%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 3 is illegal (0.)&lt;BR /&gt;%LINK-W-NOEOM, no end-of-module record found        in module  file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9&lt;BR /&gt;%LINK-W-SEQNCE, illegal record sequence        in module  file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9&lt;BR /&gt;%LINK-W-EMPTYFILE, no modules found in file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9&lt;BR /&gt;%LINK-W-USRTFR, image MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;10 has no user transfer address&lt;BR /&gt;&lt;BR /&gt;I read some posts from this forum, I tried some of the solutions presented here, but, still unsuccesifull. &lt;BR /&gt;Can anyone offer my a hint?&lt;BR /&gt;Thank you in advance.</description>
    <pubDate>Fri, 13 Jun 2008 08:35:52 GMT</pubDate>
    <dc:creator>Zagan Iulian</dc:creator>
    <dc:date>2008-06-13T08:35:52Z</dc:date>
    <item>
      <title>How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113809#M44094</link>
      <description>Hi,&lt;BR /&gt;I'm not very familiar with VMS, I've been supporting some jobs written in DCL &amp;amp; Fortan running on an Alpha VMS server. I know some basic VMS commands and several things about VMS operating system. Due to the job requirements, sometimes I have to modify the jobs and rebuild the fortran source files. So far, I succesfully used these lines:&lt;BR /&gt;&lt;BR /&gt;orabld XX_FILE&lt;BR /&gt;lnprofor XX_FILE XX_FILE,lnk$library/lib,MIS_ENVIRO:[FOR]COMBLD/OPT&lt;BR /&gt;&lt;BR /&gt;where XX_FILE is the file that needs to be rebuild into an EXE format. In folder MIS_ENVIRO:[FOR] I have some standard definitions used in the XX_FILE.FOR.&lt;BR /&gt;&lt;BR /&gt;Recently, I tried to rebuild another fortran file, but I'm getting these lines:&lt;BR /&gt;&lt;BR /&gt;Pro*FORTRAN: Release 1.8.52.4.0 - Production on Tue Jun 10 05:09:38 2008&lt;BR /&gt;&lt;BR /&gt;(c) Copyright 2000 Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;System default option values taken from: ora_pcc:pccfor.cfg&lt;BR /&gt;&lt;BR /&gt;Precompiling UNPLAN_WO_CLEANUP.FOR&lt;BR /&gt;   Compiling UNPLAN_WO_CLEANUP.OUT&lt;BR /&gt; - Linking UNPLAN_WO_CLEANUP.EXE&lt;BR /&gt;%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 1 is illegal (3.)&lt;BR /&gt;%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 2 is illegal (1.)&lt;BR /&gt;%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 3 is illegal (0.)&lt;BR /&gt;%LINK-W-NOEOM, no end-of-module record found        in module  file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9&lt;BR /&gt;%LINK-W-SEQNCE, illegal record sequence        in module  file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9&lt;BR /&gt;%LINK-W-EMPTYFILE, no modules found in file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9&lt;BR /&gt;%LINK-W-USRTFR, image MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;10 has no user transfer address&lt;BR /&gt;&lt;BR /&gt;I read some posts from this forum, I tried some of the solutions presented here, but, still unsuccesifull. &lt;BR /&gt;Can anyone offer my a hint?&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Fri, 13 Jun 2008 08:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113809#M44094</guid>
      <dc:creator>Zagan Iulian</dc:creator>
      <dc:date>2008-06-13T08:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113810#M44095</link>
      <description>You haven't said what is in the linker option file (.OPT), but I suspect that you need to put a /SHARE on the line that references UNPLAN_WO_CLEANUP.EXE in the options file.</description>
      <pubDate>Fri, 13 Jun 2008 09:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113810#M44095</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2008-06-13T09:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113811#M44096</link>
      <description>Perhaps you have a logical name that points UNPLAN_WO_CLEANUP to the .EXE rather than the intended .OBJ when you execute the LINKer? If so, just deassign that logical or change your LINK command to explicitly reference UNPLAN_WO_CLEANUP.OBJ.</description>
      <pubDate>Fri, 13 Jun 2008 10:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113811#M44096</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2008-06-13T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113812#M44097</link>
      <description>What is in your combld.opt ?&lt;BR /&gt;The linker is expecting an object file (.obj) containing object modules, but has found unplan_wo_cleanup.exe&lt;BR /&gt;something has told the linker to do this &lt;BR /&gt;maybe your options file?&lt;BR /&gt;if you SET VERIFY before running the command you should see what it is trying to do&lt;BR /&gt;Phil</description>
      <pubDate>Fri, 13 Jun 2008 10:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113812#M44097</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2008-06-13T10:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113813#M44098</link>
      <description>Thanks guys for answering so quick, I was pleasantly surprised by that.&lt;BR /&gt;My option file looks like this:&lt;BR /&gt;&lt;BR /&gt;MISCOM/SHARE&lt;BR /&gt;PSECT_ATTR=MISCOM,SHR&lt;BR /&gt;GSMATCH=ALWAYS,0,0&lt;BR /&gt;&lt;BR /&gt;I'll try to use SET VERIFY before running the the command.</description>
      <pubDate>Fri, 13 Jun 2008 10:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113813#M44098</guid>
      <dc:creator>Zagan Iulian</dc:creator>
      <dc:date>2008-06-13T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113814#M44099</link>
      <description>Zagan,&lt;BR /&gt;&lt;BR /&gt;I would also check for a logical name of UNPLAN_WO_CLEANUP. If such a logical name is pointing at a .EXE file, that could cause messages such as those cited in your post.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113814#M44099</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-06-13T11:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113815#M44100</link>
      <description>Hi guys,&lt;BR /&gt;there is indeed a logical name for UNPLAN_WO_CLEANUP, and it's pointing to the EXE file, thus, I checked the syntax of LNPROFOR and I changed the linking command to this:&lt;BR /&gt;&lt;BR /&gt;$lnprofor UNPLAN_WO_CLEANUP.EXE UNPLAN_WO_CLEANUP.OBJ,lnk$library/lib,&lt;BR /&gt;MIS_ENVIRO:[FOR]COMBLD/OPT&lt;BR /&gt;&lt;BR /&gt;so, right now, I'm explicity linking the OBJ file.&lt;BR /&gt;&lt;BR /&gt;I've used the SET VERIFY option too, but my problem still persist. I've attached the output from my screen:</description>
      <pubDate>Fri, 13 Jun 2008 12:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113815#M44100</guid>
      <dc:creator>Zagan Iulian</dc:creator>
      <dc:date>2008-06-13T12:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113816#M44101</link>
      <description>The link is showing a problem in the object file, is this from your fortran source? try&lt;BR /&gt;analyze /object unplan_wo_cleanup.obj&lt;BR /&gt;&lt;BR /&gt;run the compile step with verify on&lt;BR /&gt;&lt;BR /&gt;sometimes oracle expects object modules to be in libraries&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Fri, 13 Jun 2008 13:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113816#M44101</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2008-06-13T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113817#M44102</link>
      <description>Zagan,&lt;BR /&gt;&lt;BR /&gt;I am somewhat suspicious. Please check that the logical name is not interfering with the output of the compile. Deassign the logical name and try things again.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 13 Jun 2008 14:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113817#M44102</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-06-13T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113818#M44103</link>
      <description>I still don't know what was the root-cause,  but I took Phil Howell's advice and checked my source code file. I found no real issue (but I'm not a Fortran expert, so I might have missed it out) but I found a workaround. I took a previous version of the fortran file from another server, I re-modified it and after a new compliation and linking, no more error messages were listed on my screen. &lt;BR /&gt;Thus, my problem is solved, the root cause was probably some bad typing (syntax error, or a "space" char misplaced somewhere).&lt;BR /&gt;Thank you to all of you guys for finding time to address my problem and help me.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Iulian Zagan</description>
      <pubDate>Fri, 13 Jun 2008 14:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113818#M44103</guid>
      <dc:creator>Zagan Iulian</dc:creator>
      <dc:date>2008-06-13T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile my fortran program in vms 7.3-2?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113819#M44104</link>
      <description>I took a previous version of the fortran source code file from another server, I re-modified it, and then, succesfully compiled and linked it. &lt;BR /&gt;I assume that the root cause was probably some bad typing (syntax error, or a "space" char misplaced somewhere).</description>
      <pubDate>Fri, 13 Jun 2008 14:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-can-i-compile-my-fortran-program-in-vms-7-3-2/m-p/5113819#M44104</guid>
      <dc:creator>Zagan Iulian</dc:creator>
      <dc:date>2008-06-13T14:30:26Z</dc:date>
    </item>
  </channel>
</rss>

