Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Print Media Movement (PRTMOVBRM) command prints the Media Movement report based on a specified date range, type of move that you request, locations and so on. The report shows all the volumes that have moved (or in the case of *NEXT, which volumes will move to a new location), the from and to locations, the move policy for each volume and the move date. The report, if printed, is written to printer file QP1APVMS.
The Media Movement report can be used to report volumes that have already moved or can be used to report the next scheduled media movement for a volume. Reporting of next scheduled move is performed by selecting the *NEXT variable for the Type parameter.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SLTDATE | Select dates | Element list | Optional |
Element 1: From date | Character value, *BEGIN, *CURRENT | ||
Element 2: To date | Character value, *CURRENT, *END | ||
TYPE | Type | *ALL, *NEXT, *NOTVFY, *VFY | Optional |
LOC | From location | Name, *ALL, *HOME | Optional |
Top |
Specifies a range of dates that you want to use when printing the Media Movement report. The From date is the beginning of a date range of media movement and the To date is the end of the date range.
Note: Using this parameter, it is possible to enter a date with no separator, or a number of days which can be up to 5 digits in length. For instance, if you are using month/day/year format, the number 12904 would be formatted as January 29, 2004. If on the other hand, you entered a number 13904, BRMS assume that this is not a date, but rather is a number. BRMS always tries to calculate a calendar date first when a number is entered and then if the date it calculates is not valid, assumes that it is a number of days. If the number that is entered is over 5 digits and the date that it calculates is not valid, you receive an error message.
Element 1: From date
Note: If you specify *NEXT in the Type (TYPE) parameter, the number of days after the current date is used to determine the startingdate of the date range.
Element 2: To date
Note: If you specify *NEXT in the Type (TYPE) parameter, the number of days after the current date is used to determine the ending date of the date range.
Top |
Specifies the type of media movement activity that you want to include in the report.
Top |
Specifies whether you want the Media Movement report to include a single location or all locations.
Top |
Example 1: Printing the Media Movement Report
PRTMOVBRM TYPE(*VFY) LOC(*HOME)
This command prints a report that includes media entries that have been verified (*VFY) and that are moving from the home location (*HOME).
Top |
*ESCAPE Messages
Top |