Connection String Keywords
The PxPlus SQL ODBC Driver recognizes keywords as part of a connection string. The format is keyword=value (case insensitive) with multiple entries separated by ; (semi-colon).
Example:
DSN=MyDSN;UID=John;PWD=foo;Company=ABCThis table lists the keywords:
Keyword | Description |
|---|---|
DSN | Name of the DSN to use for default values. |
FileDSN | Name of the file DSN to use for default values. |
Driver | Name of the Driver to use (DSN-less connection). |
Description | (Optional) Description of the DSN. |
InstallDir | (UNIX/Linux Only) Directory in which the ODBC Driver was installed. (InstallDir support was added in PxPlus 2020.) |
Directory | Directory containing the providex.ddf file if defining local DSN. See Configure Data Source Name (DSN). |
IniFile | Directory and file name of the INI file to be used if defining local DSN. See Configure Data Source Name (DSN). |
Prefix | Data search prefix. |
RemotePVKIOHost | Server name or IP address of the server. |
RemotePVKIOPort | Port that the server is monitoring. |
SSL | 0 - Unencrypted TCP/IP communication (SSL support was added in version 8.00.0000/PxPlus 2024.) |
Catalog | Name of catalog. A catalog defines a remote data dictionary and/or INI file and optionally a prefix if defining remote DSN. See Configure Data Source Name (DSN). A maximum number of 256 catalogs may be defined. (Catalog support was added in PxPlus 2018.) |
Compression | Using ZLib compression to minimize network traffic between the client and the server |
Company | Company Code |
UID | User ID |
PWD | Password |
SID | Session ID |
ViewDLL | Location of the Views DLL/SO |
BurstMode | 0 - Burst mode Off |
DirtyReads | 0 - Dirty read Off |
Debug | 0 - Debug output Off |
Silent | 0 - Silent Off |
KeyRestrict | 0 - Report key columns |
EnforceDouble | 0 - Do not force numerics to double |
EnforceNullDate | 0 - Null date Off |
StripTrailingSpaces | 0 - Do not strip trailing spaces from key values when joining multiple tables (StripTrailingSpaces support was added in PxPlus 2017.) |
ReadOnly | 0 - Connection may allow Write access |
LegacyNULL | 0 - Columns are defined as not nullable (LegacyNULL support was added in PxPlus 2017.) |
LogFile | Path and name of the file to which to write debug output |