<?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: VMS Purge in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858452#M20022</link>
    <description>I would use /modif instead of /create.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Fri, 27 Aug 2004 07:35:09 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2004-08-27T07:35:09Z</dc:date>
    <item>
      <title>VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858447#M20017</link>
      <description>I am writing a daily com file and would like to purge files for a particular extension and only files older then 30 days.  My assumption is that I would use the PURGE or DELETE and parse the creation date somehow.  Does anyone have a recommendation or advice?&lt;BR /&gt;&lt;BR /&gt;Al</description>
      <pubDate>Thu, 26 Aug 2004 16:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858447#M20017</guid>
      <dc:creator>AL MASS_1</dc:creator>
      <dc:date>2004-08-26T16:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858448#M20018</link>
      <description>Al,&lt;BR /&gt;&lt;BR /&gt;$ delete file.type;/created/before=today-30-00:00&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2004 19:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858448#M20018</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-08-26T19:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858449#M20019</link>
      <description>Al,&lt;BR /&gt;  if there are multiple versions of the files, you will need to modify David's suggestion slightly:&lt;BR /&gt;&lt;BR /&gt;$ delete file.type;*/created/before=today-30-00:00&lt;BR /&gt;&lt;BR /&gt;  I'd also suggest you "practice" with the DIRECTORY command first, just to make sure you're finding the right files:&lt;BR /&gt;&lt;BR /&gt;$ DIRECTORY/DATE=CRE file.type;* /CREATED/BEFORE=TODAY-30-00:00&lt;BR /&gt;&lt;BR /&gt;  (handy that so many DCL utilities share the same qualifiers!)&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Aug 2004 00:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858449#M20019</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-08-27T00:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858450#M20020</link>
      <description>Al,&lt;BR /&gt;&lt;BR /&gt;Welcome to VMS!&lt;BR /&gt;&lt;BR /&gt;Like almost all VMS (DCL) commands:&lt;BR /&gt;Questions about what can be done, and what the exact syntax is, are splendidly answered by HELP&lt;BR /&gt;&lt;BR /&gt;In your case: &lt;BR /&gt;HELP purge&lt;BR /&gt;and then, PURGE Subtopic:  /SINCE  (it is also quite educational to just go over the other qualifiers, and get a good impression of the various ways to steer to functionality in the direction that suits you best)&lt;BR /&gt;&lt;BR /&gt;I think maybe HELP HELP is the best start.&lt;BR /&gt;&lt;BR /&gt;Success&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Aug 2004 01:42:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858450#M20020</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-27T01:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858451#M20021</link>
      <description>Wow!  Thanks everyone!&lt;BR /&gt;Al</description>
      <pubDate>Fri, 27 Aug 2004 07:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858451#M20021</guid>
      <dc:creator>AL MASS_1</dc:creator>
      <dc:date>2004-08-27T07:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858452#M20022</link>
      <description>I would use /modif instead of /create.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 27 Aug 2004 07:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858452#M20022</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-27T07:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858453#M20023</link>
      <description>Al,&lt;BR /&gt;&lt;BR /&gt;We use&lt;BR /&gt;DELETE/LOG/CREATED/BEFORE=-32-00 file.ext;*&lt;BR /&gt;&lt;BR /&gt;Using 32 instead of 30 ensures the file makes it on to our end of the month backup tapes since some months of the year have 31 days.  We perform daily backups (of course!) but the daily backup from the last day of the month is sent offsite and not rotated back in for at least a year.&lt;BR /&gt;&lt;BR /&gt;Moral of the Story: Make sure your DELETE policy is in tune with your BACKUP policy.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Dan Herron</description>
      <pubDate>Fri, 27 Aug 2004 07:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858453#M20023</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2004-08-27T07:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858454#M20024</link>
      <description>Welcome to the forum - I'm sure you will find it helpful. Remember to award points to the people who have used their valuable time to answer your question.&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;</description>
      <pubDate>Fri, 27 Aug 2004 08:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858454#M20024</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-08-27T08:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Purge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858455#M20025</link>
      <description>Thanks for all the great information.  I appreciate everyone's input.&lt;BR /&gt;&lt;BR /&gt;Al</description>
      <pubDate>Fri, 27 Aug 2004 10:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-purge/m-p/4858455#M20025</guid>
      <dc:creator>AL MASS_1</dc:creator>
      <dc:date>2004-08-27T10:32:21Z</dc:date>
    </item>
  </channel>
</rss>

