Export a Connectable (connectableExport)

The connectableExport command exports a connectable object and its connection attribute settings, typically to a specified file.

ttGridAdmin connectableExport name 
                              [-file filepath]

Options

The connectableExport command has the options:

Option Description

name

Name of the connectable object to export.

-file filepath

Path and name of the connectable file to create, typically a .connect file for use with connectableCreate or connectableModify. If no file is specified, the export goes to stdout.

Important: If you specify an existing file, it will be overwritten.

Examples

This example exports the connectable created in the connectableCreate example to the file database1client.connect.

% ttGridAdmin connectableExport database1client -file /sw/tten/grid/conndefs/database1client.connect
Connectable database1client exported

Resulting contents of database1client.connect:

# Connectable GUID 3210288C-DF44-447D-ADB6-BDC8F7CFE17C Exported 2017-11-14 17:53:25
[database1client]
ConnectionCharacterSet=AL32UTF8
UID=ttclient

Note:

A typical use case is if you want to modify a connectable, but the original connectable file is no longer available.