Where allowed to run: All environments (*ALL) Threadsafe: Conditional |
Parameters Examples Error messages |
The Clear Physical File Member (CLRPFM) command removes all the data (including deleted records) from the specified member of a physical file. If *NO was specified for the Allocate storage (ALLOCATE) parameter when the file was created, the record count for the member is set to zero, and the member size is set to the minimum size possible. If *YES was specified for the ALLOCATE parameter when the file was created, the CLRPFM command resets the member size to the value used when the file was initially created is reset.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | Physical file | Qualified object name | Required, Positional 1 |
Qualifier 1: Physical file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
MBR | Member | Name, *FIRST, *LAST, *ALL | Optional, Positional 2 |
Top |
Specifies the physical file that contains the member to be cleared.
This is a required parameter.
Qualifier 1: Physical file
Qualifier 2: Library
Top |
Specifies the name of the member to be cleared.
Top |
CLRPFM FILE(*CURLIB/INV) MBR(FEB)
This command clears the member named FEB in the physical file INV, found in the current library for the job *CURLIB. It is not cleared until all jobs currently using the member and all jobs using the access paths over the member are done with it.
Top |
*ESCAPE Messages
Top |