CL Command Reference - MOVMEDBRM
CL Command List > MOVMEDBRM Reference
Description:
The Move Media using BRM (MOVMEDBRM) command moves media based on BRMS move policies. Media that is moved as a result of processing this command must meet not only the move policy requirements (for example, allowable move day) but also the criteria specified in the command for location, media class, system name and so on.
The MOVMEDBRM command can be a job in the system scheduler that can run automatically or you can submit the command manually.
The output produced when you run the MOVMEDBRM command is either the Volume Movement report written to printer file QP1AVMS or the moved media records written to the output file.
Note: If you have a network of systems using BRMS, it is only necessary to process the MOVMEDBRM command on one of the members of the network, although the process can be done an a system by system basis.
Note: The system in the network that is running the movement for all of the other systems in the network should be physically attached to all media libraries that support the network operations. If this is not the case, you may have to run MOVMEDBRM again, specifying the appropriate move policy for the logically attached media library device.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Restriction:
. When using special value *OUTFILE for the Output (OUTPUT) parameter, refer to section General Rules for Object Authorities on Commands in Appendix D of the iSeries Security Reference book for the authorities required for the output file and output file library.
Examples:
Example 1: Selecting All Volumes to Move for Location *HOME
MOVMEDBRM LOC(*HOME)
This command selects all volumes for all move policies that are located at the location *HOME for media movement. A summary of the movement activity is printed as file QP1AVMS.
Example 2: Selecting All Volumes to Move for Location *HOME
MOVMEDBRM LOC(*HOME) OUTPUT(*OUTFILE) OUTFILE(MYLIB/MOVEMENT)
This command selects all volumes for all move policies that are located at the location *HOME for media movement. A summary of the movement activity is placed in the first member in data base file MOVEMENT in library MYLIB.