QUSRBRM.MEDIA_SET_INFO Table Function
The Media_Set_Info table function returns serial media set information. Serial media sets are single or multiple volumes that were created together during a save operation.
Parameters
|
volume-serial
Specifies the volume serial which BRMS uses to identify the volume. The volume serial is a maximum of 6 characters in length.
Authorization:Â
The authorization ID of the statement must include the following privileges:
*USE authority to QUSRBRM.MEDIA_SET service program.
The schema is QUSRBRM.
Result Table
The result of the function is a table containing a row for each volume in the set with the format shown in the following table:
Column Name | Data Type | Description |
VOLUME_SERIAL | VARCHAR(6) | The volume serial which BRMS uses to identify the volume. |
VOLUME_IDENTIFIER | VARCHAR(32) | The volume identifier associated with an optical volume. The volume identifier will be the same as the volume serial for tape volumes. |
SEQUENCE | INTEGER | The volume sequence number in the set. |
VOLUME_STATUS | VARCHAR(10) | Indicates the current state of the volume.        The possible values are:
|
MEDIA_CLASS | VARCHAR(10) | The name of the media class assigned to the media volume. |
EXPIRATION | VARCHAR(8) Nullable | When the volume expires. The possible values are:
Contains the null value when the EXPIRATION_DATE column has a specific date. |
EXPIRATION_DATE | DATE Nullable | When the volume expires. The possible values are:
Contains the null value when the EXPIRATION column is PERM or VERSIONS. |
LOCATION | VARCHAR(10) | The name of the current storage location of the volume. |
MOVE | DATE Nullable | The date of the next move operation. Contains the null value when the volume is not scheduled to move. |
DUPLICATION_STATUS | VARCHAR(9) Nullable | The duplication status of the volume. The possible values are:
Contains the null value when no duplication status is set. |
Examples
Example 1 - Create a table view of volumes by serial number including the status, sequence, media class, location, expiration and expiration dates:
|
Example output:
VOLUME_SERIAL | SEQUENCE | VOLUME_STATUS | MEDIA_CLASS | EXPIRATION_DATE | EXPIRATION | LOCATION |
 000003 | 1 | ACTIVE | ULTRIUM3 | - | PERM | TAPMLB01 |
002063 | 2 | ACTIVE | ULTRIUM3 | - | PERM | TAPMLB01 |
002065 | 3 | ACTIVEÂ | ULTRIUM3 | - | PERM | TAPMLB01 |
Privacy Policy | Cookie Policy | Impressum
From time to time, this website may contain technical inaccuracies and we do not warrant the accuracy of any posted information.
Copyright © Fortra, LLC and its group of companies. All trademarks and registered trademarks are the property of their respective owners.