23 The Driver for the Teradata Database : Connection Option Descriptions

Connection Option Descriptions
The following connection option descriptions are listed alphabetically by the GUI name that appears on the driver Setup dialog box. The connection string attribute name, along with its short name, is listed immediately underneath the GUI name. For example:
Application Using Threads
Attribute
ApplicationUsingThreads (AUT)
In most cases, the GUI name and the attribute name are the same; however, some exceptions exist. If you need to look up an option by its connection string attribute name, please refer to the alphabetical table of connection string attribute names.
Also, a few connection string attributes, for example, Password, do not have equivalent options that appear on the GUI. They are in the list of descriptions alphabetically by their attribute names.
Table 23-1 lists the connection string attributes supported by the driver.
Account String
Attribute
AccountString (AS)
Description
An account string. For a complete description of account strings, refer to the Teradata Database Administration Guide.
Valid Values
string
where string is an account string.
Default
None
GUI Tab
General tab
Authentication Password
Attribute
AuthenticationPassword (AP)
Description
The password for the Kerberos, LDAP, NTLM, and TD authentication mechanisms. The Authentication Password option cannot be specified through the driver Setup dialog box and should not be stored in a data source. It is specified through the Logon dialog box or a connection string.
Valid Values
pwd
where pwd is a valid password.
Default
None
GUI Tab
n/a
Authentication UserID
Attribute
AuthenticationUserId (AUI)
Description
The user ID for the Kerberos, LDAP, NTLM, and TD authentication mechanisms.
Valid Values
userid
where userid is a valid user ID.
Default
None
GUI Tab
General tab
DBCName List
Attribute
n/a
Description
A list of IP addresses or aliases to appear in the drop-down list of the Logon dialog box (see “Using a Logon Dialog Box” for a description). The DBCName List option is not used as a runtime connection attribute.
Valid Values
ip_address | alias [,ip_address | alias][...]
where
ip_address is an IP address to appear in the drop-down list of the Logon dialog box.
alias is an alias to appear in the drop-down list of the Logon dialog box.
Separate multiple IP addresses or aliases with commas. The same restrictions apply as described for the DBCName or Alias option.
Default
None
GUI Tab
General tab
DBCName or Alias
Attribute
DBCName (DBCN)
Description
The IP address or alias of the Teradata server.
Valid Values
IP_address | alias
where
IP_address is the IP address of the Teradata server.
alias is the alias of the Teradata server.
If set to IP_address, the time the driver waits for connections to be established is faster. The disadvantage is that if the server designated by that IP address is unavailable, the connection fails and the driver does not attempt to fail over to another IP address.
If set to alias, the time the driver waits for connections to be established is slower because the driver must search a local hosts file to resolve the alias to an IP address. The advantage is that the driver fails over the connection to an alternate IP address if the first address fails.
To use aliases, a local hosts file that maps aliases to IP addresses is required. Aliases cannot be more than eight characters. In the hosts file, you must specify the aliases and map each of them to an IP address in the order that you want the driver to attempt the connections. For example:
167.56.78.1 (NCR5100COP1)
167.56.78.2 (NCR5100COP2)
167.56.78.3 (NCR5100COP3)
where NCR5100 is an alias and COPn (where n = 1, 2, 3, ..., 128) is a suffix that sets the order of failover connection attempts. The eight-character limit on the alias does not include the suffix. You can enter a maximum of 128 COP (communications processor) entries per host.
NOTE: Although you must add a COP suffix to the alias in the hosts file, do not specify the suffix when entering the alias in the DBCName or Alias field of the Setup dialog box. Only specify the alias.
Default
None
GUI Tab
General tab
Default Database
Attribute
Database (DB)
Description
The name of the database to which you want to connect.
Valid Values
database_directory
where database_directory is the full path name of the directory in which the data files are stored. If no directory is specified, the current working directory is used.
Default
None
GUI Tab
General tab
Default Role
Attribute
TDRole (TDR)
Description
Specifies the Teradata role for the LDAP authentication mechanism.
Valid Values
string
where string is a valid role.
Default
None
GUI Tab
General tab
Description
Attribute
Description (n/a)
Description
An optional long description of a data source. This description is not used as a runtime connection attribute, but does appear in the ODBC.INI section of the Registry and in the odbc.ini file.
Valid Values
string
where string is a description of a data source.
Default
None
GUI Tab
General tab
Enable Data Encryption
Attribute
EnableDataEncryption (EDE)
Description
Determines whether the driver uses data encryption.
Valid Values
1 | 0
If set to 1 (Enabled), the driver encrypts data and communicates with the Teradata gateway using encryption.
NOTE: Before you use this value, verify that the server is encryption capable. Data encryption may adversely affect performance because of the additional overhead (mainly CPU usage) required to encrypt and decrypt data.
If set to 0 (Disabled), the driver does not encrypt data except for logon information.
Default
0 (Disabled)
GUI Tab
Options tab
Enable Extended Statement Information
Attribute
EnableExtendedStmtInfo (EESI)
Description
Determines whether the driver supports extended statement information.
Valid Values
1 | 0
If set to 1 (Enabled), the driver queries the server to see if it supports the Statement Information parcel. If the server supports the Statement Information parcel, the driver requests the Statement Information parcel and enables auto-generated key retrieval and SQLDescribeParam support. Use this value if you want to enable the Return Generated Keys option.
If set to 0 (Disabled), the driver does not attempt to expose auto-generated key retrieval or SQLDescribeParam.
Default
0 (Disabled)
GUI Tab
Options tab
Enable LOBs
Attribute
EnableLOBs (EL)
Description
Determines whether the driver enforces native LOB data type mapping.
Valid Values
1 | 0
If set to 1 (Enabled), the driver enforces native LOB data type mapping as described:
If set to 0 (Disabled), the driver provides backward compatibility for applications without LOB support that are using a version of Teradata Database prior to V2R5.1. The mappings are:
This value can improve performance if your application does not send data to, or retrieve it from, LOB columns. You may receive an error if you disable this option and try to retrieve data from a LOB column.
Default
1 (Enabled)
GUI Tab
Options tab
Enable Reconnect
Attribute
EnableReconnect (ER)
Description
Determines whether the driver will reconnect after a system crash or reset is detected.
Valid Values
1 | 0
If set to 1 (Enabled), the driver attempts to reconnect to the saved sessions; however, sessions cannot be reconnected until the Teradata system is available. After a session has been reconnected, applications can expect to receive error messages describing why the ODBC function failed, as well as a status report describing the post-recovery state.
If set to 0 (Disabled), the driver does not attempt to reconnect to the saved sessions.
Default
0 (Disabled)
GUI Tab
Options tab
IANAAppCodePage
Attribute
IANAAppCodePage (IACP)
Description
An Internet Assigned Numbers Authority (IANA) value. You must specify a value for this option if your application is not Unicode‑enabled or if your database character set is not Unicode. Refer to Chapter 4 “Internationalization, Localization, and Unicode” in the DataDirect Connect Series for ODBC Reference for details.
The driver uses the specified IANA code page to convert "W" (wide) functions to ANSI.
The driver and Driver Manager both check for the value of IANAAppCodePage in the following order:
If the driver does not find an IANAAppCodePage value, the driver uses the default value of 4 (ISO 8859-1 Latin-1).
Valid Values
IANA_code_page
where IANA_code_page is one of the valid values listed in Chapter 1 “Values for the Attribute IANAAppCodePage” in the DataDirect Connect Series for ODBC Reference. The value must match the database character encoding and the system locale.
Default
4 (ISO 8559-1 Latin-1)
GUI Tab
Advanced tab
Integrated Security
Attribute
IntegratedSecurity (IS)
Description
Determines whether the driver allows the user to connect to the database using Single Sign On (SSO) through an authentication mechanism that supports SSO.
Valid Values
Yes | No
If set to Yes (Enabled), SSO is allowed. The driver uses the operating system user ID and password.
If set to No (Disabled), you must specify a value for the UserID option.
Default
No (Disabled)
GUI Tab
General tab
Login Timeout
Attribute
LoginTimeout (LTO)
Description
The number of seconds to wait when establishing a virtual circuit with Teradata for login.
Valid Values
x
where x is a positive integer.
If set to x, the driver waits the specified number of seconds.
Default
20
GUI Tab
Advanced tab
Map Call Escape to Exec
Attribute
MapCallEscapeToExec (MCETE)
Description
Determines whether the driver converts the {CALL <name>(...)} statement to EXEC name(...).
Valid Values
Yes | No
If set to Yes (Enabled), the driver considers the {CALL <name>(...)} statement as the SQL for MACRO execution and converts it to EXEC name(...).
If set to No (Disabled), the driver does not convert {CALL name(...)} statements to EXEC name(...), and considers them as CALL statements for Stored Procedure Execution.
Default
No (Disabled)
GUI Tab
Options tab
Maximum Response Buffer Size
Attribute
MaxRespSize (MRS)
Description
The size of the Teradata response buffer used for SQL requests. This value may be adjusted dynamically if Teradata cannot send a result within the defined size.
Valid Values
A positive integer from 1 to 65477
If using a slow TCP/IP interface, such as PPP or SLIP, enter a smaller value. If you expect to retrieve large result sets in a LAN environment, set a larger value.
Default
8192
GUI Tab
Advanced tab
Name
Attribute
DataSourceName (DSN)
Description
The name of a data source in your Windows Registry or odbc.ini file.
Valid Values
string
where string is the name of a data source.
Default
None
GUI Tab
General tab
Password
Attribute
Password (PWD)
Description
The password that the application uses to connect to your database. The Password option cannot be specified through the driver Setup dialog box and should not be stored in a data source. It is specified through the Logon dialog box or a connection string.
Valid Values
pwd
where pwd is a valid password.
Default
None
GUI Tab
n/a
Port Number
Attribute
PortNumber (PORT)
Description
The port number of the server listener.
Valid Values
port_name
where the port_name is the port number of the server listener. Check with your database administrator for the correct number.
Default
1025
GUI Tab
Advanced tab
ProcedureWithPrintStmt
Attribute
PrintOption (PO)
Description
Determines whether the driver activates the print option when creating stored procedures.
Valid Values
P | N
If set to P (Print), the driver activates the print option.
If set to N (No), the driver does not activate the print option.
Default
N (No)
GUI Tab
Advanced tab
ProcedureWithSPLSource
Attribute
ProcedureWithSPLSource (PWSS)
Description
Determines whether the drive specifies SPL text when creating stored procedures.
Valid Values
Y | N
If set to Y (Yes), the driver specifies SPL text.
If set to N (No), the driver does not specify SPL text.
Default
Y (Yes)
GUI Tab
Advanced tab
Profile
Attribute
TDProfile (TDP)
Description
Specifies the Teradata profile for the LDAP authentication mechanism.
Valid Values
string
where string is a valid profile.
Default
None
GUI Tab
General tab
Realm
Attribute
AuthenticationDomain (AD)
Description
Specifies the domain appropriate to the selected authentication mechanism
Valid Values
string
where string is a valid domain.
Default
None
GUI Tab
None
Report Codepage Conversion Errors
Attribute
ReportCodepageConversionErrors (RCCE)
Description
Specifies how the driver handles code page conversion errors that occur when a character cannot be converted from one character set to another.
An error message or warning can occur if an ODBC call causes a conversion error, or if an error occurs during code page conversions to and from the database or to and from the application. The error or warning generated is Code page conversion error encountered. In the case of parameter data conversion errors, the driver adds the following sentence: Error in parameter x, where x is the parameter number. The standard rules for returning specific row and column errors for bulk operations apply.
Valid Values
0 | 1 | 2
If set to 0 (Ignore Errors), the driver substitutes 0x1A for each character that cannot be converted and does not return a warning or error.
If set to 1 (Return Error), the driver returns an error instead of substituting 0x1A for unconverted characters.
If set to 2 (Return Warning), the driver substitutes 0x1A for each character that cannot be converted and returns a warning.
Default
0 (Ignore Errors)
GUI Tab
Options tab
Security Mechanism
Attribute
SecurityMechanism (SECM)
Description
The authentication method to be used by the driver for connections to the database.
Valid Values
TD1 | TD2 | ldap | KRB5 | KRB5C | NTLM | NTLMC
If set to TD1, the driver uses Teradata 1.
If set to TD2, the driver uses Teradata 2.
If set to ldap, the driver uses LDAP.
If set to KRB5, the driver uses Kerberos on Windows clients working with Windows servers if the server is V2R6.0.
If set to KRB5C, the driver uses Kerberos Compatibility on Windows clients working with Windows servers if the server is pre-V2R6.0.
If set to NTLM, the driver uses NTLM on Windows clients working with Windows servers if the server is V2R6.0.
If set to NTLMC, the driver uses NTLM Compatibility on Windows clients working with Windows servers if the server is pre-V2R6.0.
NOTE: Kerberos and NTLM are enabled through the Teradata client. See your Teradata documentation for requirements.
The following options may appear, based on the selected method:
User name: A user name for the default Teradata database. If TeraSSO allows fully qualified user names, the user name may contain a domain or realm, for example, {judy@linedata}. Values containing a character like @ must be enclosed in braces.
Authentication UserID: The Kerberos user ID.
Realm: The Kerberos domain. (The equivalent connection string attribute is AuthenticationDomain.)
Authentication UserID: The LDAP user ID.
Realm: The LDAP domain. (The equivalent connection string attribute is AuthenticationDomain.)
TD User name: The Teradata user name.
Profile: The Teradata Profile. (The equivalent connection string attribute is TDProfile.)
Default Role: The Teradata Role. (The equivalent connection string attribute is TDRole.)
Authentication UserID: The NTLM user ID.
Realm: The NTLM domain. (The equivalent connection string attribute is AuthenticationDomain.)
Authentication UserID: The TD1 or TD2 user ID.
Other parameters for the authentication mechanism can be entered in the Security Parameter field.
Default
None
GUI Tab
General tab
Security Parameter
Attribute
SecurityParameter (SP)
Description
A string that is passed as a parameter to the authentication method. The string is ignored by the ODBC driver and is passed to the TeraSSO function that is called to set the authentication method.
Valid Values
string
where string is a string of characters. The characters [] {} () , ; ? * = ! @ must be enclosed in curly braces.
Default
None
GUI Tab
General tab
Session Character Set
Attribute
CharacterSet (CS)
Description
A character set used to override the Teradata character set.
Valid Values
ASCII | UTF16 (valid only for V2R6.x servers) | LATIN1252_0A | LATIN9_0A | LATIN1_0A | Shift-JIS | EUC | BIG5 | GB | NetworkKorean
The specified character set must be installed on the database.
Default
ASCII
GUI Tab
General tab
Show Selectable Tables
Attribute
ShowSelectableTables (SST)
Description
Determines whether the driver supports X views.
Valid Values
Yes | No
If set to Yes (Enabled), SQLTables() and SQLProcedures() use dbc.tablesX and dbc.databasesX instead of dbc.tables and dbc.databases. Also, SQLColumns() and SQLProcedureColumns() use dbc.columnsX instead of dbc.columns. SqlStatistics() uses dbc.tablesizeX instead of dbc.tablesize. The X tables only contain information that the user has permission to access. These tables are optional for Teradata, so verify that they exist.
If set to No (Disabled), SQLTables() and SQLProcedures() use dbc.tables and dbc.databases. Also, SQLColumns() and SQLProcedureColumns() use dbc.columns. SqlStatistics() uses dbc.tablesize.
Default
Yes (Enabled)
GUI Tab
Options tab
TDUserName
Attribute
TDUserName (TDUN)
Description
Specifies the Teradata user name for the LDAP authentication mechanism.
Valid Values
user_name
where user_name is a valid user name.
Default
None
GUI Tab
General tab
UserID
Attribute
UserID (UID)
Description
The default user ID that is used to connect to your database. Your ODBC application may override this value or you may override it in the logon dialog box or connection string.
Valid Values
userid
where userid is a valid user ID with permissions to access the database.
The user name is interpreted in the context of the authentication mechanism. If, for example, the authentication mechanism is NTLM, the user name is assumed to be a Windows user name.
If TeraSSO allows fully qualified user names, the user name may contain a domain or realm, for example, {judy@linedata}. Values containing a character such as @ must be enclosed in curly braces.
SSO is indicated by the absence of a UserID.
Default
None
GUI Tab
General tab