Saving multiple objects with the SAVOBJ command
The parameters of the SAVOBJ command can be used to specify multiple objects in many ways. This information describes some of the most useful parameters.
Parameter Description Object (OBJ) Can be *ALL, a generic name, or a list of as many as 300 specific names and generic names. Object type (OBJTYPE) Can be *ALL or a list of types. For example, you can save all job descriptions and subsystem descriptions by specifying OBJ(*ALL) and OBJTYPE(*JOBD *SBSD). Library (LIB) Can be a single library or a list of as many as 300 library names. You may specify generic values for this parameter.1 Omit object (OMITOBJ) Allows you to specify up to 300 objects to exclude from the SAVOBJ command. You may specify generic values for this parameter. If you use generic values, or supply a specific object type, you can actually omit more than 300 objects.1 Omit library (OMITLIB) Allows you to exclude from 1 to 300 libraries. You may specify generic values for this parameter.1 1 Use the Command user space (CMDUSRSPC) parameter on the save commands to specify up to 32767 names for the parameters.
When you save from more than one library, you can specify one or more object types, but specify OBJ(*ALL) for the object name. Libraries are processed in the order that is specified in the library (LIB) parameter.
Parent topic:
Saving objects with the SAVOBJ command