CL Command Reference - CPYMEDIBRM

CL Command List > CPYMEDIBRM Reference

Description:

This command is typically used when you are bringing a system into a network of systems that share BRMS media inventory information. The Copy Media Information using BRM (CPYMEDIBRM) command copies media inventory information to a work file, or copies the contents of the work file to the media inventory.

Using the CPYMEDIBRM command prior to adding the system name to a BRMS network allows you to save the contents of the current media inventory into the work file. After network synchronization is complete, you can use CPYMEDIBRM with OPTION (*FROMFILE) on the newly added system to copy the original media inventory information back into the media inventory. Information that is inconsistent with the system¡¯s new network level media inventory information will be reported but unresolved when OPTION(*FROMFILE) is used.

The Media Merge report is produced when the CPYMEDIBRM command is processed. The report will indicate differences that have been diagnosed. The report, if printed, is written to printer file QP1AEN.

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

Restriction:

. The BRMS Network feature (Option 1) is required to use this command.


Examples:

Example 1: Copying BRMS Media Information To a File

CPYMEDIBRM FILE(WORKFILE)

This command copies BRMS media information to a file called WORKFILE.



Example 2: Copying BRMS Media Information From a File

CPYMEDIBRM OPTION(*FROMFILE) FILE(WORKFILE)

This command copies BRMS media information from a file called WORKFILE to the network media inventory.