*Conan The Librarian
1.$ PURGE The PURGE command in this example deletes all but the highest numbered version of all files in the default directory. 2.$ PURGE *.COM The PURGE command in this example deletes all but the highest numbered version of each file with a file type of .COM. 3.$ PURGE/KEEP=3 [WILDER.JOB308]ACCOUNT.COB The PURGE command in this example deletes all but the three highest numbered versions of the file ACCOUNT.COB in the subdirectory [WILDER.JOB308]. 4.$ PURGE/ERASE/SINCE=YESTERDAY [.MEMOS] The PURGE command in this example purges all files in the MEMOS subdirectory that have been created or modified since yesterday and erases the storage locations so that the purged data no longer exists. 5.$ PURGE [BROD.TESTFILES]/LOG %PURGE-I-FILPURG, DISK1:[BROD.TESTFILES]AVE.OBJ;1 deleted (3 blocks) %PURGE-I-FILPURG, DISK1:[BROD.TESTFILES]BACK.OBJ;2 deleted (5 blocks) %PURGE-I-TOTAL, 2 files deleted (8 blocks) The PURGE command in this example purges all files cataloged in the subdirectory named [BROD.TESTFILES]. The /LOG qualifier requests the PURGE command to display the specification of each file it has deleted as well as the total number of files that have been deleted. 6.$ PURGE/GRAND_TOTAL STATUS.TXT %PURGE-I-TOTAL, 6 files deleted (600KB) The output display in this example shows that 6 files were deleted for a total of 600KB. The process is currently set to display file sizes in bytes. To change future displays to show blocks, use the SET PROCESS/UNITS=BLOCKS command. 7.$ PURGE/KEEP=2 TAMPA::DISK1:[EXAMPLE]*.LIS The PURGE command in this example deletes all but the two highest numbered versions of each file with the file type .LIS in the directory EXAMPLE on remote node TAMPA.