chsess

Use the chsess to change the description or pool information of an existing Replication Manager session.

Syntax

Read syntax diagramSkip visual syntax diagram>>-repcli-- --chsess-- --+--------------------------+-- -------->
                         '--desc--"new_description"-'

>--+---------------------------------------------------+-- ----->
   '--poolcrit--sequence_name:filter_type=filter_value-'

>--+--------------------+-- --+--------+--session_name---------><
   '--approve--+-man--+-'     '--quiet-'
               '-auto-'

Parameters

-desc "new_description"
An optional parameter that specifies the new user-defined description of the session. The maximum alphanumeric character length for this value is 250.
-poolcrit sequence_name:filter_type=filter_value
Optionally specifies the target Replication Manager pool(s) based on sequence name and filter value. Sequence name and filter type are separated from each other using a colon.
-approve man | auto
An optional parameter that specifies whether approval is manual or automatic. Specify auto to set the session so that all copy sets that are created from that point, using the automated target volume selection, are marked as approved. Specify man to go through an additional approval step.
-quiet
An optional parameter that turns off the confirmation prompt for this command.
session_name
Specifies the existing session name to be changed.

Description

You can use the chsess to change the description or pool information of an existing Replication Manager session.

Return values

Session session_name
Successfully modified. Pool changes will only apply to future target selections. (Returned only if -tgtpool is used.)

Possible failures

Examples

An invocation example:

repcli chsess -approve man mysession

The resulting output:

Session mysession successfully modified.

Related topics

(C) Copyright International Business Machines Corporation 2004