<?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 Parameter Constants - Debugging Fortran 90 in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218297#M39483</link>
    <description>&lt;!--!*#--&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I am looking for a way to view parameter constants during a debug session of a Fortran-90 program under OpenVMS Alpha V8.3.&lt;BR /&gt;&lt;BR /&gt;Sample Program&lt;BR /&gt;&lt;BR /&gt;        program test&lt;BR /&gt;        implicit none&lt;BR /&gt;&lt;BR /&gt;        integer*2       ii&lt;BR /&gt;&lt;BR /&gt;        character*8     text&lt;BR /&gt;        parameter       (text='Hello')&lt;BR /&gt;        integer*4       number&lt;BR /&gt;        parameter       (number=2)&lt;BR /&gt;&lt;BR /&gt;1000    continue&lt;BR /&gt;&lt;BR /&gt;        type *,text&lt;BR /&gt;        type *,number&lt;BR /&gt;&lt;BR /&gt;        call exit&lt;BR /&gt;        end&lt;BR /&gt;&lt;BR /&gt;$ f90/debug=(symbol)/nooptimize test&lt;BR /&gt;$ link/debug test&lt;BR /&gt;&lt;BR /&gt;OpenVMS Alpha Debug64 Version V8.3-014&lt;BR /&gt;&lt;BR /&gt;When attempting to evaluate the parameter constants TEXT or NUMBER while in debug, the error %DEBUG-E-NOSYMBOL occurs. I attempted using DUMP, EVALUATE and EXAMINE without success. I also tried viewing them as globals.&lt;BR /&gt;&lt;BR /&gt;I recall using /debug=(symbols,parameter) in Fortran-77 to enable the ability to use EVALUATE to look at parameter constants, but this option does not appear to be available for Fortran-90.&lt;BR /&gt;&lt;BR /&gt;Suggestions are greatly appreciated.&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;-Howard-&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Jan 2010 13:32:10 GMT</pubDate>
    <dc:creator>HDS</dc:creator>
    <dc:date>2010-01-11T13:32:10Z</dc:date>
    <item>
      <title>Parameter Constants - Debugging Fortran 90</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218297#M39483</link>
      <description>&lt;!--!*#--&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I am looking for a way to view parameter constants during a debug session of a Fortran-90 program under OpenVMS Alpha V8.3.&lt;BR /&gt;&lt;BR /&gt;Sample Program&lt;BR /&gt;&lt;BR /&gt;        program test&lt;BR /&gt;        implicit none&lt;BR /&gt;&lt;BR /&gt;        integer*2       ii&lt;BR /&gt;&lt;BR /&gt;        character*8     text&lt;BR /&gt;        parameter       (text='Hello')&lt;BR /&gt;        integer*4       number&lt;BR /&gt;        parameter       (number=2)&lt;BR /&gt;&lt;BR /&gt;1000    continue&lt;BR /&gt;&lt;BR /&gt;        type *,text&lt;BR /&gt;        type *,number&lt;BR /&gt;&lt;BR /&gt;        call exit&lt;BR /&gt;        end&lt;BR /&gt;&lt;BR /&gt;$ f90/debug=(symbol)/nooptimize test&lt;BR /&gt;$ link/debug test&lt;BR /&gt;&lt;BR /&gt;OpenVMS Alpha Debug64 Version V8.3-014&lt;BR /&gt;&lt;BR /&gt;When attempting to evaluate the parameter constants TEXT or NUMBER while in debug, the error %DEBUG-E-NOSYMBOL occurs. I attempted using DUMP, EVALUATE and EXAMINE without success. I also tried viewing them as globals.&lt;BR /&gt;&lt;BR /&gt;I recall using /debug=(symbols,parameter) in Fortran-77 to enable the ability to use EVALUATE to look at parameter constants, but this option does not appear to be available for Fortran-90.&lt;BR /&gt;&lt;BR /&gt;Suggestions are greatly appreciated.&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;-Howard-&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 13:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218297#M39483</guid>
      <dc:creator>HDS</dc:creator>
      <dc:date>2010-01-11T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Constants - Debugging Fortran 90</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218298#M39484</link>
      <description>Howard,&lt;BR /&gt;&lt;BR /&gt;  Make sure you're up to date with versions. I seem to recall (long ago) a version when parameters were dropped from the DEBUG symbol table to improve DEBUG performance. It's too easy to get very large numbers of unreferenced parameter constants defined, clogging up the tables).&lt;BR /&gt;&lt;BR /&gt;  The /DEBUG=PARAMETER qualifier was introduced to restore the old behaviour. There may also have been a qualifier to request only referenced parameters were included.&lt;BR /&gt;&lt;BR /&gt;What other keywords are available for /DEBUG?&lt;BR /&gt;(I don't have an F90 compiler to check)&lt;BR /&gt;&lt;BR /&gt;If all else fails, it's a fairly simple parsing task to extract your parameter definitions and convert them into DEBUG DEFINE/VALUE commands. Use the DEBUG @ command to execute your script.</description>
      <pubDate>Mon, 11 Jan 2010 21:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218298#M39484</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-01-11T21:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Constants - Debugging Fortran 90</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218299#M39485</link>
      <description>&lt;!--!*#--&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;The idea to build a script to DEFINE values for the parameters is a good one. That will work for some cases but, unfortunately the PARAMETER statements are sometimes buried so deep in some INCLUDE in some called routine...hard to identify where they would be, making it difficult to know which file to use. I will give that a try though.&lt;BR /&gt;&lt;BR /&gt;For the HELP for the F90/FORTRAN command options, I am attaching a dump of the HELP FORTRAN * for your convenience. The /DEBUG=PARAMETER is no longer available; am I understanding that there may be a newer version of F90 that has returned that option?&lt;BR /&gt;&lt;BR /&gt;What's funny, as I look at the attached HELP listing is that the listed FORTRAN command defaults to /F77 and that the /NOF77 will rever to F66. Such leads me to think that something is amiss on the HELP and, therefore, possibly the DCL command definition in use. (Maybe there really is a newer version that allows for the /DEBUG=PARAMETER option...Hmmm...??)&lt;BR /&gt;&lt;BR /&gt;-Howard-</description>
      <pubDate>Mon, 11 Jan 2010 21:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218299#M39485</guid>
      <dc:creator>HDS</dc:creator>
      <dc:date>2010-01-11T21:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Constants - Debugging Fortran 90</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218300#M39486</link>
      <description>Howard,&lt;BR /&gt;&lt;BR /&gt;  Log a case with your local CSC to clarify the situation and/or request the restoration of a lost feature.&lt;BR /&gt;&lt;BR /&gt;  To check if there are qualifiers or keywords available which aren't in HELP, look at the CLD file. Some are stored in SYS$UPDATE. If Fortran doesn't put a copy there, break open the kit to find it.</description>
      <pubDate>Mon, 11 Jan 2010 23:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218300#M39486</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-01-11T23:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Constants - Debugging Fortran 90</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218301#M39487</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, no solution/explanation has been identified as of yet. This will be provided to the department responsible for the OS and its layered sw.&lt;BR /&gt;&lt;BR /&gt;I thank you all for your advice.&lt;BR /&gt;&lt;BR /&gt;-H-&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Feb 2010 21:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/parameter-constants-debugging-fortran-90/m-p/5218301#M39487</guid>
      <dc:creator>HDS</dc:creator>
      <dc:date>2010-02-11T21:25:17Z</dc:date>
    </item>
  </channel>
</rss>

