<?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: SYS$GETRMI issues in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978364#M34118</link>
    <description>cfili,&lt;BR /&gt;&lt;BR /&gt;  Your code is correct, but $getrmi didn't make it into the V7.3 header for starlet.&lt;BR /&gt;&lt;BR /&gt;  Fixed in V8.2 - you may need to write "sys$getrmi" (remember C is case sensitive).&lt;BR /&gt;&lt;BR /&gt;  In the mean time, you can copy the C prototype from HELP:&lt;BR /&gt;&lt;BR /&gt;$ HELP SYSTEM $GETRMI</description>
    <pubDate>Wed, 10 May 2006 18:13:04 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2006-05-10T18:13:04Z</dc:date>
    <item>
      <title>SYS$GETRMI issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978362#M34116</link>
      <description>I am trying to use the SYS$GETRMI call which is clearly outlined in this document: &lt;A href="http://h71000.www7.hp.com/doc/73FINAL/4527/4527pro_053.html#index_x_615" target="_blank"&gt;http://h71000.www7.hp.com/doc/73FINAL/4527/4527pro_053.html#index_x_615&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, I have run into issues when trying to compile my c++ app which uses this call:&lt;BR /&gt;&lt;BR /&gt;%CXX-E-UNDECLARED, identifier "SYS$GETRMI" is undefined&lt;BR /&gt;&lt;BR /&gt;(Compaq C V6.5-001 on OpenVMS Alpha V7.3-2)&lt;BR /&gt;&lt;BR /&gt;Usually this is related to not having the proper headers included, but I think I have all the required header files:&lt;BR /&gt;&lt;BR /&gt;#include &lt;STARLET&gt;&lt;BR /&gt;#include &lt;LIB&gt;&lt;BR /&gt;#include &lt;RMIDEF&gt;&lt;BR /&gt;&lt;BR /&gt;My question boils down to, am I missing any headers?  If I am not, then where should the prototype for the method be and what would cause it to not be present.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/RMIDEF&gt;&lt;/LIB&gt;&lt;/STARLET&gt;</description>
      <pubDate>Wed, 10 May 2006 15:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978362#M34116</guid>
      <dc:creator>cfili</dc:creator>
      <dc:date>2006-05-10T15:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$GETRMI issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978363#M34117</link>
      <description>Still true at:&lt;BR /&gt;HP C V7.1-015 on OpenVMS Alpha V7.3-2&lt;BR /&gt;(no surprise).&lt;BR /&gt;&lt;BR /&gt;I'd guess that it should be in &lt;STARLET&gt;,&lt;BR /&gt;with all its friends, but apparently it's&lt;BR /&gt;not.  Probably an oversight (also known as&lt;BR /&gt;an error).  At least &lt;RMIDEF&gt; is there.  I&lt;BR /&gt;suppose that you'll need to add your own&lt;BR /&gt;declaration until a fix appears.  (And&lt;BR /&gt;remove it after the fix appears.)&lt;BR /&gt;&lt;BR /&gt;If you have VMS support, a complaint to HP&lt;BR /&gt;might help.&lt;/RMIDEF&gt;&lt;/STARLET&gt;</description>
      <pubDate>Wed, 10 May 2006 17:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978363#M34117</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-10T17:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$GETRMI issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978364#M34118</link>
      <description>cfili,&lt;BR /&gt;&lt;BR /&gt;  Your code is correct, but $getrmi didn't make it into the V7.3 header for starlet.&lt;BR /&gt;&lt;BR /&gt;  Fixed in V8.2 - you may need to write "sys$getrmi" (remember C is case sensitive).&lt;BR /&gt;&lt;BR /&gt;  In the mean time, you can copy the C prototype from HELP:&lt;BR /&gt;&lt;BR /&gt;$ HELP SYSTEM $GETRMI</description>
      <pubDate>Wed, 10 May 2006 18:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978364#M34118</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-05-10T18:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$GETRMI issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978365#M34119</link>
      <description>I tried copying the function prototype as suggested straight from the documentation, however I get an undefined symbol when linking:&lt;BR /&gt;&lt;BR /&gt;%LINK-W-NUDFSYMS, 1 undefined symbol:&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol int sys$getrmi(unsigned int, unsigned int, un&lt;BR /&gt;signed int, void *, _iosb *, void (*)(...), int) referenced&lt;BR /&gt;        in psect $LINK$ offset %X00000090&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2006 08:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978365#M34119</guid>
      <dc:creator>cfili</dc:creator>
      <dc:date>2006-05-11T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$GETRMI issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978366#M34120</link>
      <description>As this looks like a C++ message: did you wrap the funktion in an 'extern "C"'?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Martin</description>
      <pubDate>Thu, 11 May 2006 09:16:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978366#M34120</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2006-05-11T09:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$GETRMI issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978367#M34121</link>
      <description>Thank you, the extern did the trick.</description>
      <pubDate>Fri, 12 May 2006 10:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-getrmi-issues/m-p/4978367#M34121</guid>
      <dc:creator>cfili</dc:creator>
      <dc:date>2006-05-12T10:09:43Z</dc:date>
    </item>
  </channel>
</rss>

