PF Command - Purge File

Use the PF command to purge files in the ESF system, and releases spool space, control blocks, and so on.
spool
Use the PF command to purge files in the ESF system, and releases spool space, control blocks, and so on.
This command has the following format:
PF{file_sequence_number | seq1-seq2 | ALL [,O= | ,D=]}
  • file_sequence_number
    Defines the sequence number of the requested file to be purged.
  • seq1-seq2
    Defines the sequence range of the files to be purged.
    Note:
    seq1
    and
    seq2
    are the specified file sequence range, where,
    seq1
    must not be greater than
    seq2
    .
  • ALL
    Defines all files in a specified file range to be purged. This keyword requires specification of the D= or O= parameters also.
    If the O= parameter is specified only files in the specified file range matching the specified file name is purged.
    If the D= parameter is specified only files in the specified file range matching the specified file destination name is purged.
Example
This example purges file with sequence number 354.
PF354
This example purges all files in the range from 4 to 720.
PF4-720
This example purges all files with destination OLDPRT01.
PFALL,D=OLDPRT01
This example purges all files with a filename starting with SYS.
PFALL,O=SYS*****