File Utility Programming (FUP) Reference Manual
FUP Commands
File Utility Program (FUP) Reference Manual—523323-015
2-150
PURGE Examples
In the LISTALL mode, PURGE lists each file name immediately after deleting it. If
you press the BREAK key while FUP is running, the PURGE command terminates
and does not delete any remaining files in fileset-list.
PURGE command operates on key-sequenced file with increased limits.
PURGE Examples
To purge the file WKLYRPRT in the current default subvolume without prompting
for permission:
-PURGE WKLYRPRT !
$MYVOL.RECDS.WKLYRPRT PURGED.
1 FILE PURGED
To purge an entire file set without prompting for permission by including the !
option:
To purge an entire file set without being prompted (and without getting a list of the
files purged), include the ! and NO LISTALL options:
To purge all files other than EDIT files that start with the letter M or later:
-PURGE $VOL1.SVOL.*FILE !
$VOL1.SVOL.MYFILE PURGED.
$VOL1.SVOL.NEWFILE PURGED.
$VOL1.SVOL.OLDFILE PURGED.
3 FILES PURGED
-
-PURGE ($VOL1.SVOL.*), NO LISTALL !
3 FILES PURGED
-
PURGE * WHERE NOT FILECODE=101 START M