Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Save Media Info using BRM (SAVMEDIBRM) command saves a copy of the information required to perform recovery of items saved using BRMS. Media information can be saved at the object or library level.
Virtual tape media and devices can be used with this command. The following restrictions apply to the use of virtual media and virtual devices.
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 |
---|---|---|---|
DEV | Device | Single values: *NONE Other values (up to 4 repetitions): Name, *MEDCLS |
Required, Positional 1 |
MEDPCY | Media policy | Name, *NONE, *SYSPCY | Required, Positional 2 |
OPTION | Option | *LIB, *OBJ | Optional |
CTLGRP | Control group | Name, *NONE, *ARCGRP, *BKUGRP, *SYSGRP, *SYSTEM | Optional |
ENDOPT | End of tape option | *REWIND, *LEAVE, *UNLOAD | Optional |
USEOPTBLK | Use optimum block size | *BKUPCY, *DEV, *NO, *YES | Optional |
SEQNBR | Sequence number | 1-16777215, *END | Optional |
TGTRLS | Target release | Character value, *CURRENT | Optional |
CLEAR | Clear | *NONE, *AFTER, *ALL | Optional |
ACCPTH | Save access paths | *SYSVAL, *NO, *YES | Optional |
DTACPR | Data compression | *DEV, *NO, *YES | Optional |
COMPACT | Data compaction | *DEV, *NO | Optional |
EXPDATE | Expiration date | Date, *MEDPCY, *PERM | Optional |
MOVPCY | Move policy | Name, *MEDPCY, *NONE | Optional |
MEDCLS | Media class | Character value, *MEDPCY, *SYSPCY | Optional |
LOC | Location | Name, *MEDPCY, *ANY, *HOME | Optional |
SAVF | Save to save file | *MEDPCY, *NO, *YES | Optional |
SAVFASP | Save file ASP | Character value, *MEDPCY, *SYSTEM | Optional |
SAVFEXP | Retain save files | Date, *MEDPCY, *NONE, *PERM | Optional |
MAXSTG | ASP storage limit | 1-99, *MEDPCY | Optional |
VOLSEC | Secure volume | *MEDPCY, *NO, *YES | Optional |
MINVOL | Required volumes | 1-9999, *MEDPCY, *NONE | Optional |
MARKDUP | Mark volumes for duplication | *MEDPCY, *NO, *YES | Optional |
MARKHST | Mark history for duplication | *MEDPCY, *NO, *YES | Optional |
Top |
Specifies the names of the devices used for save media information operation. Each device name must already be known on the system in the BRMS device table. If multiple devices are specified, they must use the same media classes. If more than one device is used, specify the names of the devices in the order in which they are used.
This is a required parameter.
You can enter multiple values for this parameter.
Single values
Other values (up to 4 repetitions)
Top |
Specifies the media policy for the volumes you are creating as a result of saving media information.
Media policies are used to determine:
The media policy you specify must be a media policy that is in the BRMS media policy table.
This a required parameter.
Top |
Specifies whether you want to save media information at the object or library level.
Top |
Specifies the name of the control group that you want to associate with the objects saved by this command. The control group name is stored with the media information and can be used with the Control group (CTLGRP) parameter on other BRMS commands to filter the media information or recover saved objects by control group.
Note: None of the attributes of the control group are used for the save.
If you are using version control for the items you are saving, this save operation will be recorded as part of the specified version control. Version control is specified in the media policy associated with this control group and can be reviewed by using the Work with Media Policies display.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Top |
Specifies, when tape is used, what positioning operation is automatically done on the volume after the save operation ends. If more than one volume is included, this parameter applies only to the last volume used; all other volumes are rewound and unloaded when the end of the volume is reached.
If you specify *LEAVE and the device is a shared device, the device will not be varied off after the save operation. If you specify *LEAVE and the device is not a shared device, the device will be varied off after the save operation.
Top |
Specifies whether or not the optimum block size is used for the save operation.
Top |
Specifies, when tape is used, the sequence to use for the save operation. If you are saving to a BRMS volume that is expired, BRMS will begin writing information at the beginning of the volume, even though you have specified *END. If you are saving to a BRMS volume, BRMS will redirect the output to begin at the logical end of the output volume (after the end of the last active file), depending on the output device that you are using. For example, a 3490 device can write to any sequence number whereas a 6525 device can only write to sequence number 1 or *END.
Top |
Specifies the release of the operating system on which you intend to restore the objects being saved.
Note: Not all objects can be targeted to another release. Objects that are new to a release typically cannot be saved to a previous release.
The objects can be restored on a system with the specified release or with any subsequent release of the operating system installed.
Note: Not all objects can be targeted to another release. Objects that are new to a release typically cannot be saved to a previous release.
Valid values depend on the current version, release, and modification level, and they change with each new release. If you specify a release-level that is earlier than the earliest release level supported by this command, an error message is sent indicating the earliest supported release.
Top |
Specifies whether uncleared volumes or save files encountered during the save operation are automatically cleared.
If a save file is not cleared, the inquiry message is sent to the work station message queue for an interactive job, or to the operator for a batch job. All volumes used to perform the save operation should be cleared, or the save file must be empty, before the save command is issued.
Top |
Specifies whether the logical file access paths that are dependent on the physical files being saved are also saved. The access paths are saved only if all members on which the access paths are built are included in this save operation. Informational messages are sent indicating the number of logical file access paths saved with each physical file. This parameter does not save logical objects; it only controls the saving of the access paths. Information on the restoring of saved access paths is in the Backup and Recovery Book.
Top |
Specifies whether data compression is used.
Note: If *DEV is specified on both the Data compression (DTACPR) parameter and the Data compaction (COMPACT) parameter, only device data compaction is performed if device data compaction is supported on the device. Otherwise, data compression is performed if supported on the device.
If *YES is specified on the Data compression (DTACPR) parameter and *DEV is specified on the Data compaction (COMPACT) parameter, both device data compaction and device data compression are performed if supported on the device.
Top |
Specifies whether data compaction is performed.
Note: If *DEV is specified on both the Data compression (DTACPR) parameter and the Data compaction (COMPACT) parameter, only device data compaction is performed if device data compaction is supported on the device. Otherwise, data compression is performed if supported on the device.
If *YES is specified on the Data compression (DTACPR) parameter and *DEV is specified on the Data compaction (COMPACT) parameter, both device data compaction and device data compression are performed if supported on the device.
Top |
Specifies the expiration that you want to use for output volumes created as a result of this save operation.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies the move policy that you want to use for output volumes created as a result of this save operation.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies the media class that you want to use for selection of output volumes used in this save operation.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies the location that you want to use for selection of output volumes used in this save operation.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies whether the output from this save operation is saved to a save file.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies the system (1) or basic user auxiliary storage pool (2-32) to which a save file is created as a result of this save operation.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Note: UDFS, primary and secondary auxiliary storage pools are not supported for this parameter.
Top |
Specifies how long save files are to be kept that are created as a result of this save operation.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies the maximum percentage auxiliary storage pool (ASP) utilization that is acceptable during a save operation. For example, an entry of 90 would mean that a save process would continue until the auxiliary storage pool utilization exceeded 90%. If the upper limit is reached, the save process is stopped and a message sent to the BRMS log.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies whether you want to apply volume security to volumes in this media class. Volumes that are secured can only be read by users with the special authorities *ALLOBJ or *SAVSYS.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies the minimum number of expired volumes that must be present before any save can be done using this media policy. The value can also be checked by user jobs using the Check Expired Media for BRM (CHKEXPBRM) command.
Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NONE in this parameter. If you specify MINVOL(*MEDPCY), then the value of the Required volumes field in the referenced media policy must be *NONE.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies whether media volumes will be marked for duplication. When *YES is selected, all volumes used during a save operation are marked for duplication. You can use VOL(*SEARCH) on the Duplicate Media using BRM command to duplicate the saved items after the save has completed.
Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NO in this parameter. If you specify MARKDUP(*MEDPCY), then the value of the Mark for duplication attribute in the referenced media policy must be *NO.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Specifies whether history items will be marked for duplication. When *YES is selected, all history items created during a save operation are marked for duplication. You must use VOL(*SCHHST) on the Duplicate Media using BRM command to duplicate the saved items.
Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NO in this parameter. If you specify MARKHST(*MEDPCY), then the value of the Mark history for duplication attribute in the referenced media policy must be *NO.
Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.
Top |
Example 1: Saving Media Information for a Control Group
SAVMEDIBRM DEV(*MEDCLS) MEDPCY(FULL) OPTION(*OBJ) CTLGRP(CG01)
This command saves object level information for control group CG01. The recovery information can be written to any device that supports the media class specified in the media policy FULL.
Example 2: Saving Media Information and Access Paths
SAVMEDIBRM DEV(*MEDCLS) MEDPCY(FULL) OPTION(*OBJ) ACCPTH(*YES)
This command saves all BRMS object level recovery information including access paths to any device that supports the media class specified in the media policy FULL.
Top |
*ESCAPE Messages
Top |