OMITLIB parameter and OMITOBJ parameter for the SAVLIB command

 

This information explains two parameters for the SAVLIB command.

 

OMITLIB parameter for the SAVLIB command:

You can exclude one or more libraries by using the OMITLIB parameter. The system does not save libraries that you exclude. You may specify generic values for the OMITLIB parameter.

Here is an example of omitting a group of libraries from a SAVLIB operation:

SAVLIB LIB(*ALLUSR) OMITLIB(TEMP*)

An example of using the OMITLIB parameter along with generic library naming appears as: SAVLIB LIB(T*) OMITLIB(TEMP). The system saves all libraries that begin with the letter 'T' except for the library that is named TEMP.

You can also use the OMITLIB parameter with generic naming while performing concurrent save operations to different media devices:

SAVLIB LIB(*ALLUSR) DEV(first-media-device) OMITLIB(A* B* $* #* @*...L*)
SAVLIB LIB(*ALLUSR) DEV(second-media-device) OMITLIB(M* N* ...Z*)

 

Parent topic:

Saving libraries with the SAVLIB command