SAVLIBBRM (Save Library using BRM)
Note: To use this command, have the 5722-BR1 (Backup Recovery and Media Services for iSeries) licensed program installed. For detailed information on the parameters of this command, see the online help.
SAVLIBBRM Command syntax diagram
Purpose
The Save Library using BRM (SAVLIBBRM) command saves a copy of one or more libraries.
This command saves the entire library, including the library description, the object descriptions, and the contents of the objects in the library. For job queues, message queues, output queues, and logical files, only the object definitions are saved, not the contents.
Restrictions
- You must have authority to the SAVLIB or SAVCHGOBJ commands to use this command.
>- You must have *USE authority to any auxiliary storage pool device specified for the ASPDEV parameter.
- When saving to a save file, only one library can be specified.
- No library (or object in the library) being saved can be updated by a job that is running at the same time the save operation occurs unless save-while-active is used.
- This command should not be used by control group *EXIT item processing as results will be unpredictable.
Note: Do not precede an entry with an asterisk unless that entry is a "special value" that is shown (on the display itself or in the help information) with an asterisk.
Examples for SAVLIBBRM
Example 1: Saving a Library on a tape device
SAVLIBBRM LIB(MBALIB) DEV(TAP01) MEDPCY(FULL)In this example a library called MBALIB is saved to device TAP01 using the media policy FULL.
Example 2: Saving a Generic Library on Multiple Devices
SAVLIBBRM LIB(MBA*) DEV(TAP01 TAP02) MEDPCY(FULL)In this example all libraries are saved that begin with the characters MBA to devices TAP01 and TAP02 using the media policy FULL.
Error messages for SAVLIBBRM