Troubleshooting
Problem
This document explains how to use save files with BRMS.
Resolving The Problem
When using BRMS, it is possible to save data to save files.
Note: Tested and
Options for Copying Save Files to Media
The following commands can be used to manage the save files:
Notes:
|
o |
It is not possible to specify the save file to use. Individual save file names are generated automatically by BRMS based on date/time stamp. BRMS manages its own save file environment. It is not important to know the save file names or the names of the libraries in which they reside. |
| o | If you have processed any backups to save files, you must run the Save Save Files by using BRM (SAVSAVFBRM) command with the appropriate control group. Run the SAVMEDIBRM command after the SAVSAVFBRM command and then print new recovery reports. |
| o | Save files that are saved with this media policy will be deleted after they have been successfully saved to media by using the SAVSAVFBRM command. |
| o o |
Save files created by a save that also contains a device name will not be deleted until the save file is saved successfully to media, regardless of the save file retention specified in the media policy. The save file retention merely serves as an extension of this media retention. If save files are created by saves that do not also specify a removable media device (device in control group attribute is set *NONE), these save files are deleted by BRMS maintenance if the save files have expired. *NONE will set the expiration date to today's date, overriding the retention date so Maintenance run after will delete the save file before it is saved. Changing the device from *NONE to *MEDCLS will keep the save file after Maintenance runs. |
| o | BRMS does not support saving of user create save files by using the SAVSAVFBRM command. Save files must be created by BRMS in order to be processed by SAVSAVFBRM. |
Options for Copying Save Files to Media
| Action for Device: | *NONE | Device: device-name |
| Copied To Media: No Yes | No | Yes |
| Deleted from disk | On expiration | On expiration or when copied to media (whichever happens last) |
The following commands can be used to manage the save files:
| o | Remove Media Information from BRM (RMVMEDIBRM) |
| o | Save Save Files by using BRM (SAVSAVFBRM) |
| o | Start Expiration for BRM (STREXPBRM) |
| o | Start Maintenance by using BRM (STRMNTBRM) |
| o | Work with Save Files by using BRM (WRKSAVFBRM) |
Notes:
| 1. | RMVMEDIBRM and SAVSAVFBRM commands will delete only those save files that have expired. The STREXPBRM command must run prior to these commands to flag such save files as expired. The STREXPBRM and RMVMEDIBRM commands can be scheduled to run periodically or they can be processed as part of the daily BRMS maintenance processing. |
| 2. | The SAVSAVFBRM and STREXPBRM commands determine those save files that must be saved or expired and deleted from the system based on the object and retention information specified in the control group attributes. |
| 3. | The RMVMEDIBRM and STREXPBRM commands can be run independently, but they are also components of the BRMS maintenance procedures. These procedures should be run nightly. If you are performing regular maintenance with the STRMNTBRM command, then this ensures that no expired save files are kept on the system. Thus, it reduces disk usage. |
| 4. | The SAVSAVFBRM command should not be confused with the option to save contents of save files, which is on the second screen of the control group attributes, backup policy, and archive policy. These options refer to the ability to save data in user save files to the media defined in your control group or policy. SAVSAVFBRM is a command to save BRMS save files to media under BRMS control. You can schedule the SAVSAVFBRM command through the system job scheduler or on demand. |
| 5. | The Allow subsequent saves (ALWADLSAVE) parameter of the SAVSAVFBRM command can be used to allow you to save the save files to media and not have the save file deleted from the system. Specifying *YES for this parameter indicates that you intend to save the save files on subsequent save operations. The save files will not be deleted from the system when maintenance is run. If you specify this value, you must run a subsequent SAVSAVFBRM command that use ALWADLSAVE(*NO) to enable removal of these save files from the system. |
| 6. 7. |
For more information on saving save files to auxiliary storage pools see the following link. Allow save files on IASPs 33-99 for media policies If multiple SAVSAVFBRM saves of the the same save files are run (using the ALWADLSAVE parameter), BRMS will use the BRMS volume that is alphabetically last in the list of volumes used in the BRMS recovery report. |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]
Historical Number
460552522
Was this topic helpful?
Document Information
Modified date:
23 January 2020
UID
nas8N1014183