CL Command Reference - SAVSAVFDTA
CL Command List > SAVSAVFDTA Reference
Description:
The Save Save File Data (SAVSAVFDTA) command saves the contents of a save file to tape or optical media. This command saves the save data in the save file to the device in a way that allows you to restore objects directly from the device.
A save file containing data created by the Save Licensed Program (SAVLICPGM) command cannot be saved by this command.
The information written on media by this command is similar to the data that was previously written to the save file by the save command that originally created the save file data. This includes the object descriptions, and object contents that existed when the original save operation was done.
This command uses only the save file and device description objects; it does not refer to or modify the description or contents of the objects included in the file save data. Thus, objects included in the save file are not locked during the running of this command, and the save history information (date, place, and time when each object was last saved) is not updated by this command for each object in the save file.
The description of the save file is not included in the save operation (unless it was included with the objects that were saved to create the save data in the file). In addition, this command does not update the save history information for the save file object, so the last save operation date, time, and place always identify the last save operation of the save file object description, not its contents.
Note: This command ignores all file overrides currently in effect for the job, except for the output file.
Restrictions:
. You must have use (*USE) authority for the save file and *USE authority for the tape or optical device description.
. If a tape is used, it must have a standard label.
. The save file cannot be in use by a job running at the time the save operation occurs.
Examples:
SAVSAVFDTA SAVF(ONLINE) DEV(TAP01) SEQNBR(1) CLEAR(*ALL)
This command saves the contents of save file ONLINE to the first file on the tape volume on device TAP01. Files that have not ended on either the first tape volume or on subsequent volumes are overwritten without an inquiry message because CLEAR(*ALL) is specified.