lscpset
Use the
lscpset command to
list the source and targets of the copy service pairs (copy sets) and their
status.
- To see volumes in a copy set, use the showcopyset command.
- To see status of volumes in a copy set, use the lsvol command.
Syntax

>>-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.
- No copysets match criteria specified.
-
Column Label |
Details |
Source Volume |
Name of the source volume. |
Session |
Name of the session. |
Vols (#) |
Number of volumes associated with the copy set. |
Invalid |
Yes or no to specify whether or not the copy set is
valid. |
Approved |
Yes or no to specify whether or not the copy set is
approved. |
Last message issued |
Last message issued. |
Possible failures
- Source volume ID source_vol_ID does not exist.
- No copy sets match the criteria specified.
- Session session_name does not exist.
Examples
An invocation example:
repcli lscpset -s session_name sessionx
The resulting output:
Sessions matching the criteria specified were not found.
Source Volume
Session