CL Command Reference - ADDMLMBRM
CL Command List > ADDMLMBRM Reference
Description:
The Add Media Library Media to BRM (ADDMLMBRM) command allows you to add volumes to a media library (MLB). The command adds the specified media volumes to a usable category and optionally enrolls them to BRMS. If the Add volume to BRM (ADDVOL) parameter is *YES, you can specify a media class for the volume or volumes that you are adding. If the Add volume to BRM (ADDVOL) parameter and the Initialize tape (INZ) parameter are both *YES, you are supplied with additional parameters such as move policy and initialization information.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Examples:
Example 1: Adding a Volume to a Media Library
ADDMLMBRM MLB(MLB01) VOL(T00001)
INZ(*NO) ADDVOL(*NO)
This command adds volume T00001 to the media library MLB01, but the volume is not initialized. Volume T00001 must be a member of the BRMS media inventory.
Example 2: Adding and Initializing a Volume to BRMS
ADDMLMBRM MLB(MLB01) VOL(*INSERT)
INZ(*YES) MEDCLS(CART3490E)
This command adds all volumes that are in the *INSERT category to the media library MLB01, and adds the volumes to the BRMS media inventory as media of class CART3490E. The volumes are initialized with the density specified in media class CART3490E.