Export a sqlnet file (SQLNetExport)

That SQLNetExport command exports sqlnet.ora configuration (that had previously been imported) from the specified version of the model, typically to a specified file.

ttGridAdmin SQLNetExport [-latest|-current|-version n] [filepath]

Options

The SQLNetExport command has the options:

Option Description

-latest

Export sqlnet.ora configuration from the latest model—the model being modified and not yet applied to the grid. This is the default.

-current

Export sqlnet.ora configuration from the current model—the model most recently applied to the grid.

-version n

Export sqlnet.ora configuration from the specified version number of the model.

filepath

Path and name of the file that will contain the exported sqlnet.ora configuration. If no file is specified, the export goes to stdout.

Examples

This example exports sqlnet.ora from the latest version of the model (by default) then shows the contents of the file.

% ttGridAdmin SQLNetExport /sw/tten/grid/misc/sqlnet.ora
% cd /sw/tten/grid/misc
% more sqlnet.ora
# To use ezconnect syntax or tnsnames, the following entries must be
# included in the sqlnet.ora configuration.
#
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)