SYSTEM:  Checking file use before deleting.


Here are a few thoughts as you clean up your system:

  1.  See if the files are in use by any processes/users:
    1. $ PIPE SHOW DEVICE/FILES DKC0 | SEARCHIT SYS$INPUT “CADI_SERVER_OLD”
    2. This will show any files open that are include “CADI_SERVER_OLD” in the file name or directory structure.
    3. This command should be done on each device/disk drive.

                                                               i.      The “PIPE” command sends two commands to the processor successively.  After the first is executed “SHOW DEVICE…” then the second is executed “SEARCHIT SYS…”.  The character between the two commands is the vertical bar |

                                                             ii.      For more info on PIPE, SEARCHIT  or SHOW, check out the VMS HELP library: $ HELP

  1. Back up the files before deleting:
    1. $ BACKUP/LOG DKC0:[CADI_SERVER_OLD…]*.*; BACKUP1.BCK/SAVE
    2. This way, you can delete the directory structure and still have a quick and easy way to get it back in case you need to without going to a backup tape.
    3. If you haven’t experienced any “crashing” modules or major problems after a few days and a system restart, then you can safely delete the backup save sets (but I would make sure that they are still on a tape just to be safe)