When you use the SAV command to save objects from more than one
file system at the same time, the following restrictions apply:
Different file systems support different types of objects and different
methods of naming objects. Therefore, when you save objects from more than
one file system with the same command, you cannot specify object names or
object types. You can save all objects from all file systems, or you can omit
some file systems. These combinations are valid:
Saving all objects on the server: OBJ('/*')
Note: Using
this command is not the same as using option 21 from the GO SAVE command menu.
Following are the differences between SAV OBJ('/*') and option 21:
SAV OBJ('/*') does not put the server in a restricted state.
SAV OBJ('/*') does not start the controlling subsystem when it finishes.
SAV OBJ('/*') does not provide prompting to change default options.
Saving all objects in all file systems except the QSYS.LIB file system
and the QDLS file system: OBJ(('/*') ('/QSYS.LIB' *OMIT) ('/QDLS'
*OMIT))
Saving all objects in all files systems except the QSYS.LIB file system,
the QDLS file system, and one or more other file systems: OBJ(('/*')
('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT) ('/other values'
*OMIT))
Values for other parameters of the SAV command are supported only for
some file systems. You must choose values that are supported by all file
systems. Specify the following parameters and values:
CHGPERIOD
Default
PRECHK
*NO
UPDHST
*YES
LABEL
*GEN
SAVACT
*NO
OUTPUT
*NONE
SUBTREE
*ALL
SYSTEM
*LCL
DEV
Must be a tape device or an optical device
The SAV OBJ('/*') command parameters require the following:
The server must be in a restricted state.
You must have *SAVSYS or *ALLOBJ special authority.
You must specify VOL(*MOUNTED).
You must specify SEQNBR(*END).
Note: SAV OBJ('/*') is not the recommended method
for saving the entire server. Use menu option 21 of the GO SAVE command to
save the entire server.