ADDMEDBRM (Add Media to 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.
ADDMEDBRM Command syntax diagram
Purpose
The Add Media to BRM (ADDMEDBRM) command adds a volume to the BRMS media inventory. The volume can be a volume from another tape inventory that contains active data, a volume from some other outside source, or a new volume that you want to initialize. Once added, BRMS tracks the volume's characteristics, location, use and content.
When you add the volume, specify the media class of the volume. You can also specify how you want the volume to move, where the volume is located, its container (if any) and other miscellaneous attributes.
If the numbering scheme of the volumes that you are adding is consecutive, the ADDMEDBRM command will automatically add the volumes without having to add the volumes one at a time.
Note: OS/400 uses certain volume identifiers for special purposes. You should avoid using these volume identifiers in your volume labeling. Volume identifiers that avoid are:
- TAPxxx
- NLTxxx
- BLKxxx
- CLNxxx
- ERRxxx
- SLTxxx
- IMPxxx
Examples for ADDMEDBRM
Example 1: Adding a Volume to BRMS
ADDMEDBRM VOL(T00001) MEDCLS(QIC1000)This command adds volumes to the BRMS media inventory. In this example, volume T00001 is assigned a media class of QIC1000 and is added to the BRMS media inventory. The volume is not initialized and is added as expired.
Example 2: Adding and Initializing a Volume to BRMS
ADDMEDBRM VOL(T00002) MEDCLS(QIC1000) INZ(*YES) DEV(TAP01)This command adds the volume T00002 to the BRMS media inventory with a media class of QIC1000. The volume is initialized using device TAP01.
Error messages for ADDMEDBRM