Imports connection properties from an existing connection properties file to create anew connection or update an existing connection.
ratool -import <connection_name> <connection_prop_filename> [-override]
The name of the connection to import.
The name of the connection properties file that contains the properties to import.
This option overrides the existing connection information. If you do not specify -override and there is an existing connection, this option returns a failure message.
RaCommand[ERROR] Import connection failed. Error message: com.sybase.connector.repra.RaException: java.lang.Exception: The existing connection cannot be overriden
To add a new connection using the properties in RepToJMS.props:
ratool -import RepToJMS d:\repraconf\RepToJMS.props
To update an existing connection using the properties in RepToJMS.props:
ratool -import RepToJMS d:\repraconf\RepToJMS.props -override
See the sample configuration property files in the RepConnector sample/conf directory for information about property names and values.