lscpset

Use the lscpset command to list the source and targets of the copy service pairs (copy sets) and their status.

Syntax

Read syntax diagramSkip visual syntax diagram>>-repcli-- --lscpset-- --+----+-- --+---------------------+---->
                          +--s-+     '--src--source_vol_ID-'
                          '--l-'

>-- --+-----------------+-- --+------------------+-- ----------->
      '--invalid--+-y-+-'     '--approved--+-y-+-'
                  '-n-'                    '-n-'

>--+---------------------------+-------------------------------><
   '-session_name--+-[. . .]-+-'
                   '---------'

Parameters

-s
An optional parameter that displays copy set name only.
-l
An optional parameter that displays the copy set name and other valid output.
-src source_vol_ID
An optional parameter that displays only the copy sets of the source volumes supplied.
-invalid y | n
An optional parameter that displays only the copy sets that are in a valid state.
-approved y | n
An optional parameter that displays only the copy sets that are in an approved state.
session_name [. . .] | -
Specifies the session name to which a list of copy sets belongs. Separate multiple session names with a comma between each name. Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin).

Description

You can use the lscpset command to list the source and targets of the copy set pairs and their status.

Return values

One of the following types of information is returned.

Possible failures

Examples

An invocation example:

repcli lscpset -s session_name sessionx

The resulting output:

Sessions matching the criteria specified were not found.
Source Volume
Session

Related topics

(C) Copyright International Business Machines Corporation 2004