Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Centralized movement allows movement to be run from one system in a BRMS network.  When a volume being moved out of a tape media library (MLB), BRMS will attempt to eject the volume with the Remove Tape Cartridge (RMVTAPCTG) command.



Normally, media being moved out of an MLB will be ejected when the Move Media using BRM (MOVMEDBRM) command is run.  However, when movement with confirmation is being run, it may be desireable to have the media ejected when the Verify Movement using BRM (VFYMOVBRM) command.


Data area QUSRBRM/Q1APRM controls whether volumes are ejected from an MLB when the the Move Media using BRM (MOVMEDBRM) command  command or Verify Moves using BRM (VFYMOVBRM) command is used. This data area has no effect when volumes are inserted.

The character value at position 210 in the data area controls when a volume is ejected from an MLB during move processing.  BRMS is shipped with a default of ' ' (blank) for this value. The value being used by BRMS can be displayed using the following command:

DSPDTAARA DTAARA(QUSRBRM/Q1APRM)Image Removed


...


There are several possible setups depending on the value of this data area and the value of Verify moves in the relevant move policy, that can be viewed by selecting Option 5 (=Display) against the move policy in question from the WRKPCYBRM TYPE(*MOV) command. The possible combinations available are:

Code Block
 Setup | Q1APRM | Verify
 ------+--------+-------
 1     |  ' '   | *NO
 2     |  ' '   | *YES
 3     |  '1'   | *NO
 4     |  '1'   | *YES

Setup 1

This section describes the sequence of operation when the value of position 210 in data area Q1APRM is ' ' (blank) and verify moves is *NO.
Volumes that are scheduled to leave the MLB will be ejected when movement (MOVMEDBRM) is run. This is achieved by BRMS issuing the Remove Tape Cartridge (RMVTAPCTG) command "under the covers".

Volumes that are scheduled to return to the MLB must be physically placed in the library before the movement is run. Once inserted, these volumes will have a category of *INSERT. When movement (MOVMEDBRM) is run, these volumes are changed to a usable category (for example, *SHARE400 or *NOSHARE) depending on the value of the "Shared media" parameter in the media class associated with the volume. This is achieved by BRMS issuing the Add Tape Cartridge (ADDTAPCTG) command "under the covers".

Setup 2

This section describes the sequence of operation when the value of position 210 in data area Q1APRM is ' ' (blank) and verify moves is *YES.
Volumes that are scheduled to leave the MLB are ejected, when, movement (MOVMEDBRM) is run. This is achieved by BRMS issuing the Remove Tape Cartridge (RMVTAPCTG) command "under the covers". However, they will not be "moved" in the BRMS database until verify is run.

For volumes that are scheduled to return to the MLB, movement (MOVMEDBRM) is run first which sets the volumes up for verification. The volumes then must be inserted into the MLB prior to verify being run. Once inserted, these volumes have a category of *INSERT. When verify (VFYMOVBRM) is run, these volumes will be changed to a usable category (for example, *SHARE400 or *NOSHARE. This is achieved by BRMS issuing the Add Tape cartridge (ADDTAPCTG) command "under the covers".

Setup 3

When the value of position 210 in data area Q1APRM is 1 and verify moves is *NO, this setup operates the same way as Setup 1.

Setup 4

This section describes the sequence of operation when the value of position 210 in data area Q1APRM is 1 and verify moves is *YES.

For volumes that are scheduled to leave the MLB, movement (MOVMEDBRM) is run first, which sets the volumes up for verification. When verify (VFYMOVBRM) is run, the volumes are ejected and "moved" in the BRMS database. This is achieved by BRMS issuing the Remove Tape Cartridge (RMVTAPCTG) command "under the covers".

For volumes that are scheduled to return to the MLB, movement (MOVMEDBRM) is run first. This sets the volumes up for verification. The volumes then must be inserted into the MLB prior to verify being run. Once inserted, these volumes have a category of *INSERT. When verify (VFYMOVBRM) is run these volumes are changed to a usable category (for example, *SHARE400 or *NOSHARE). Again, this is achieved by BRMS issuing the Add Tape Cartridge (ADDTAPCTG) command "under the covers".

...

To control when BRMS ejects volumes from MLBs during movement use the following commands:

WRKPCYBRM TYPE(*MOV)

type option 2 for the move policy associated with the media
specify *NO or *YES for the the Verify moves field  field as described above

CHGDTAARA DTAARA(QUSRBRM/Q1APRM (210 1)) VALUE('x')

specify ' ' or '1' in place of of 'x' as  as described above