Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SHOW-VOLUME-GROUP Show names of all existing volume groups

&pagelevel(4)&pagelevel

Using this command it is possible to display the names of all existing volume groups.

Volume group is logically related tapes, which are combined by the MAREN user to form a volume group. The volume group is an additional catalog entry field in the volume catalog, not a separate administrative unit. Related tapes can be combined to form a volume group. All files, which are located on the tape, belong to the same volume group. When a volume group is defined for a file on a tape, MAREN automatically updates all the file specific catalog entries of this tape. Only reserved tapes can be assigned to a volume group. When the tape is released, the assignment to the volume group is canceled again by MAREN.

Format

SHOW-VOLUME-GROUP                                                                                                             Alias: SHVG

,GROUP = *ALL
,OUTPUT = *SYSOUT  / *NONE
,STRUCTURE-OUTPUT = *NONE / <composed-name 1..255> (...)

<composed-name 1..255> (...)





|WRITE-MODE = *REPLACE / *EXTEND



Operands

GROUP = *ALL
Select the names of all existing volume groups.

OUTPUT =
Determines the output medium. Output to SYSOUT is the default.

OUTPUT = *SYSOUT
Output is directed to SYSOUT.

OUTPUT = *NONE
No output takes place. This specification only makes sense for structured output in an S variable (see the STRUCTURE-OUTPUT operand).

STRUCTURE-OUTPUT =
Controls the structured output in S variables.

STRUCTURE-OUTPUT = *NONE
No structured output takes place.

STRUCTURE-OUTPUT = <composed-name 1..255>(...)
Name of the S variable to be used for the structured output.

WRITE-MODE =
Determines whether the output should replace or extend the current content of the S variables.

WRITE-MODE = *REPLACE
The current content of the S variable is replaced by the new output.

WRITE-MODE = *EXTEND
The new output extends the current content of the S variable.


Examples

Example 1: Output names of all existing volume groups

//show-volume-group group=*ALL

---------------------------------------------------------------------

VOLUME-GROUP NAME:

---------------------------------------------------------------------

vol-group1
vol-group2
vol-group3
vol-group4

---------------------------------------------------------------------

% MARM309 4 VOLUME-GROUPS FOUND

% MARM170 STATEMENT '//SHOW-VOLUME-GROUP' PROCESSED

Output in S variables

This statement supports the structured output in S variables (controlled by the STRUCTURE-OUTPUT operand). Further information on S variables is provided in the “Commands” manual [3].

The following S variables are created:


Output informationName of the S variableTContents
Access counter (8-digit)
It is incremented each time the tape is accessed
var(*LIST).ACCESS-COUNTS<integer 0..99999999>
Creation datevar(*LIST).CRE-DATESyyyy-mm-dd
Creation job name
For HSMS request name
var(*LIST).CRE-JOB-NAMES’’
<name 1..8>
Creation timevar(*LIST).CRE-TIMEShh:mm:ss
Device typevar(*LIST).DEV-TYPES<structured-name 1..8>
Name of a directory (with catalog ID and user ID) which contains the tapevar(*LIST).DIR-NAMES<filename 1..54 >
Displays whether the tape contains the directory which was also savedvar(*LIST).DIR-ON-VOLS*NO
*YES
Status (exported or not)var(*LIST).EXPORTEDS*NO
*YES
First archive number of the MF/MV setvar(*LIST).FIRST-VOLS<vsn>
File name of a tape file
(without catalog ID and user ID)
var(*LIST).F-NAMES<filename 1..41>
Expiration date of the tape
Specifies when the reservation of the tape for the user ID is terminated
var(*LIST).FREE-DATESyyyy-mm-dd
Release location
A tape is moved to this location during the clear-up run
var(*LIST).FREE-LOCATIONS<alphanum-name 1..8>
Name of the free tape pool in which this tape is located, or in which it should be located when it is sharedvar(*LIST).FREE-POOLS<filename 1..54>
*NO
*GLOBAL
*TSOS
File sequence number (4-digit)var(*LIST).F-SEQS<integer 1..9999>
Standard locationvar(*LIST).HOME-LOCATIONS<alphanum-name 1..8>
Name of the system with last accessvar(*LIST).LAST-ACCESS-
HOSTNAM
S<alphanum-name 1..8>
Date of the last accessvar(*LIST).LAST-ACCESS-DATESyyyy-mm-dd
User ID of the last accessvar(*LIST).LAST-ACCESS-USER-IDS<name 1..8>
Password for accessvar(*LIST).PASSS*NONE
*YES
Comment field which should be filled with a meaningful textvar(*LIST).REMARKS<c-string 1..24>
Reservation counter
This counter is incremented with each new reservation of the tape
var(*LIST).RESERV-COUNTS<integer 0..9999>
Reservation date
Date on which a tape is reserved
var(*LIST).RESERV-DATESyyyy-mm-dd
SAVE-FILE-ID (HSMS) or
SAVE-VERSION (ARCHIVE)
var(*LIST).SFIDS<c-string 1..15>
Number of subtask for parallel save run in HSMSvar(*LIST).SUBSAVES<integer 0..15>
Number of subsequent tape within a parallel save run in HSMSvar(*LIST).SUBSEQS<integer 0..999>
Shareability of the tapevar(*LIST).USER-ACCESSSOWNER-ONLY
FOREIGN-READ
ALL-USERS
Account numbervar(*LIST).USER-ACCOUNTS<alphanum-name 1..8>
User field
Data such as name and department or data relevant for operations scheduling can be entered here
var(*LIST).USER-FIELDS<c-string 1..54>
User ID of the ownervar(*LIST).USER-IDS<name 1..8>
Tape VSNvar(*LIST).VOLS<vsn>
Volume group
Only has a valid value with reserved tapes, otherwise it is undefined
var(*LIST).VOL-GROUPS<text 1..32>
Volume sequence number (4-digit)var(*LIST).VOL-SEQS<integer 1..255>
Tape status
F = FREE
P = PRIVATE
R = RESERVED
D = DEFECT
var(*LIST).VOL-STA-1SF/P/R/D