PURGE

Purging non-private spool ￿les

You can purge a non-private spool ￿le by entering PURGE ￿lename . You must specify the fully quali￿ed ￿le name (including .OUT.HPSPOOL ). The PURGE command deletes the speci￿ed spool ￿le and all links to the spool ￿le directory. The spool ￿le does not prin t after you purge it.

Purging ￿les with wildcards

You can use wildcards to remo ve multiple ￿les at once. You can also use the options provides to prev ent accidental deletion of one or more ￿les. Examples of the wildcard feature are listed in the Examples section belo w:

Examples

To delete a permanen t ￿le named PFILE, enter:

:PURGE PFILE

To purge multiple ￿les using wildcards

:PURGE /users/jeff/bin/FILES/file@ 3 FILES matched

Continue PURGE? (YES/NO) yes

3 selected. 3 succeeded. 0 failed.

To purge multiple ￿les interactively using wildcards

To purge a number of ￿les, one at a time, in an in teractive mode so that y ou can skip a ￿le or stop y our purge, you can use the CONFIRMALL option.

:PURGE /users/jeff/bin/FILES/file@; CONFIRMALL 3 FILES matched /users/jeff/bin/FILES/file1 ? (NO/YES/QUIT) yes /users/jeff/bin/FILES/file2 ? (NO/YES/QUIT) no /users/jeff/bin/FILES/file3 ? (NO/YES/QUIT) yes 2 selected. 2 succeeded. 0 failed.

Type \q",\quit", or press the 4BREAK5 key if you decide to stop the PURGE command completely .

2-182 MPE/iX Commands