-copy

Description

Copies the connection name.

Syntax

ratool -copy <src_connection_name> <dest_connection_name>

Parameters

src_connection_name

The name of the connection to copy.

dest_connection_name

This is the name of the connection you are creating from the source connection.

Examples

Example 1

To copy the connection named RepToJMS to a new connection named RepToJMS2:

ratool -copy RepToJMS NewRepToJMS

Usage

If the destination connection already exists, this error message displays:

RaCommand[ERROR]: Copy connection failed. Error
Message: com.sybase.connector.repra.RaException:
java.lang.Exception: The destination connection already
exists.