stopsess
Use the stopsess command at
any point during the life of a session once that session is in an ACTIVE state.
This command does a withdraw of the relationship on the hardware.
Syntax

>>-repcli-- --stopsess-- --+--------+-- ------------------------>
'--quiet-'
>--session_name--+-[. . .]-+-----------------------------------><
'---------'
Parameters
- -quiet
- An optional parameter that turns off the confirmation prompt for this
command.
- session_name [. . .] | -
- Specifies the session name to be stopped. Separate multiple session
names with a white space 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 stopsess command
to stop a PPRC session.
Return values
Session session_name successfully stopped.
Possible failures
- Session session_name does not exist.
- Session session_name is already stopped or inactive.
Examples
An invocation example:
repcli stopsess mysession
The resulting output:
Are you sure you want to stop session session_name? Y/N
y
Session mysession successfully stopped.