Work with Media Library Media (WRKMLMBRM)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Media Library Media using BRM (WRKMLMBRM) command works with all media or specific media in a media library device that you specify. Various parameters can be used to tailor this display or report. The report that is produced is the Media Library Media report. The report, if printed, is written to the printer file QP1A1MD.

To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.

Top

Parameters

Keyword Description Choices Notes
MLB Media library Name Required, Positional 1
VOL Volume Character value, *ALL Optional
CGY Category Name, *ALL, *EJECT, *INSERT, *IPL, *NL, *NOSHARE, *SHARE400 Optional
BRMVOL BRM volume *ANY, *NO, *YES Optional
MEDCLS Media class Name, *ALL Optional
OUTPUT Output *, *PRINT Optional
Top

Media library (MLB)

Use this parameter to specify the media library (MLB) that you want to display or print.

This is a required field.

Top

Volume (VOL)

Specifies all media, a generic media volume or the specific media volume that you want to display or print.

*ALL
Include all media for the selected media library in the display or report.
generic*-media-volume
Specify the generic name of a volume. A generic name is a character string of one or more characters followed by an asterisk (*); for example ABC*. The asterisk (*) substitutes for any valid characters. A generic name specifies all volumes with names that begin with the generic prefix, for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete volume name.
media-volume
Specify the media volume for the selected media library device that you want to include in the display or report.
Top

Category (CGY)

Specifies which media by category from the selected media library (MLB) to include in the display or print.

*ALL
All media in the MLB is to be included in the display or report.

Note: If you have defined your own media categories, they will not be included when you specify CGY(*ALL).

*CNV
Only convenience station media in the selected MLB is included in the display or report.
*EJECT
Only media in the eject mode in the selected MLB is included in the display or report.
*INSERT
Only media already in the MLB which does not have a category such as *SHARE400 or *NOSHARE and which are otherwise not assigned to a system is to be included in the display or report.
*IPL
Only alternate IPL media in the selected MLB is included in the display or report.
*NL
Only non-labeled media in the selected MLB is included in the display or report.
*NOSHARE
Only private media already added to the MLB are to be included in the display or report. Private media are those which are only able to be used by this system.
*SHARE400
Only share media already added to the MLB are to be included in the display or report.
category-name
Specify the user defined media category name.
Top

BRM volume (BRMVOL)

Specifies whether you want to include only BRMS media, non-BRMS media or any media in the display or report.

*ANY
Any media, whether registered in BRMS or not, is included in the display or report.
*NO
Only non-BRMS media is included in the display or report.
*YES
Only media registered in BRMS is included in the display or report.
Top

Media class (MEDCLS)

Specifies the media class that you want to select for the specified media library. You can select a specific media class or all media classes.

*ALL
Select all media regardless of the media class.
media-class-name
Specify the name of the media class that you want to use with the specified media library.
Top

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed (if requested by an interactive job) or printed (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Examples

WRKMLMBRM MLB(MLB01) BRMVOL(*YES)

This command displays the Work with Media Library Media panel, where BRMS media that is used by MLB01 is shown.

Top

Error messages

*ESCAPE Messages

BRM1232
Media class &1 not found.
BRM1917
Feature not installed.
BRM1921
Feature not licensed.
BRM40A2
BRMS product initialization required.
Top