Saving across different types of file systems
This information describes restrictions that apply when you use the SAV command to save objects from more than one file system at the same time.
- 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 system: OBJ('/*')
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 system 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 system must be in a restricted state.
- You must have *SAVSYS or *ALLOBJ special authority.
- You must specify VOL(*MOUNTED).
- You must specify SEQNBR(*END).
SAV OBJ('/*') is not the recommended method for saving the entire system. Use menu option 21 of the GO SAVE command to save the entire system.
Parent topic:
Saving file systems