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

Read syntax diagramSkip visual syntax diagram>>-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

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.

Related topics

(C) Copyright International Business Machines Corporation 2004