DSPSAVF (Display Save File)
DSPSAVF Command syntax diagram
Purpose
The Display Save File (DSPSAVF) command displays the save information in a save file. This information includes a description of each object saved to the save file and summary information.
The information can be written to a printer or shown on a display device.
Restriction: The user of this command must have use authority for the save file and read authority for the specified library.
Required Parameters
- FILE
- Specifies the qualified name of the save file to be shown on the display.
The name of the save file can be qualified by one of the following library values:
*LIBL: All libraries in the job's library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name: Specify the name of the library to be searched.
file-name: Specify the name of the file.
Optional Parameters
- OUTPUT
- Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The output is printed with the job's spooled output.
Example for DSPSAVF
DSPSAVF FILE(ONLINE) OUTPUT(*PRINT)This command shows the objects saved to save file ONLINE. The output is printed with the job's spooled output.
Error messages for DSPSAVF
*ESCAPE Messages
- CPD375A
- Media error on save media.
- CPF3704
- Request ended; data management error occurred.
- CPF3743
- File cannot be restored, displayed, or listed.
- CPF3782
- File &1 in &2 not a save file.
- CPF3782
- File &1 in &2 not a save file.
- CPF3792
- Information not displayed. Error occurred.
- CPF3793
- Machine storage limit reached.
- CPF3812
- Save file &1 in &2 in use.
- CPF9806
- Cannot perform function for object &2 in library &3.
- CPF9809
- Library &1 cannot be accessed.
- CPF9812
- File &1 in library &2 not found.
- CPF9820
- Not authorized to use library &1.
- CPF9822
- Not authorized to file &1 in library &2.
- CPF9850
- Override of printer file &1 not allowed.
- CPF9851
- Overflow value for file &1 in &2 too small.