<?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: Can I delete the contents of old PCSI$UNDO directories? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990211#M77521</link>
    <description>You can use the &lt;BR /&gt;&lt;BR /&gt;$ PRODUCT SHOW RECOVERY_DATA&lt;BR /&gt;&lt;BR /&gt;To view these directories and to see what the product tool makes of them. Gives creation date, patch info. There are a few qualifiers available too.&lt;BR /&gt;&lt;BR /&gt;J.</description>
    <pubDate>Wed, 12 Jul 2006 08:08:55 GMT</pubDate>
    <dc:creator>John Abbott_2</dc:creator>
    <dc:date>2006-07-12T08:08:55Z</dc:date>
    <item>
      <title>Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990206#M77516</link>
      <description>Old PCSI$UNDO directories are beginning to take too much space on my system disk.(Currently I have directories named from PCSI$UNDO_001... to PCSI$UNDO_030...)&lt;BR /&gt;&lt;BR /&gt;Can any of these be safely deleted or moved to a non-system disk?</description>
      <pubDate>Tue, 11 Jul 2006 14:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990206#M77516</guid>
      <dc:creator>Dennis D Hagen</dc:creator>
      <dc:date>2006-07-11T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990207#M77517</link>
      <description>&lt;!--!*#--&gt;There are probably some more details, but&lt;BR /&gt;you may wish to leave the directories in&lt;BR /&gt;place.  If you [re]move them, I believe that&lt;BR /&gt;the installer will start over at "_001" the&lt;BR /&gt;next time, and I assume that this will&lt;BR /&gt;confuse (if not confound) any later attempts&lt;BR /&gt;to use the things.  (I have no idea if the&lt;BR /&gt;"_xxx" values are remembered anywhere, or if&lt;BR /&gt;scrambling them would really be harmless.)&lt;BR /&gt;&lt;BR /&gt;If you don't expect to use them for a long&lt;BR /&gt;time, I believe that it's pretty safe to&lt;BR /&gt;Zip the contents.  As I recall, you can save&lt;BR /&gt;a lot of space that way.  The important thing&lt;BR /&gt;is to leave the directory there to keep the&lt;BR /&gt;numbers straight, so it's probably safer to&lt;BR /&gt;SET DEFAULT into each one and Zip&lt;BR /&gt;"[...]*.*;*", rather than to start in&lt;BR /&gt;SYS$SYSDEVICE:[000000] and Zip&lt;BR /&gt;"[PCSI_UNDO_xxx...]*.*;*" (and then throw&lt;BR /&gt;the whole directory away).  Then you can&lt;BR /&gt;DELETE SYS$SYSDEVICE:[PCSI_UNDO_*...]*.*;* /EXCLUDE = *.ZIP&lt;BR /&gt;&lt;BR /&gt;My warranty-free procedure looks like this:&lt;BR /&gt;&lt;BR /&gt;alp $ type sys$manager:ZIP_UNDO.COM&lt;BR /&gt;$!                                              5 February 2006.  SMS.&lt;BR /&gt;$!&lt;BR /&gt;$!    Zip-compress SYS$SYSDEVICE:[PCSI_UNDO_*] directories.&lt;BR /&gt;$!&lt;BR /&gt;$!    When satisfied, repeat until complete:&lt;BR /&gt;$!       DELETE SYS$SYSDEVICE:[PCSI_UNDO_*...]*.*;* /EXCLUDE = *.ZIP&lt;BR /&gt;$!&lt;BR /&gt;$ zip_temp_file_name = "ZI*."&lt;BR /&gt;$!&lt;BR /&gt;$! Save process state data.&lt;BR /&gt;$!&lt;BR /&gt;$ def_dev_dir_orig = f$environment( "DEFAULT")&lt;BR /&gt;$ proc_parse_orig = f$getjpi( "", "PARSE_STYLE_PERM")&lt;BR /&gt;$!&lt;BR /&gt;$ on error then goto clean_up&lt;BR /&gt;$ on control_y then goto clean_up&lt;BR /&gt;$!&lt;BR /&gt;$ set process /parse_style = extended&lt;BR /&gt;$!&lt;BR /&gt;$ set default sys$sysdevice:[000000]&lt;BR /&gt;$!&lt;BR /&gt;$ loop:&lt;BR /&gt;$ dir = f$search( "PCSI$UNDO_*.DIR;1", 1)&lt;BR /&gt;$ if (dir .nes. "")&lt;BR /&gt;$ then&lt;BR /&gt;$    name = f$parse( dir, , , "NAME", "SYNTAX_ONLY")&lt;BR /&gt;$    set default sys$sysdevice:['name']&lt;BR /&gt;$    write sys$output "   Directory: [''name']"&lt;BR /&gt;$!&lt;BR /&gt;$    temp_name = f$search( zip_temp_file_name)&lt;BR /&gt;$    if (temp_name .nes. "")&lt;BR /&gt;$    then&lt;BR /&gt;$       write sys$output "      --- Possible Zip temp file exists: ---"&lt;BR /&gt;$       loop_temp:&lt;BR /&gt;$          write sys$output "      ''temp_name'"&lt;BR /&gt;$          temp_name = f$search( zip_temp_file_name)&lt;BR /&gt;$       if (temp_name .nes. "") then goto loop_temp&lt;BR /&gt;$    endif&lt;BR /&gt;$!&lt;BR /&gt;$    if (f$search( "''name'.zip") .eqs. "")&lt;BR /&gt;$    then&lt;BR /&gt;$       zip -V -w -9 'name'.zip [...]*.*;*&lt;BR /&gt;$    else&lt;BR /&gt;$       write sys$output "      *** ""[''name']''name'.zip"" exists. ***"&lt;BR /&gt;$    endif&lt;BR /&gt;$!&lt;BR /&gt;$    goto loop&lt;BR /&gt;$ endif&lt;BR /&gt;$!&lt;BR /&gt;$! Restore process state data.&lt;BR /&gt;$!&lt;BR /&gt;$ clean_up:&lt;BR /&gt;$!&lt;BR /&gt;$ set default 'def_dev_dir_orig'&lt;BR /&gt;$ set process /parse_style = 'proc_parse_orig'&lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;Of course, if it's safe to wreck the&lt;BR /&gt;directory contents, it should be safe to move&lt;BR /&gt;them to another disk, but I would still leave&lt;BR /&gt;all the original directories in place, for&lt;BR /&gt;the reason given.&lt;BR /&gt;&lt;BR /&gt;And, yes, I know that there are more clever&lt;BR /&gt;ways to do the DELETE operation.</description>
      <pubDate>Tue, 11 Jul 2006 14:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990207#M77517</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-07-11T14:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990208#M77518</link>
      <description>Thanks for the tips on zipping/backingup the PCSI$UNDO files.&lt;BR /&gt;&lt;BR /&gt;I'd still like to know whether I can delete or move some of them.  If the "undo number" in the directory names means that 1 is most recent and 30 (in my case) is oldest, then I'd like to delete or move something like 15-30.</description>
      <pubDate>Tue, 11 Jul 2006 15:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990208#M77518</guid>
      <dc:creator>Dennis D Hagen</dc:creator>
      <dc:date>2006-07-11T15:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990209#M77519</link>
      <description>&lt;BR /&gt;You can use PCSI for clean up.&lt;BR /&gt;&lt;BR /&gt;$ PRODUCT DELETE RECOVERY_DATA&lt;BR /&gt;&lt;BR /&gt;Some options are &lt;BR /&gt;  /ALL&lt;BR /&gt;  /BEFORE&lt;BR /&gt;  /OLDEST=x&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://h71000.www7.hp.com/doc/732FINAL/6048/6048pro_004.html#startsubcommand_318" target="_blank"&gt;http://h71000.www7.hp.com/doc/732FINAL/6048/6048pro_004.html#startsubcommand_318&lt;/A&gt; for more information.  As a rule, I qualify batches in bundles and delete the old bundle recovery data before installing a new bundle.  Offically the target is once a quarter so there's time to nice any issues.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Tue, 11 Jul 2006 16:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990209#M77519</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2006-07-11T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990210#M77520</link>
      <description>If you make backup before new instalation you can delete PCSI$UNDO... before new instalation (PRODUCT DELETE RECOVERY_DATA). That directore are created when you install with parametr /save_recovery_data.</description>
      <pubDate>Wed, 12 Jul 2006 03:38:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990210#M77520</guid>
      <dc:creator>Jiri_5</dc:creator>
      <dc:date>2006-07-12T03:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990211#M77521</link>
      <description>You can use the &lt;BR /&gt;&lt;BR /&gt;$ PRODUCT SHOW RECOVERY_DATA&lt;BR /&gt;&lt;BR /&gt;To view these directories and to see what the product tool makes of them. Gives creation date, patch info. There are a few qualifiers available too.&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Wed, 12 Jul 2006 08:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990211#M77521</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-07-12T08:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990212#M77522</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;the PRODUCT UNDO PATCH feature is meant as a supported method for easily removing the most recently installed patch(es), if a problem has been detected (soon) after installing those patches. &lt;BR /&gt;&lt;BR /&gt;Before this feature became available, you would have to restore your system backup taken before the patch installation.&lt;BR /&gt;&lt;BR /&gt;You can only UNDO patches in the reverse order of installation, so keeping 30 recovery data sets stored on the system disk for an extended period of time may not make too much sense. You would have to UNDO all 30 patches, if you suspected a problem with the first patch installed.&lt;BR /&gt;&lt;BR /&gt;If you need to install a product .PCSI kit (with PRODUCT INSTALL), all recovery data sets would have to be deleted anyway.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 12 Jul 2006 12:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990212#M77522</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-07-12T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete the contents of old PCSI$UNDO directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990213#M77523</link>
      <description>Thanks to Andy Bustamonte for the definitive answer!</description>
      <pubDate>Wed, 12 Jul 2006 12:31:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-i-delete-the-contents-of-old-pcsi-undo-directories/m-p/4990213#M77523</guid>
      <dc:creator>Dennis D Hagen</dc:creator>
      <dc:date>2006-07-12T12:31:06Z</dc:date>
    </item>
  </channel>
</rss>

