CL Command Reference - ADDMEDIBRM
CL Command List > ADDMEDIBRM Reference
Description:
The Add Media Information to BRM (ADDMEDIBRM) command adds file level detail to the BRMS media inventory content volume information.
The files, and the volumes that contain them can be from another tape inventory or from some other outside source.
The purpose of the command is to allow user applications or another volume management system to insert data (volume file descriptions) into the BRMS media contents information so that the volumes and their contents can be managed.
Multiple volumes will write a media information record for each volume with the volume sequence being increased as the records are added.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Restrictions:
1. You can only add media content information to an expired volume.
2. This command adds records to the BRMS media content information file based on the information you supply, particularly in regard to file sequence, volume and so on. It is critical that you are careful to apply the correct information and have a full understanding of the command before you use it.
3. The volume for which you are adding content information must exist in the media inventory and the volume, file sequence and volume sequence must be unique in the BRMS media inventory contents information.
4. You can specify only one virtual tape device for the Device (DEV) parameter.
Examples:
Example 1: Adding Contents to a Volume
ADDMEDIBRM TYPE(*ALLDLO) VOL(T00001)
SEQNBR(1) VOLSEQ(1)
This command adds an entry in the media inventory content information for volume T00001. The volume¡¯s contents are updated to show that a save of the document library resides as file sequence number 1 on the first volume.