<?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: OpenVMS Install Utility (INSTALL) in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618102#M70792</link>
    <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Explanation of all the switched goes as below&lt;BR /&gt;&lt;BR /&gt;Header resident  &lt;BR /&gt;The header of the image file (native images only) remains permanently resident, saving one disk I/O operation per file access. For images with single-block file headers, the cost is less than 512 bytes of paged dynamic memory per file; for images with multiblock headers, the cost varies according to the header block count. Images installed header resident are implicitly installed permanently open.  &lt;BR /&gt;&lt;BR /&gt;/[NO]HEADER_RESIDENT  &lt;BR /&gt;Permanently open &lt;BR /&gt;&lt;BR /&gt; The image file remains open, so access to the image does not require a call to the file system.  &lt;BR /&gt;&lt;BR /&gt;/OPEN  &lt;BR /&gt;Privileged  &lt;BR /&gt;&lt;BR /&gt;Amplified privileges are temporarily assigned to any process running the image, permitting the process to exceed its user authorization file (UAF) privilege restrictions during execution of the image. In this way, users with normal privileges can run programs that require higher-than-normal privileges. This attribute (and the &lt;BR /&gt;/PRIVILEGED qualifier that creates it) applies only to executable images.  /PRIVILEGED[=(priv-name[,...])]  &lt;BR /&gt;&lt;BR /&gt;Protected  &lt;BR /&gt;&lt;BR /&gt;When the image is activated, the address space for the image is protected against modification by user-mode code. This is critical for shareable code that runs in kernel or executive mode.  &lt;BR /&gt;/PROTECTED  &lt;BR /&gt;&lt;BR /&gt;++ Resident &lt;BR /&gt;&lt;BR /&gt; On Alpha systems, code or read-only data for an image is made permanently resident in a system region of memory. This improves performance by using a special page mapping to reduce translation buffer (TB) miss rates. The resident attribute applies to shareable or executable images that have been linked with the qualifier &lt;BR /&gt;&lt;BR /&gt; /SECTION_BINDING=(CODE,DATA).  &lt;BR /&gt;&lt;BR /&gt;Shared  More than one user can access the read-only and non-copy-on-reference read/write sections of the image concurrently, so that only one copy of those sections needs to be in physical memory. (Copy-on-reference sections always require a separate copy for each process.) The image is implicitly declared permanently open.  &lt;BR /&gt;&lt;BR /&gt;/SHARED  &lt;BR /&gt;&lt;BR /&gt;Writable  &lt;BR /&gt;&lt;BR /&gt;When a shareable non-copy-on-reference writable section is removed from physical memory (for paging reasons or because no processes are referencing it), it is written back to the image file. Any updates made by processes mapped to the section, therefore, are preserved (while the initial values are lost). The image must also be declared shareable. &lt;BR /&gt;&lt;BR /&gt;/WRITABLE  &lt;BR /&gt;&lt;BR /&gt;Hoipe it helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Himanshu&lt;BR /&gt;</description>
    <pubDate>Sat, 03 Sep 2005 18:31:03 GMT</pubDate>
    <dc:creator>Himanshu_3</dc:creator>
    <dc:date>2005-09-03T18:31:03Z</dc:date>
    <item>
      <title>OpenVMS Install Utility (INSTALL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618100#M70790</link>
      <description>Greetings,&lt;BR /&gt;   I am using the INSTALL command to create known file entries for my executables; however, I am not familiar with all the switches associated with the ADD/CREATE option. The switches in question are '/EXECUTE_ONLY', '/HEADER_RESIDENT', &lt;BR /&gt;'/OPEN', '/PROTECTED', '/SHARED', '/WRITABLE',&lt;BR /&gt;and others that I am hoping to get further explanation regarding. I am reading the OpenVMS System Management Utilities Reference Manual and don't understand what the terminology means. For example, the documentation defines using the '/OPEN' switch as, "Installs the file as a permenantly open know image." So, if I used the command, '$INSTALL CREATE/OPEN XXX.EXE,' what does it mean that the file 'XXX.EXE' is installed: 1)Permenantly, 2)Open, and 3)Known. Any help would be greatly appreciated. Also, is there any OpenVMS documentation that further explains the Install Utility (INSTALL)&lt;BR /&gt;Eric</description>
      <pubDate>Sat, 03 Sep 2005 14:29:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618100#M70790</guid>
      <dc:creator>Eric_369</dc:creator>
      <dc:date>2005-09-03T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Install Utility (INSTALL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618101#M70791</link>
      <description>Hello Eric,&lt;BR /&gt;&lt;BR /&gt;An excellent description of the INSTALL utility and its qualifiers can be found in the OpenVMS System Manager's Manual Volume 2. Have a look at the section in chapter 3 called "Using INSTALL to Install Known Images" (I'm using the v7.3-2 documentation set). You can also find interesting information dotted around the OpenVMS Linker Utility Manual.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Ian&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Sep 2005 15:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618101#M70791</guid>
      <dc:creator>Ian McKerracher_1</dc:creator>
      <dc:date>2005-09-03T15:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Install Utility (INSTALL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618102#M70792</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Explanation of all the switched goes as below&lt;BR /&gt;&lt;BR /&gt;Header resident  &lt;BR /&gt;The header of the image file (native images only) remains permanently resident, saving one disk I/O operation per file access. For images with single-block file headers, the cost is less than 512 bytes of paged dynamic memory per file; for images with multiblock headers, the cost varies according to the header block count. Images installed header resident are implicitly installed permanently open.  &lt;BR /&gt;&lt;BR /&gt;/[NO]HEADER_RESIDENT  &lt;BR /&gt;Permanently open &lt;BR /&gt;&lt;BR /&gt; The image file remains open, so access to the image does not require a call to the file system.  &lt;BR /&gt;&lt;BR /&gt;/OPEN  &lt;BR /&gt;Privileged  &lt;BR /&gt;&lt;BR /&gt;Amplified privileges are temporarily assigned to any process running the image, permitting the process to exceed its user authorization file (UAF) privilege restrictions during execution of the image. In this way, users with normal privileges can run programs that require higher-than-normal privileges. This attribute (and the &lt;BR /&gt;/PRIVILEGED qualifier that creates it) applies only to executable images.  /PRIVILEGED[=(priv-name[,...])]  &lt;BR /&gt;&lt;BR /&gt;Protected  &lt;BR /&gt;&lt;BR /&gt;When the image is activated, the address space for the image is protected against modification by user-mode code. This is critical for shareable code that runs in kernel or executive mode.  &lt;BR /&gt;/PROTECTED  &lt;BR /&gt;&lt;BR /&gt;++ Resident &lt;BR /&gt;&lt;BR /&gt; On Alpha systems, code or read-only data for an image is made permanently resident in a system region of memory. This improves performance by using a special page mapping to reduce translation buffer (TB) miss rates. The resident attribute applies to shareable or executable images that have been linked with the qualifier &lt;BR /&gt;&lt;BR /&gt; /SECTION_BINDING=(CODE,DATA).  &lt;BR /&gt;&lt;BR /&gt;Shared  More than one user can access the read-only and non-copy-on-reference read/write sections of the image concurrently, so that only one copy of those sections needs to be in physical memory. (Copy-on-reference sections always require a separate copy for each process.) The image is implicitly declared permanently open.  &lt;BR /&gt;&lt;BR /&gt;/SHARED  &lt;BR /&gt;&lt;BR /&gt;Writable  &lt;BR /&gt;&lt;BR /&gt;When a shareable non-copy-on-reference writable section is removed from physical memory (for paging reasons or because no processes are referencing it), it is written back to the image file. Any updates made by processes mapped to the section, therefore, are preserved (while the initial values are lost). The image must also be declared shareable. &lt;BR /&gt;&lt;BR /&gt;/WRITABLE  &lt;BR /&gt;&lt;BR /&gt;Hoipe it helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Himanshu&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Sep 2005 18:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618102#M70792</guid>
      <dc:creator>Himanshu_3</dc:creator>
      <dc:date>2005-09-03T18:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Install Utility (INSTALL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618103#M70793</link>
      <description>&lt;A href="http://h71000.www7.hp.com/doc/82FINAL/aa-pv5nj-tk/00/00/49-con.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/82FINAL/aa-pv5nj-tk/00/00/49-con.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Sep 2005 12:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618103#M70793</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-04T12:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Install Utility (INSTALL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618104#M70794</link>
      <description>Eric,&lt;BR /&gt;&lt;BR /&gt;  INSTALL can do many things. Which qualifiers you use depends on your objectives. Think of INSTALL as being like adding your own software to the operating system. This is a very powerful function, but it can also be dangerous. Think about what you're really trying to do.&lt;BR /&gt;&lt;BR /&gt;1) (simplest) INSTALL a shareable image so it's "trusted". No qualifiers are necessary, but /OPEN/HEADER/SHARED probably won't hurt and may help.&lt;BR /&gt;&lt;BR /&gt;why? /OPEN means OpenVMS has opened the file, so your processes don't need to. /HEADER means the contents of the header are read into physical memory, so you don't need a disk I/O to read them. /SHARED means any shareable, readable image sections will be placed into a global section, so they are physically shared by all processes accessing the image. Add /EXECUTE_ONLY to prevent processes from being able to read the code. This blocks debugging and reverse engineering.&lt;BR /&gt;&lt;BR /&gt;2) INSTALL an exeecutable or shareable image for performance - use /OPEN/HEADER/SHARED.&lt;BR /&gt;&lt;BR /&gt;why? this will reduce processing to open the file and, because the memory is physically shared, you can save memory. You can go a further step and add /RESIDENT to move the entire image into non-paged memory. This will eliminate all disk I/O associated with this image, but the program needs to be linked specially, and you may need to adjust some SYSGEN parameters.&lt;BR /&gt;&lt;BR /&gt;3) INSTALL an image to physically share read/write memory. Use /OPEN/HEAD/SHARE/WRIT&lt;BR /&gt;&lt;BR /&gt;why - this makes global shareable writeable image sections physically shared. You need to have written and linked the program specifically to do this.&lt;BR /&gt;&lt;BR /&gt;4) INSTALL an executable image so that it has privilege when it runs, use /PRIV or /AUTHPRIV.&lt;BR /&gt;&lt;BR /&gt;why? - to grant privilege to an executable image when it runs, so that unprivileged users can have privileges under controlled conditions. Be very careful - this can create security holes! Note that you CANNOT install a shareable image with privilege.&lt;BR /&gt;&lt;BR /&gt;5) INSTALL your own inner mode system services, use /PROTECTED&lt;BR /&gt;&lt;BR /&gt;why? this needs to be a very special image with a "protection change" vector.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;General rule when installing images - always refer to the image by /SYSTEM/EXEC logical name. Define the logical name first:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE/SYSTEM/EXEC MYIMAGE disk:[dir]MYIMAGE&lt;BR /&gt;$ INSTALL ADD MYIMAGE/OPEN/HEAD/SHARE&lt;BR /&gt;$ RUN MYIMAGE&lt;BR /&gt;&lt;BR /&gt;why? known file activation is "paranoid". If there are any discrepancies between the name used to install the image, and the one used to activate it, known file activation is bypassed. Using logical names as above ensures the activation name is the same as the installation name.&lt;BR /&gt;&lt;BR /&gt;There are other things you can do with INSTALL, see the manual for all the gory details.</description>
      <pubDate>Sun, 04 Sep 2005 17:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618104#M70794</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-09-04T17:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Install Utility (INSTALL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618105#M70795</link>
      <description>One additionto John Gillings remark:&lt;BR /&gt;[quote]&lt;BR /&gt;General rule when installing images - always refer to the image by /SYSTEM/EXEC logical name. Define the logical name first:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE/SYSTEM/EXEC MYIMAGE disk:[dir]MYIMAGE&lt;BR /&gt;$ INSTALL ADD MYIMAGE/OPEN/HEAD/SHARE&lt;BR /&gt;$ RUN MYIMAGE&lt;BR /&gt;[/quote]&lt;BR /&gt;&lt;BR /&gt;The very same rule should apply for linking an image. LINK will store the NAME that is used in the LINK command (or option file, most likely) on which the image activator will have to decide what actual image is meant. The logical name tables are examined first and the first hit - in any table - will be used. If no hit is found, the name is expanded to .EXE to reside in SYS$SHARE.&lt;BR /&gt;&lt;BR /&gt;For development of generic routines - typically the ones stored in a shared image - this is extremely powerfull, given that certain dicipline is exercised and basic rules are followed: No change in order (that is: no deletion of old entries and adding new ones only at the end), and defining the logical in the proces or job table referring to the local verion of the executable.&lt;BR /&gt;When found fit for production, the only actions required are INSTALL REPLACE of the file and stop and start of the executables using it (and perhaps not even that)&lt;BR /&gt;&lt;BR /&gt;(Used extensively years ago on VAX, but I cannot image things have drastically changed on Alpha)&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Tue, 06 Sep 2005 02:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-install-utility-install/m-p/3618105#M70795</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-09-06T02:19:56Z</dc:date>
    </item>
  </channel>
</rss>

