INDCONN Macro Variable

The INDCONN macro variable is used to provide credentials to connect to Netezza. You must specify server, user, password, and database information to access the machine on which you have installed the Netezza data warehouse. You must assign the INDCONN macro variable before the %INDNZ_PUBLISH_MODEL or the %INDNZ_CREATE_MODELTABLE macros are invoked.
Here is the syntax for the value of the INDCONN macro variable:
SERVER=server USER=user PASSWORD=password DATABASE=database
<SCHEMA=schema-name>
Arguments

SERVER=server

specifies the Netezza server name or the IP address of the server host.

USER=user

specifies the Netezza user name (also called the user ID) that is used to connect to the database.

PASSWORD=password

specifies the password that is associated with your Netezza user ID.

Tip Use only PASSWORD=, PASS=, or PW= for the password argument. PWD= is not supported and causes an error.

DATABASE=database

specifies the Netezza database that contains the tables and views that you want to access.

Requirement You must specify the DATABASE= argument if you use the SAS Embedded Process.

SCHEMA=<'>schema-name<'>

specifies the name of the schema where the models are published.

Restriction This argument is supported only on Netezza v7.0.3 or later.
Interaction The schema that is specified by the publishing macros’ DBSCHEMA= argument takes precedence over the schema that you specify in the INDCONN macro variable. If you do not specify a schema in the DBSCHEMA= argument or the INDCONN macro variable, the default schema for the target database is used.
Tip
The INDCONN macro variable is not passed as an argument to the %INDNZ_PUBLISH_MODEL macro. This information can be concealed in your SAS job. For example, you can place it in an autoexec file and apply permissions to the file so that others cannot access the user credentials.