The INDCONN macro variable
provides the credentials to make a connection to Greenplum. You must
specify the user, password, and either the DSN or server and database
information to access the machine on which you have installed the
Greenplum database. You must assign the INDCONN macro variable before
the
%INDGP_PUBLISH_COMPILEUDF macro is invoked.
The value of the INDCONN
macro variable for the
%INDGP_PUBLISH_COMPILEUDF macro has one of these formats:
USER=<'>userid<'> PASSWORD=<'>password<'> DSN=<'>dsnname
USER=<'>userid<'> PASSWORD=<'>password<'> SERVER=<'>server<'>
DATABASE=<'>database<'>
- USER=<'>userid<'>
-
specifies the Greenplum
user name (also called the user ID) that is used to connect to the
database. If the user name contains spaces or nonalphanumeric characters,
you must enclose it in quotation marks.
- PASSWORD=<'>password<'>
-
specifies the password
that is associated with your Greenplum user ID. If the password contains
spaces or nonalphabetic characters, you must enclose it in quotation
marks.
Tip:You can use only PASSWORD= or PW= for the password argument.
Other aliases such as PASS= or PWD= are not supported and cause an
error.
- DSN=<'>datasource<'>
-
specifies the configured
Greenplum ODBC data source to which you want to connect. If the DSN
name contains spaces or nonalphabetic characters, you must enclose
it in quotation marks.
Requirement: You must specify either the DSN= argument or the SERVER= and DATABASE=
arguments in the INDCONN macro variable.
- SERVER=<'>server<'>
-
specifies the Greenplum
server name or the IP address of the server host. If the server name
contains spaces or nonalphanumeric characters, you must enclose it
in quotation marks.
Requirement: You must specify either the DSN= argument or the SERVER= and DATABASE=
arguments in the INDCONN macro variable.
- DATABASE=<'>database<'>
-
specifies the Greenplum
database that contains the tables and views that you want to access.
If the database name contains spaces or nonalphanumeric characters,
you must enclose it in quotation marks.
Requirement: You must specify either the DSN= argument or the SERVER= and DATABASE=
arguments in the INDCONN macro variable
Note: The default port that is
specified by Greenplum is 5432.
Note: The
SAS_COMPILEUDF,
SAS_COPYUDF,
SAS_DIRECTORYUDF, and
SAS_DEHEXUDF functions are published
to the SASLIB schema in the specified database. The SASLIB schema
must be created before publishing the
SAS_COMPILEUDF,
SAS_COPYUDF,
SAS_DIRECTORYUDF, and
SAS_DEHEXUDF functions.