Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MOVPCY | Move policy | Name, *ALL | Optional |
LOC | From location | Name, *ALL, *HOME | Optional |
CNR | Container | Name, *ALL | Optional |
MEDCLS | Media class | Name, *ALL | Optional |
SYSNAME | System name | Character value, *ALL, *LCL | Optional |
FILEGRP | File group | Name, *ALL, *NONE, *ARCGRP, *BKUGRP, *SYSGRP, *SYSTEM | Optional |
GRPTYPE | File group type | Name, *ALL, *ARC, *BKU, *NONE | Optional |
OUTPUT | Output | *PRINT, *OUTFILE | Optional |
OUTFILE | File to receive output | Qualified object name | Optional |
Qualifier 1: File to receive output | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTMBR | Output member options | Element list | Optional |
Element 1: Member to receive output | Name, *FIRST | ||
Element 2: Replace or add records | *REPLACE, *ADD |
Top |
Specifies the user-defined name of a move policy that you want to use to select volumes.
Top |
Specifies the location of the media that you want to use when selecting volumes to be moved.
Top |
Specifies the container that you want to select for media movement. You can specify a container or all containers.
Top |
Specifies the media class that you want to select for media movement. You can select a specific media class or all media classes.
Top |
Specifies the system name whose media inventory you want to consider for media movement.
Note: The BRMS Network feature (Option 1) is required to use this value.
Note: The BRMS Network feature (Option 1) is required to use this value.
Top |
Specifies the file group that you want to use when selecting volumes that you want to move.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Top |
Specifies the type of file group that you want to select for movement.
Note: *ARC is not a special value, but rather indicates that this is an archive file group type.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Note: *BKU is not a special value, but rather indicates that this is a backup file group type.
Top |
Specifies whether the output is to be printed with the job's spooled output or directed to a database file.
Top |
Specifies the qualified name of the database file receiving the output when *OUTFILE is specified on the Output (OUTPUT) parameter. If the file does not exist, this command creates a database file in the specified library. New files are created using database file QO1AVMS in library QBRM with the format name QBRMMOVMED as the model.
Qualifier 1: File to receive output
Qualifier 2: Library
Top |
Specifies the name of the database file member receiving the output of the command when *OUTFILE is specified for the Output (OUTPUT) parameter.
Element 1: Member to receive output
If the member exists, the user can add records to the end of the existing member or clear the existing member and add the records.
Element 2: Replace or add records
Top |
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.
Top |
*ESCAPE Messages
Top |