Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Start Maintenance for BRM (STRMNTBRM) command performs various BRMS maintenance and clean-up functions. The STRMNTBRM command can be scheduled to process periodically either by manual submission or inclusion in an automatic job scheduler.
The STRMNTBRM command processes several other commands that can be run separately. These include:
The STRMNTBRM produces multiple reports depending on the print options you select as well as the current conditions that it detects. For instance, the Centralized Media Audit report will not print if you are not using a clustered network environment in BRMS. Listed below are the printer files and associated reports that can be produced when the STRMNTBRM command processes:
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
EXPMED | Expire media | *YES, *NO | Optional |
EXPSETMED | Expire media set volumes | *NO, *YES | Optional |
RMVMEDI | Remove media information | Element list | Optional |
Element 1: Media contents | *EXP, *NONE, *REUSE | ||
Element 2: Object level detail | 1-9999, *MEDCON | ||
RMVMGRINF | Remove migration information | 1-9999, 180, *NONE | Optional |
MOVMED | Run media movement | *NO, *YES | Optional |
RMVLOGE | Remove log entries | Element list | Optional |
Element 1: Type | *ALL, *NONE, *ARC, *BKU, *MAINT, *MED, *MGR, *RCY, *RTV, *SEC | ||
Element 2: From date | Character value, *BEGIN, *CURRENT | ||
Element 3: To date | Character value, 90, *CURRENT, *END | ||
RUNCLNUP | Run cleanup operations | *YES, *NO | Optional |
RTVVOLSTAT | Retrieve volume statistics | *YES, *NO | Optional |
AUDSYSMED | Audit system media | Single values: *NONE, *NETGRP Other values (up to 50 repetitions): Character value |
Optional |
CHGJRN | Change BRM journal receivers | *YES, *NO | Optional |
PRTEXPMED | Print expired media report | *YES, *NO | Optional |
PRTVSNRPT | Print version report | *EXPMED, *NO, *YES | Optional |
PRTBKUACT | Print media information | *YES, *NO | Optional |
PRTRCYRPT | Print recovery reports | Single values: *ALL, *NONE Other values (up to 3 repetitions): *RCYACT, *RCYANL, *SAVEXCP |
Optional |
RCYLOC | Recovery locations | Single values: *ALL Other values (up to 10 repetitions): Name, *HOME |
Optional |
PRTSYSINF | Print system information | *NO, *YES | Optional |
RGZBRMDB | Reorganize BRMS database | *NO, *YES | Optional |
REFREE | Auto-retrieved objects | Element list | Optional |
Element 1: Refree | *NO, *YES |
Top |
Specifies whether to expire media when the STRMNTBRM command processes. Expired save files that have been copied to tape are deleted when this command is run. The STREXPBRM command is processed by the STRMNTBRM command to expire media.
Top |
Specifies whether to expire media set volumes when the STRMNTBRM command processes. This will cause media that are members of media sets to expire even if there is unexpired media with active file sequences at subsequent positions in the set. This allows the media to be reused prior to expiration of the set and reduces the number of active media being managed. By default, BRMS will not expire media in a set prior to unexpirable media unless the entire set can be expired.
Note: Expiring all eligible media in a set can reduce the size of the set or create two or more new sets.
Note: It is recommended that you run this function periodically and it can be a long running process.
Top |
Specifies what information to remove from the BRMS media content inventory and how long to keep object detail. The RMVMEDIBRM command is used by the STRMNTBRM command to accomplish BRMS media content information removal. The Media contents (MEDCON) parameter indicates when media content information is removed from the media content information and the Object level detail (OBJDTL) parameter indicates when the object level detail is to be removed.
Element 1: Media contents
Element 2: Object level detail
Top |
Specifies how old in number of days that migration information should be before it is removed from the migration information history.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Top |
Specifies whether to process scheduled media movement. The MOVMEDBRM command is processed by the STRMNTBRM command to move the selected media.
Top |
Specifies whether to remove log entries when the STRMNTBRM command is run. You can specify the type of log entries that you want to remove and a date range of log entries. The RMVLOGEBRM command is processed by the STRMNTBRM command to remove log entries.
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: Type
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Element 2: From date
Element 3: To date
Top |
Specifies whether BRMS is to run clean up operations when the STRMNTBRM command processes. Cleanup operations includes various BRMS general routines such as creation of the location analysis report, analysis of deleted libraries, media policies with expiration dates that have past, and more.
Top |
Specifies whether BRMS is to retrieve volume statistics when the STRMNTBRM command processes.
Top |
Specifies whether media information as contained by one or more systems in the network group should be audited and differences in media information resolved. You can enter one or more system/network identifiers or you can select the special value *NETGRP for all systems in the network group or *NONE for none of the systems in the network group.
Note: Running shared inventory audit processing on each and every system using STRMNTBRM results in undue system and communications work. This auditing could be performed on just one system, in order to accomplish the same result.
Note: Shared inventory audit processing is not generally required (except when users are restoring a back level QUSRBRM database) and need a way to resynchronize this local back level copy, or correct for problems due to loss of QA1ANET2 records.
Note: Shared inventory audit processing is skipped if the current system is in restricted state or the remote systems required to complete the audit are not available.
You can enter multiple values for this parameter. If you are on an entry display and you need additional entry fields to enter these multiple values, type a plus sign (+) in the entry field opposite the phrase "+ for more" and press the Enter key.
Single values
Note: The BRMS Network feature (Option 1) is required to use this value.
Other values (up to 50 repetitions)
Note: The BRMS Network feature (Option 1) is required to specify a remote system.
Note: The BRMS Network feature (Option 1) is required to specify a remote system.
Top |
Specifies whether to change the receivers for the BRMS journals when the STRMNTBRM command processes. When the BRMS journal receivers are changed, the old BRMS journal receiver is deleted.
Top |
Specifies whether to print a report of media that was expired when the STRMNTBRM command processes.
Top |
Specifies whether to print a version control report when the STRMNTBRM command processes. The special value *EXPMED indicates that the version control report should be printed whenever media expiration processing is performed.
Top |
Specifies whether to print a report of what was backed up. The report will include backups done the day of the report and the previous day. The Work with Media Information using BRM (WRKMEDIBRM) command with parameter OUTPUT(*PRINT) is run by the STRMNTBRM command to produce the report.
Top |
Specifies which recovery reports to print for recovery when the STRMNTBRM command runs. If you want to print two of the three reports, specify the special values for the reports. If you want to print all three of the reports, specify *ALL.
Single values
Other values (up to 3 repetitions)
Top |
Specifies the locations for which you want to print recovery reports. Reports printed depend on the value specified in the Print recovery reports (PRTRCYRPT) parameter.
Single values
Other values (up to 10 repetitions)
Top |
Indicates if BRMS should issue the i5/OS command PRTSYSINF to produce reports of system information. These reports include user library information, system hardware and resource information, configuration information, and much more.
Top |
Use this parameter to reorganize the BRMS database. This option removes deleted records from the BRMS database. You should reorganize the BRMS database on a periodic basis, particularly if you save many objects and save with object detail.
Note: Reorganizing the BRMS database can be a long running process requiring additional disk storage. Reorganization will occur on the BRMS media inventory, media information (history) and object detail. BRMS may skip reorganization of the database if sufficient disk storage is not available, or if the database has no members or records.
Top |
Use this parameter to refree archive objects that have been auto-retrieved.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Top |
Example 1: Start Maintenance, Move Media, Clean the Archive Log
STRMNTBRM MOVMED(*YES) RMVLOGE(*ARC)
This command performs normal maintenance, starts media movement processing, and removes archive entries that are older than 90 days old from the BRMS log.
Example 2: Start Maintenance to Reorganize the BRMS Database Files
STRMNTBRM RGZBRMDB(*YES)
This command performs normal maintenance and runs the RGZDBF commmands on all the BRMS data base files.
Top |
*ESCAPE Messages
Top |