<?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: Changing OpenVMS file protection in FORTRAN in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969376#M35722</link>
    <description>&lt;BR /&gt;&lt;BR /&gt;Thanks very much for all the suggestions.&lt;BR /&gt;&lt;BR /&gt;I was not able to access the FORTRAN link that was provided.&lt;BR /&gt;&lt;BR /&gt;I'll be going over these with my colleague today.</description>
    <pubDate>Tue, 27 Mar 2007 08:32:44 GMT</pubDate>
    <dc:creator>Richard kelly_2</dc:creator>
    <dc:date>2007-03-27T08:32:44Z</dc:date>
    <item>
      <title>Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969369#M35715</link>
      <description>Hello,&lt;BR /&gt;I am not very familiar with calling systems services but I would like to be able to check and change a files protection and/or acl settings from FORTRAN.&lt;BR /&gt;Any pointers that will help to get this done will be greatly appreciated&lt;BR /&gt;Thanks&lt;BR /&gt;Richard</description>
      <pubDate>Mon, 26 Mar 2007 14:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969369#M35715</guid>
      <dc:creator>Richard kelly_2</dc:creator>
      <dc:date>2007-03-26T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969370#M35716</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;my quick &amp;amp; dirty suggestion would be to SPAWN a little DCL procedure to do it, but if that is possible/feasable/desirable in your specific situation?&lt;BR /&gt;&lt;BR /&gt;Just too little info....&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Mon, 26 Mar 2007 15:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969370#M35716</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-03-26T15:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969371#M35717</link>
      <description>Sorry about not providing enough info.  I am actually helping out a colleague (blind leading the blind). &lt;BR /&gt;&lt;BR /&gt;He is hoping to not do a spawn because he wants to be able to check the outcome and status of the commands after each one.&lt;BR /&gt;&lt;BR /&gt;He is trying to read some information from a database and based on various settings he needs to apply or remove protections from particular VMS files.&lt;BR /&gt;&lt;BR /&gt;I asked if he could use a DCL script to call a fortran program to check the database but he was not happy with that either.  I was not sure if there was a system service or library routine for this.  I did not see one.&lt;BR /&gt;&lt;BR /&gt;I hope this is enough.</description>
      <pubDate>Mon, 26 Mar 2007 15:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969371#M35717</guid>
      <dc:creator>Richard kelly_2</dc:creator>
      <dc:date>2007-03-26T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969372#M35718</link>
      <description>The RMS Reference Manual is where you will find the documentation on the VMS APIs to do what you want.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/731FINAL/4523/4523PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/731FINAL/4523/4523PRO.HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;RMS routines are callable from any language.</description>
      <pubDate>Mon, 26 Mar 2007 15:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969372#M35718</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2007-03-26T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969373#M35719</link>
      <description>Depending on the particular OpenVMS version, the sys$set_security system service is probably the call you want.&lt;BR /&gt;&lt;BR /&gt;Some related examples in C:&lt;BR /&gt;&lt;A href="http://vmsone.com/~decuslib/vmssig/vmslt02a/vu/create-ace-from-prog-src.txt" target="_blank"&gt;http://vmsone.com/~decuslib/vmssig/vmslt02a/vu/create-ace-from-prog-src.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And an example from the support database in Fortran:&lt;BR /&gt;&lt;A href="http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC941118003877.html" target="_blank"&gt;http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC941118003877.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This call transparently connects into the RMS and other underlying calls as described by Hein, depending on the particular object target.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969373#M35719</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-03-26T15:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969374#M35720</link>
      <description>sub /Hein/Jess/&lt;BR /&gt;my bad.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Mar 2007 16:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969374#M35720</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-03-26T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969375#M35721</link>
      <description>There's C code which deals with this stuff&lt;BR /&gt;in the Info-ZIP UnZip code ("[.vms]vms.c" in&lt;BR /&gt;practically any version).  Sorting out the&lt;BR /&gt;parts you need may be harder than writing&lt;BR /&gt;everything yourself, but you might get some&lt;BR /&gt;useful hints from it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.info-zip.org/" target="_blank"&gt;http://www.info-zip.org/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.info-zip.org/UnZip.html" target="_blank"&gt;http://www.info-zip.org/UnZip.html&lt;/A&gt;</description>
      <pubDate>Mon, 26 Mar 2007 19:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969375#M35721</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-03-26T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969376#M35722</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Thanks very much for all the suggestions.&lt;BR /&gt;&lt;BR /&gt;I was not able to access the FORTRAN link that was provided.&lt;BR /&gt;&lt;BR /&gt;I'll be going over these with my colleague today.</description>
      <pubDate>Tue, 27 Mar 2007 08:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969376#M35722</guid>
      <dc:creator>Richard kelly_2</dc:creator>
      <dc:date>2007-03-27T08:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969377#M35723</link>
      <description>Ok; here's the path to get to the web page.  Go to the &lt;A href="http://www.itrc.hp.com" target="_blank"&gt;http://www.itrc.hp.com&lt;/A&gt; page and find the right support search engine tool -- for this, you want the one known as Search Assistant.  When you pull up an Americas Asia Pacific search tool -- "James" is in the URL -- you will see the line "Enter your Compaq product query here" at the top of the search box, enter the "all words" query:&lt;BR /&gt;&lt;BR /&gt;sys$set_security fortran&lt;BR /&gt;&lt;BR /&gt;You should get two hits.&lt;BR /&gt;&lt;BR /&gt;Here's the full text of the first hit:&lt;BR /&gt;&lt;BR /&gt;   Example-FORTRAN How To Add An ACE Using SYS$SET_SECURITY&lt;BR /&gt;... Example-FORTRAN How To Add An ACE Using SYS$SET_SECURITY buy online or call 1.800.AT.COMPAQ ...&lt;BR /&gt;&lt;A href="http://search.hp.com/redirect.html?url=http%3A//h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC941118003877.html&amp;amp;qt=%2Bsys%24+%2Bset_security+%2Bfortran+&amp;amp;hit=1" target="_blank"&gt;http://search.hp.com/redirect.html?url=http%3A//h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC941118003877.html&amp;amp;qt=%2Bsys%24+%2Bset_security+%2Bfortran+&amp;amp;hit=1&lt;/A&gt;</description>
      <pubDate>Tue, 27 Mar 2007 09:00:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969377#M35723</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-03-27T09:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing OpenVMS file protection in FORTRAN</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969378#M35724</link>
      <description>Thanks very much for everything I think that we have some really good points here and we should be able to get a solution out of these suggestions.</description>
      <pubDate>Tue, 27 Mar 2007 09:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-openvms-file-protection-in-fortran/m-p/3969378#M35724</guid>
      <dc:creator>Richard kelly_2</dc:creator>
      <dc:date>2007-03-27T09:23:36Z</dc:date>
    </item>
  </channel>
</rss>

