suspendsess
Use the
suspendsess command
to suspend a started session.
To restart a session,
use the startsess command or the flashsess command..
Syntax

>>-repcli-- --suspendsess-- --+--------+-- --------------------->
'--quiet-'
>---type--suspend_type-- --session_name--+-[. . .]-+-----------><
'---------'
Parameters
- -quiet
- An optional parameter that turns off the confirmation prompt for this
command.
- -type suspend_type
- Specifies the type of session to suspend. You can choose to freeze a
PPRC session by specifying consist (for consistent),
or stop a session by specifying immed (for immediately).
- session_name [. . .] | -
- Specifies the session name to be suspended. 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 suspendsess command to suspend a
started session.
Return values
Session session_name successfully suspended.
Possible failures
- Session session_name does not exist.
- Session session_name is already stopped or inactive.
Examples
An invocation example:
repcli suspendsess -type immed mysession
The resulting output:
Are you sure you want to suspend mysession? Y/N
y
Session mysession successfully suspended.