LISTVOL


The LISTVOL command lists the volume full dump copies of a specified volume or volumes.

Logic

When the command lists a pattern of volumes, the copies in each volume are displayed separately, from the most current copy to the oldest.

The list includes the time and date of the full dump, and the original size of the volume in cylinders. In addition, you can specify ENTry and UNIQUEID are to reference a specific volume full dump copy in subsequent commands.

Syntax

M9CLI LISTVOL <volumePattern>
 [DATE(yyyy/mm/dd)|DATERange(yyyy/mm/dd-yyyy/mm/dd)]
 [UNIQueid(<uniqueId>|ENTry(<integer>)]

Required parameters

Parameter

Description

volumePattern

A volume or a group of volumes, specified by a pattern

You can specify a pattern by using %, *, or **. For example, SYSRE*, or DBA%LG

For more information about how to specify a pattern, see Specifying-the-data-set-or-volume-for-the-CLI-command.

Optional parameters

Option (short option)

Description

Format

Examples

DATE

Requests volume full dump copies that were created on a specific date only

DATE and DATERange are mutually exclusive.

yyyy/mm/dd

2019/08/15

DATERange

Requests volume full dump copies that were created within a specific date range

DATERange and DATE are mutually exclusive.

yyyy/mm/dd-yyyy/mm/dd

2019/01/01-2019/08/15

ENTry

A positive sequential number from 0, 1, 2, and so on, representing the available entries of a volume full dump copy, according to the specified criteria

The entries are relative to the selection used in the LISTVOL command. When listing a pattern, ENTry is displayed per volume.

integer

0—The latest copy (default)

1—The copy prior to the latest, and so on.

UNIQueid

An 8-character that, when combined with the volume name, identifies each volume full dump copy

Using the UNIQueid, you can refer to a specific copy without having to specify any additional filters.

UNIQueid and ENTry are mutually exclusive.

8 characters

You can take UNIQueid from a previous LISTVOL command’s output and use it in subsequent commands, such as RESTVOL.

Output

The LIST output displays the given LIST commands and parameters, followed by the requested information. For every filtered volume, a headline is displayed with the name of the volume, followed by a list of the available volume full dump copies.

For each record on the list, the following details are displayed:

Column

Description

Available values

ENTRY

Integer representing the sequence of the displayed list

The entries are relative to the filter used in the LISTVOL command.

0,1,2,...— a full dump copy, available for restore

DATE

Date on which the volume full dump copy was created

yyyy/mm/dd

TIME

Local time at which the volume full dump copy was created

hh:mm:ss

SIZE

Original size, in volume cylinders

integer

UNIQUEID

8-character value to uniquely identify the volume full dump copy

8 characters

Examples

The following examples demonstrate use of the command:

Listing a specific volume’s full dump copies

Example
M9CLI LISTVOL M9RES1

Model9 CLI SYSNAME: S0W1 DATE: 2019/05/15 VERSION: 1.7.0

Listing Volume: M9RES1

  ENTRY DATE   TIME     SIZE   UNIQUEID
  ----- ---------- --------- ------ --------
      0 2020/04/24 11:05:30 32790  DR4FSJ4R
      1 2020/04/24 08:10:11 32790  NX300X23
      2 2020/04/24 07:30:06 32790  F2065RSF

Listing a volume’s full dump copies created on a specific date

Example
M9CLI LISTVOL M9RES1 DATE(2020/04/24)

Model9 CLI SYSNAME: SOWl DATE: 2020/05/15 VERSION: 1.7.0

Listing Volume: M9RES1

  ENTRY DATE   TIME     SIZE  UNIQUEID
  ----- ---------- --------- ----- --------
      0 2020/04/24 11:05:30  32790 DK4FSJ4K
      12020/04/24 08:10:11  32790 NX300X23
      22020/04/24 07:30:06  32790 F2065RSF
      32020/04/24 07:00:15  32790 W34DP4RF

Listing a volume’s full dump copies created within a date range

Example
M9CLI LISTVOL M9RES1 DATER(2020/04/24-2020/04/01)

Mode19CLI SYSNAME: S0W1 DATE: 2020/05/15 VERSION: 1.7.0

ListingVolume: M9RES1

  ENTRYDATE   TIME    SIZE   UNIQUEID
  ----- ---------- --------- ----- --------
      02020/04/24 11:05:30 32790 DK4FSJ4K
      12020/04/24 08:10:11 32790 NX300X23
      22020/04/24 07:30:06 32790 F2065KSF
      32020/04/24 07:00:15 32790 W34DP4KF
      42020/04/12 19:25:43 32790 3SN4NF4F
      52020/04/12 10:15:14 32790 1SK3MDOG
      62020/04/05 08:35:26 32790 NVC34M50
      72020/04/01 17:00:13 32790 ADI4KS3F

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*