<?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: Installed images in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629610#M71176</link>
    <description>Use f$file() with the KNOWN item.  One gotcha is the file specification cannot contain a version specification and has to preserve concealed devices.  For example:&lt;BR /&gt;&lt;BR /&gt;$ spec = "sys$system:set.exe"&lt;BR /&gt;$ write sys$output f$file(spec,"KNOWN")&lt;BR /&gt;TRUE&lt;BR /&gt;$ spec2 = f$parse(spec)&lt;BR /&gt;$ write sys$output f$file(spec2,"KNOWN")&lt;BR /&gt;FALSE&lt;BR /&gt;$ spec = "disk$avms82r1:[vms$common.sysexe]set.exe"&lt;BR /&gt;$ write sys$output f$file(spec,"KNOWN")&lt;BR /&gt;FALSE</description>
    <pubDate>Mon, 19 Sep 2005 21:36:46 GMT</pubDate>
    <dc:creator>David Jones_21</dc:creator>
    <dc:date>2005-09-19T21:36:46Z</dc:date>
    <item>
      <title>Installed images</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629608#M71174</link>
      <description>How can I determine if an image is installed from within a command file? &lt;BR /&gt;&lt;BR /&gt;I want the connad file to take different action if a program is an installed image and different action if it is not.&lt;BR /&gt;&lt;BR /&gt;ie&lt;BR /&gt;$ if installed_image (filename) = "Y"&lt;BR /&gt;$ then &lt;BR /&gt;$ write sys$output "Fn is installed"&lt;BR /&gt;$ else &lt;BR /&gt;$ write sys$output "Fn is not installed"&lt;BR /&gt;$ endif</description>
      <pubDate>Mon, 19 Sep 2005 20:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629608#M71174</guid>
      <dc:creator>lesley_4</dc:creator>
      <dc:date>2005-09-19T20:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Installed images</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629609#M71175</link>
      <description>see help lex f$file&lt;BR /&gt;something like this should do&lt;BR /&gt;if .not. f$file_attributes(p1,"known")&lt;BR /&gt;Phil</description>
      <pubDate>Mon, 19 Sep 2005 21:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629609#M71175</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2005-09-19T21:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Installed images</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629610#M71176</link>
      <description>Use f$file() with the KNOWN item.  One gotcha is the file specification cannot contain a version specification and has to preserve concealed devices.  For example:&lt;BR /&gt;&lt;BR /&gt;$ spec = "sys$system:set.exe"&lt;BR /&gt;$ write sys$output f$file(spec,"KNOWN")&lt;BR /&gt;TRUE&lt;BR /&gt;$ spec2 = f$parse(spec)&lt;BR /&gt;$ write sys$output f$file(spec2,"KNOWN")&lt;BR /&gt;FALSE&lt;BR /&gt;$ spec = "disk$avms82r1:[vms$common.sysexe]set.exe"&lt;BR /&gt;$ write sys$output f$file(spec,"KNOWN")&lt;BR /&gt;FALSE</description>
      <pubDate>Mon, 19 Sep 2005 21:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629610#M71176</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2005-09-19T21:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Installed images</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629611#M71177</link>
      <description>Thanks Phil &amp;amp; David&lt;BR /&gt;&lt;BR /&gt;Lesley</description>
      <pubDate>Mon, 19 Sep 2005 22:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629611#M71177</guid>
      <dc:creator>lesley_4</dc:creator>
      <dc:date>2005-09-19T22:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Installed images</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629612#M71178</link>
      <description>&lt;BR /&gt;Lesley, welcome to the ITRC OpenVMS Forum.&lt;BR /&gt;&lt;BR /&gt;Please consider recognizing the effort of the responders and the quality of the answer by assigning 'points'. Follow the 'How to earn points' link on your left, and check the FAQ for a minute in return for 'free support, worth every penny'.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;&lt;BR /&gt;( 0 points for this reply please )&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Sep 2005 22:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629612#M71178</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-09-19T22:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Installed images</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629613#M71179</link>
      <description>&amp;gt; One gotcha is the file specification cannot contain a version specification and has to preserve concealed devices. &lt;BR /&gt;&lt;BR /&gt;It's even more of a gotcha than that! The file specification must translate to EXACTLY the same filespec used to install the image. This is part of "known file paranoia".&lt;BR /&gt;&lt;BR /&gt;General rule: DEFINE a /SYSTEM/EXEC logical name pointing to any image to be installed which doesn't reside in a system directory. Always use it to INSTALL or reference the image, and everything will work as you expect.</description>
      <pubDate>Mon, 19 Sep 2005 22:57:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/installed-images/m-p/3629613#M71179</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-09-19T22:57:57Z</dc:date>
    </item>
  </channel>
</rss>

