SYSTEM: Checking file use before deleting.
Here are a few thoughts as you clean up your system:
-
See if
the files are in use by any processes/users:
-
$
PIPE SHOW DEVICE/FILES DKC0 | SEARCHIT SYS$INPUT “CADI_SERVER_OLD”
-
This
will show any files open that are include “CADI_SERVER_OLD” in the
file name or directory structure.
-
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
-
Back up
the files before deleting:
-
$
BACKUP/LOG DKC0:[CADI_SERVER_OLD…]*.*; BACKUP1.BCK/SAVE
-
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.
-
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)