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 of the connectable object to export. |
|
|
Path and name of the connectable file to create, typically a 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.