<?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: Setting File Attributes on a Remote Node in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007122#M53189</link>
    <description>DECnet copy? Proxies enabled? A copy of this in the default directory on each system should work (you need to replace your nodeb nodename on the open command line). Make it more robust if you like...&lt;BR /&gt;&lt;BR /&gt;$! NOBACKUP.COM&lt;BR /&gt;$ goto 'f$mode()'&lt;BR /&gt;$INTERACTIVE:&lt;BR /&gt;$BATCH:&lt;BR /&gt;$OTHER:&lt;BR /&gt;$ if p1 .eqs. "" then exit 852 ! %SYSTEM-F-IVMODE&lt;BR /&gt;$! open/read/write net swda"user password"::"task=nobackup" ! no proxy&lt;BR /&gt;$ open/read/write net nodeb::"task=nobackup" ! using proxy&lt;BR /&gt;$ write net p1&lt;BR /&gt;$ read net p1&lt;BR /&gt;$ close net&lt;BR /&gt;$ exit 'p1'&lt;BR /&gt;$ exit &lt;BR /&gt;$NETWORK:&lt;BR /&gt;$ open/read/write net sys$net&lt;BR /&gt;$ read net p1&lt;BR /&gt;$ set file/noback 'p1'&lt;BR /&gt;$ write net $status&lt;BR /&gt;$ close net&lt;BR /&gt;$ exit 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then just&lt;BR /&gt;&lt;BR /&gt;$ @nobackup file.dat&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;$ @nobackup *.dat;*&lt;BR /&gt;&lt;BR /&gt;etc...</description>
    <pubDate>Thu, 05 Oct 2006 14:07:11 GMT</pubDate>
    <dc:creator>Jim_McKinney</dc:creator>
    <dc:date>2006-10-05T14:07:11Z</dc:date>
    <item>
      <title>Setting File Attributes on a Remote Node</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007120#M53187</link>
      <description>Good Afternoon All,&lt;BR /&gt;&lt;BR /&gt;I pose a question for you.  I have a command procedure that copies a series of files from Node A to Node B.  Once the files get copied to Node B, I would like the command procedure to set the file attributes to /NOBACKUP on those files.  I do not want the attributes for the files on NODE A set to /NOBACKUP, so they must stay as is.&lt;BR /&gt;&lt;BR /&gt;Is there an easy way to do this?&lt;BR /&gt;&lt;BR /&gt;Thank you all,&lt;BR /&gt;-k&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2006 12:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007120#M53187</guid>
      <dc:creator>Kevin Atchley</dc:creator>
      <dc:date>2006-10-05T12:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting File Attributes on a Remote Node</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007121#M53188</link>
      <description>"rsh"?  Assuming that "copies" means COPY&lt;BR /&gt;using DECnet, you've probably noticed that&lt;BR /&gt;you can't use SET FILE /NOBACKUP on a&lt;BR /&gt;DECnet-remote file:&lt;BR /&gt;&lt;BR /&gt;alp $ set file /nobackup alp::a_b.c&lt;BR /&gt;%SET-E-OPENIN, error opening ALP::ALP$DKA0:[SMS]A_B.C;1 as input&lt;BR /&gt;-SYSTEM-E-UNSUPPORTED, unsupported operation or function&lt;BR /&gt;&lt;BR /&gt;A process running on the remote system can do&lt;BR /&gt;it.  This can be arranged using a DECnet&lt;BR /&gt;remote task, or an IP "r" command (like&lt;BR /&gt;"rsh"), and probably some other (more exotic)&lt;BR /&gt;ways.&lt;BR /&gt;&lt;BR /&gt;If the systems were clustered and the&lt;BR /&gt;destination disk were mounted locally, then&lt;BR /&gt;the problem would vanish, of course.</description>
      <pubDate>Thu, 05 Oct 2006 12:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007121#M53188</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-10-05T12:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting File Attributes on a Remote Node</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007122#M53189</link>
      <description>DECnet copy? Proxies enabled? A copy of this in the default directory on each system should work (you need to replace your nodeb nodename on the open command line). Make it more robust if you like...&lt;BR /&gt;&lt;BR /&gt;$! NOBACKUP.COM&lt;BR /&gt;$ goto 'f$mode()'&lt;BR /&gt;$INTERACTIVE:&lt;BR /&gt;$BATCH:&lt;BR /&gt;$OTHER:&lt;BR /&gt;$ if p1 .eqs. "" then exit 852 ! %SYSTEM-F-IVMODE&lt;BR /&gt;$! open/read/write net swda"user password"::"task=nobackup" ! no proxy&lt;BR /&gt;$ open/read/write net nodeb::"task=nobackup" ! using proxy&lt;BR /&gt;$ write net p1&lt;BR /&gt;$ read net p1&lt;BR /&gt;$ close net&lt;BR /&gt;$ exit 'p1'&lt;BR /&gt;$ exit &lt;BR /&gt;$NETWORK:&lt;BR /&gt;$ open/read/write net sys$net&lt;BR /&gt;$ read net p1&lt;BR /&gt;$ set file/noback 'p1'&lt;BR /&gt;$ write net $status&lt;BR /&gt;$ close net&lt;BR /&gt;$ exit 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then just&lt;BR /&gt;&lt;BR /&gt;$ @nobackup file.dat&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;$ @nobackup *.dat;*&lt;BR /&gt;&lt;BR /&gt;etc...</description>
      <pubDate>Thu, 05 Oct 2006 14:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007122#M53189</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-10-05T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Setting File Attributes on a Remote Node</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007123#M53190</link>
      <description>&amp;gt; $ exit 'p1'&lt;BR /&gt;&amp;gt; $ exit&lt;BR /&gt;&lt;BR /&gt;Some might call that overkill.</description>
      <pubDate>Thu, 05 Oct 2006 22:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007123#M53190</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-10-05T22:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting File Attributes on a Remote Node</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007124#M53191</link>
      <description>&amp;gt; Some might call that overkill.&lt;BR /&gt;&lt;BR /&gt;And, I'd be one of them. How did that get in there? Someone sure did a poor cut and paste job while writing this...</description>
      <pubDate>Fri, 06 Oct 2006 06:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007124#M53191</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-10-06T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Setting File Attributes on a Remote Node</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007125#M53192</link>
      <description>Thank you.  After some minor tweaking for my own purposes this appears to have done the job I need.  Thanks for all your help.</description>
      <pubDate>Wed, 01 Nov 2006 14:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-file-attributes-on-a-remote-node/m-p/5007125#M53192</guid>
      <dc:creator>Kevin Atchley</dc:creator>
      <dc:date>2006-11-01T14:39:41Z</dc:date>
    </item>
  </channel>
</rss>

