Using the DUPMEDBRM Command to Duplicate Specific File Sequence Numbers From a Serial Set

Learn how to use the DUPMEDBRM command to duplicate a specific file sequence from a multi-volume BRMS serial set

Typically when the DUPMEDBRM command is run and a volume ID is specified, BRMS will determine if that volume is part of a serial set and will then select all the volumes in the set to duplicate. This function works as expected except when you are trying to duplicate only a single file sequence from a volume that is not the first volume in the media set. If you try this, a failure occurs and the following message is issued: CPF6734 - Sequence not found.

Example

In this example, a save is completed of multiple libraries to volumes BRM001, BRM002, BRM003, and BRM004. Library TESTLIB was saved on volume BRM003 at sequence 40.

In this case, use the following command:

DUPMEDBRM VOL(*LIST) FROMDEV(TAPxx) TODEV(TAPxx) FROMVOL(BRM003) FROMSEQNBR(40 40) MEDPCY(yyyyyyyy)

If library TESTLIB was saved on volume BRM003 and spanned over to volume BRM004, at sequence 40, the following command is used:

DUPMEDBRM VOL(*LIST) FROMDEV(TAPxx) TODEV(TAPxx) FROMVOL(BRM003 BRM004) FROMSEQNBR(40 40) MEDPCY(yyyyyyyy)

You must use VOL(*SCHHST) on the Duplicate Media using BRM command to duplicate the saved items.

  • If sequence 1 of a volume is not duplicated, the Dup StS field on the Work with Media (WRKMEDBRM) screen will not be updated with an asterisk (*).

  • If a volume is marked for duplication and a single sequence from the volume is duplicated using DUPMEDBRM FROMSEQNBR (), the '1' under Dup Sts will be removed and no '*' will be shown as the whole volume has not being duplicated

  • Option 15 will not list the association of the duplicated volumes if all sequences on a tape are not duplicated. In addition, Option 15 will not list tapes that are duplicated to or from and then appended to later.

History

It is possible to mark new history for duplication. This can be accomplished in the media policy by using the following command:

WRKPCYBRM OPTION(*MED)

Mark history for duplication.. . . . . : *NO, *YES

This specifies whether history items will be marked for duplication. When *YES is selected, all history items during a save operation that use this media policy are marked for duplication.

Mark Volume and Mark History for duplication should not be used together

 

Copyright © Fortra, LLC and its group of companies. All trademarks and registered trademarks are the property of their respective owners.