-getProperty

Description

Retrieves the connection property information for a connection.

Syntax

ratool -getProperty <connection_name> [-file <props_file>]

Parameters

connection_name

The name of the connection for which you want log information.

props_file

The name of the file to which you are sending the connection property information.

Examples

Example 1

To get the connection property information for connection RepToJMS:

ratool -getProperty RepToJMS

Example 2

To get the connection property information for connection RepToJMS and send it to RepToJMS.props:

ratool -getProperty RepToJMS -file RepToJMS.props

Example 3

To get the connection property information for connection RepToJMS and send it to the default connection file (defaultRepToJMS.props):

ratool -getProperty RepToJMS -file

Usage

The information returned is in the form of a name/value pair. By default, the information is sent to standard output (stdout). If you specify -file, the connection property information is sent to the specified file name. If you specify -flag without a corresponding file name, the log information is sent to a default file, default<connection_name>.props.