Definition provided courtesy of the iSeries Information Center
The Save Object (SAVOBJ) command saves a copy of a single object or a group of objects located in the same library. When OBJ(*ALL) is specified, objects can be saved from up to 300 libraries. When saving to a save file, only one library can be specified. The types of objects that can be saved by this command are listed in the OBJTYPE parameter. The system saves the specified objects by writing a copy of each one on diskettes, tapes, optical volumes or in a save file. Objects in the system are not affected unless the command specifies that the storage should be freed. However, the description of each object is changed with the date, time, and place when it was last saved unless UPDHST(*NO) is specified.
For job queues, output queues, data queues, message queues, and logical files, only the object descriptions are saved, and the contents of the objects are not saved. However, logical file access paths can be saved by the use of the ACCPTH parameter. The contents of a save file can be saved by use of the Save Save File Data (SAVSAVFDTA) command or by specifying the SAVFDTA parameter on this command.
Note: This command ignores all file overrides currently in effect for the job, except for the output file.
Tips that involve the SAVOBJ command:
- Simplifying individual object restores
- The secret to saving only source files
- Provide a report for user to verify backups