ratool

If you are performing batch processing, ratool is an alternative to using RepConnector Manager to administer and configure connections.

Note: Command options are case-sensitive.

Syntax

 ratool [-host hostname] [-port portnumber] [-user <username>]
 [-password <password>] [-help] [-loglevel <loglevel_type>]
 [<Command_option>] 

Options

Definitions

-host <hostname>

Identifies the name of the host on which the RepConnector runtime is running. The default is “localhost”.

-port <portnumber>

The port number on which the RepConnector runtime instance is listening. The default value is 8000.

-user <username>

The RepConnector administrator login user ID. The default is repraadmin.

-password<password>

The password for the RepConnector administrator login. By default, there is no administrator password.

-help

Displays information about all ratool commands.

help <command_option>

Displays the help information for a specific ratool command_option.

Do not include “-” before the help command flag when you display help information for a command option.

-logfile <file_name>

Sends the logging information for ratool to a specified file.

-loglevel <loglevel_type>

Determines the level of logging information to show. Valid values are:

  • FATAL

  • ERROR

  • WARNING

  • INFO

  • DEBUG

Command_options

-copy <conn_name> <new_conn_name>

Copies a connection name to a new connection name.

-delete <conn_name>

Deletes a connection.

-getLogInfo <connName> [-file <logFile>]

Displays the logging information for a specified connection. If you specify -file, -getLogInfo writes the logging information to a file specified by logFile.

-getProperty <connName> [-file <propfile>]

Displays the logging information for a specified connection. If you specify -file, -getProperty writes the logging information to a file specified by logFile.

-import <conn_name> <conn_prop_file> [-override]

Adds a new connection. If you specify -override, -import updates the connection property information for an existing connection.

-list

Lists all known connections.

-ping <conn_name> <pingType>

Verifies the connection is configured correctly. Valid values are:
  • ALL

  • IBMMQ

  • TIBCO

  • JMS

  • DATABASE

    REPLICATION

  • INBOUND

  • OUTBOUND

-refresh <conn_name>

Refreshes a specific connection.

-refreshAll

Refreshes all connections.

-rename <conn_name> <new_conn_name>

Renames a connection.

-start <conn_name>

Starts a specific connection.

-startAll

Starts all connections

-status <conn_name>

Lists connection status. If no connection name is specified, this command option gives the status of all known connections.

Valid values are:

  • STARTING

  • RUNNING

  • STOP

-stop <conn_name>

Stops a specific connection.

-stopAll

Stops all running connections.

-validate <conn_prop_file>| | <conn_name>

Validates a new connection profile or an existing connection.