export ODBCHOME=/dbi/odbc/gpl94m3 export ODBCINI=/dbi/odbc/gpl94m3/odbc.ini export ODBCINST=/dbi/odbc/gpl94m3/odbcinst.ini export GPHOME_LOADERS=/dbi/greenplum/4.2.6/gpfdist export GPLOAD_HOST=mynode.abc.123.com export GPLOAD_HOME=/tmp LD_LIBRARY_PATH=/dbi/odbc/gpl94m3/lib:${LD_LIBRARY_PATH} LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:} export LD_LIBRARY_PATH
driver=sql;conopts=(driver=greenplum;uid=myuid; pwd=MyPasswd;server=greenlight;port=5432; database=sample;catalog=acat)
Option
|
Description
|
---|---|
CATALOG
|
CATALOG=catalog-identifier; Specifies an arbitrary
identifier for an SQL catalog, which groups logically related schemas.
Any identifier is valid (for example,
catalog=gps_test ).
You must specify a catalog. For the Greenplum database, this is a
logical catalog name to use as an SQL catalog identifier.
Note: SAS Federation Server automatically
quotes SQL identifiers that do not meet the regular naming convention
as defined in SAS FedSQL Reference Guide.
|
DATABASE
|
DATABASE=database—name; Identifies the database
to which you want to connect, which resides on the server that was
previously specified by the SERVER option.
|
DRIVER
|
DRIVER=GREENPLUM ;
Specifies the data service
for the Greenplum database to which you want to connect. You must
specify a driver.
|
DSN
|
DSN=data_source_identifer; Identifies the data
source name to which you want to connect.
|
SERVER
|
SERVER=server_name; Identifies the name
of the server where the Greenplum database resides.
|
Windows
|
The options are located
on the Advanced or Performance tabs
in the ODBC Administrator.
|
UNIX
|
The options are available
when configuring data sources using the ODBC Administrator tool. Values
can also be set by editing the
odbc.ini file
in which their data sources are defined.
|