| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Clear Save File (CLRSAVF) command clears the contents of a save file. This command clears all existing records from the save file and reduces the amount of storage used by this file.
A save file must be cleared before it can be used again to receive data from a save command or to receive another save file. If the user attempts to write new save data into a save file that already contains records, an inquiry message is sent to the work station for an interactive job, or to the system operator for a batch job, unless a save command is used and CLEAR(*ALL) is specified.
Note: This command ignores all file overrides that are currently in effect for the job.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FILE | Save file | Qualified object name | Required, Positional 1 |
| Qualifier 1: Save file | Name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB |
| Top |
Specifies the save file to be cleared.
This is a required parameter.
Qualifier 1: Save file
Qualifier 2: Library
| Top |
CLRSAVF FILE(ONLINE)
This command clears the contents of save file ONLINE. Any existing records in the file are removed, and the file size is reduced to the minimum size possible.
| Top |
*ESCAPE Messages
| Top |