List and validate ODBC DSNs in the system

Available Sub Commands

list-dsns

List available ODBC DSNs in the system

List DSNs Arguments

Argument

Description

-h [ --help ]

Display this message

--dsn-arch arg

Which set of DSNs to list; 32 bit or 64 bit. Valid values are 32 and 64. If omitted then both are listed.

validate-dsn

Validate a DSN by attempting to connect with it

Validate DSN Arguments

Argument

Description

-h [ --help ]

Display this message

--dsn arg

Data Source Name (DSN) to validate

--dsn-arch arg

The architecture of the DSN; 32 bit or 64 bit. Valid values are 32 and 64.

--user-name arg

User name to connect with

--password arg

Password for the user name

--con-string arg

ODBC connection string for the metadata repository when using Advanced Connect. This arg will override the values stored in the RED Profile if provided. Accepts RED tokens $DSN$, $USER$ and $PASSWORD$.

Odbc Arguments

Argument

Description

-h [ --help]Displays This message

Common Arguments

The following arguments are used on most of the commands available in RedCli:
ArgumentDescription

 -c [ --config-file ] <arg>

A configuration file that contains program options (format is INI file)
-o [ --output-mode ] <arg>Either human, json or xml.
-l [ --log-level ] <arg>Log level, 0-5 inclusive. 0=only fatal errors, 5=all logging messages.

  • No labels