Before a media library can be used, you must add media to the library and enroll the volumes into BRMS. If the media library is empty, insert all available media into the empty cells rather than add only a small number at a time through the convenience I/O station. After you insert the media, the media library checks each cell and records the volume ID of each media cartridge (volume). This information is kept in the media library manager database for the 3494 and in i5/OS for the other media library devices. From the System i platform, you can view this information by using the Work with Media Library BRM (WRKMLBBRM) command. This command lists all media library devices on your system that are enrolled in BRMS. If you select option 8 (Work with MLB Media), the status of the volumes that are currently in the media library are displayed as shown below. To go to this display, you can also type the WRKMLMBRM command on the command line. When setting up a media library for the first time, the Media Class is *NONE because the volume is not enrolled in BRMS.
Work with Media Library Media RCHAS400 Media library . . . . . . : TAPMLB01 Position to . . . . . . . . Starting characters Type options, press Enter. 1=Add MLB media 2=Work with media 5=Initialize 6=Change category 7=Eject 8=Mount 9=Demount Media ---BRM Information--- Opt Volume Type Category Media Class Expired Status 000BE6 G *SHARE400 FMT3570E Mounted 000B84 H *SHARE400 FMT3570E *YES Mounted 000CB7 H *SHARE400 FMT3570E *YES Available 000C3C G *SHARE400 FMT3570E Available 000C90 H *SHARE400 FMT3570E *YES Available 000DB9 G *SHARE400 FMT3570E *YES Available 000D28 G *NOSHARE *NONE Available 000D63 G *SHARE400 FMT3570E *YES Available More... F3=Exit F5=Refresh F9=System command F12=Cancel F13=Repeat
Other options from this display such as mount, unmount, and eject can be used to manipulate the volumes within a media library. BRMS communicates changes in its media inventory to be reflected in the media library media inventory. For example, when you change the shared media attribute of a media class, BRMS runs the CHGTAPCTG command to change the category of all volumes of that media class in the media library.