<?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: how to use system_logical_name with #include declare? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464485#M31741</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should use the U**x syntax:&lt;BR /&gt;&lt;BR /&gt;#include &lt;APPDIR&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;&lt;/APPDIR&gt;</description>
    <pubDate>Mon, 17 Jan 2005 08:49:25 GMT</pubDate>
    <dc:creator>Kris Clippeleyr</dc:creator>
    <dc:date>2005-01-17T08:49:25Z</dc:date>
    <item>
      <title>how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464484#M31740</link>
      <description>system openvms 7.3-1,cc 6.5 and mms&lt;BR /&gt;&lt;BR /&gt;now i have defined a logical_name is APPDIR&lt;BR /&gt;$define/system APPDIR "sys$sysdevice:[project]"&lt;BR /&gt;and declared in my c source file below:&lt;BR /&gt;&lt;BR /&gt;#include "APPDIR:time.h"&lt;BR /&gt;&lt;BR /&gt;but thrown "can't open APPDIR:time.h or file no found" message when i make&lt;BR /&gt;why the compiler can't translate logical name to real path? how i can use logical name with include declare?&lt;BR /&gt;&lt;BR /&gt;help!!</description>
      <pubDate>Mon, 17 Jan 2005 08:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464484#M31740</guid>
      <dc:creator>wang_17</dc:creator>
      <dc:date>2005-01-17T08:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464485#M31741</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should use the U**x syntax:&lt;BR /&gt;&lt;BR /&gt;#include &lt;APPDIR&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;&lt;/APPDIR&gt;</description>
      <pubDate>Mon, 17 Jan 2005 08:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464485#M31741</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-01-17T08:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464486#M31742</link>
      <description>I have no problem at all using that format.&lt;BR /&gt;&lt;BR /&gt;However, when the file is not found I do not get an error message like that. It would be useful to see exactly what error you are getting. &lt;BR /&gt;&lt;BR /&gt;Also, "time.h" is one of the standard header files. It might be interesting to see if you get the same problem with a file with a unique name.</description>
      <pubDate>Mon, 17 Jan 2005 09:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464486#M31742</guid>
      <dc:creator>Martin Kirby_1</dc:creator>
      <dc:date>2005-01-17T09:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464487#M31743</link>
      <description>Wang,&lt;BR /&gt;&lt;BR /&gt;As a variant, you can use also the /INCLUDE_DIRECTORY qualifier of the CC command.  You can specify many directories which will be searched for the include file. The second variant is to define DECC$USER_INCLUDE (for #include "") or the DECC$SYSTEM_INCLUDE (for #include &amp;lt;&amp;gt;) logical name with one or more directories to search for include files.&lt;BR /&gt;&lt;BR /&gt;Examples:&lt;BR /&gt;&lt;BR /&gt;$ CC /INCLUDE_DIRECTORY=sys$sysdevice:[project] my.c&lt;BR /&gt;&lt;BR /&gt;for the second&lt;BR /&gt;$ DEFINE DECC$USER_INCLUDE sys$sysdevice:[project]&lt;BR /&gt;$ CC my.c&lt;BR /&gt;&lt;BR /&gt;In both variants you then use the:&lt;BR /&gt;&lt;BR /&gt;#include "time.h"&lt;BR /&gt;&lt;BR /&gt;(without APPDIR) for including files. This is similar to the UNIX -I qualifier.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 17 Jan 2005 09:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464487#M31743</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-01-17T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464488#M31744</link>
      <description>thx a lots, Kris Martin and Bojan, i think i got it.aha.</description>
      <pubDate>Mon, 17 Jan 2005 10:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464488#M31744</guid>
      <dc:creator>wang_17</dc:creator>
      <dc:date>2005-01-17T10:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464489#M31745</link>
      <description>wang, can you show your thanks to the people that have helped you by assigning ports as described here&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jan 2005 10:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464489#M31745</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-01-17T10:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use system_logical_name with #include declare?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464490#M31746</link>
      <description>Hi Wang,&lt;BR /&gt;&lt;BR /&gt;Welcome to VMS, also from me.&lt;BR /&gt;&lt;BR /&gt;Reading Ian's post, I lookup up your Forum Profile.&lt;BR /&gt;&lt;BR /&gt;"I have assigned points to   0  of   22  responses to my questions. "&lt;BR /&gt;&lt;BR /&gt;So, I thought maybe I should explain some more.&lt;BR /&gt;&lt;BR /&gt;on giving points:&lt;BR /&gt;try to give points to EVERY answer to your questions!&lt;BR /&gt;&lt;BR /&gt;It is fully up to you HOW MANY, and you can just give 0 (zero) if you think you don't want to give more. &lt;BR /&gt;Any assignment, including zero, removes the "unassigned" header.&lt;BR /&gt;&lt;BR /&gt;It is reflected in your Forum Profile.&lt;BR /&gt;If you do not know that yet, then click your own name (in the questions summary, in your question header, in the header of any of your replies).&lt;BR /&gt;&lt;BR /&gt;In your profile you will notice how many answers you have assigned to, from how many total.&lt;BR /&gt;&lt;BR /&gt;If you somehow want more info on any other Forum user, it is basically the same.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;( and hey, we have all begun as newbies, most of us stumbled over this! )&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Mon, 17 Jan 2005 15:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-system-logical-name-with-include-declare/m-p/3464490#M31746</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-01-17T15:17:14Z</dc:date>
    </item>
  </channel>
</rss>

