Interpreting output from save (SAV) and restore (RST)
When you use the Save (SAV) command or the Restore (RST) command, you can direct output to a stream file or to a user space.
If data already exists in the stream file or user space that you specify, the command writes over that data. It does not append the new data to any existing data.
To specify a stream file, have *W authority to the stream file and *R authority to the directory for the stream file.
To specify a user space, have *CHANGE authority to the user space and *USE authority to the library. The server needs an *EXCLRD lock on the user space.
- Entry header information
When a Save (SAV) command or the Restore (RST) command is run, the output can be directed to a stream file or user area.- Command information entries
This table describes the format of the command output for the SAV and RST commands.- Directory information entries
This table describes the format of the directory entry output for the SAV and RST commands.- Object link information entries
Object link information entries are output in the format described in the table below. The Entry type value in the entry header determines if the entry associated with the header is a object link information entry.- Trailer information entry
The trailer information entry is output in the format described in this topic. The Entry type value in the entry header determines if the entry associated with the header is a trailer information entry. The trailer information entry is the last entry in the output created by save (SAV) or restore (RST) commands.- Output sequence
This table shows the sequence of entries in the output when you specify INFTYPE(*ALL) or INFTYPE(*ERR)- Field descriptions
This information describes possible values for the save (SAV) and restore (RST) output fields.
Parent topic:
Backup programming techniquesRelated concepts
Using the Save (SAV) commandRelated reference
Determining objects that the system saved (save messages)