Use the following syntax when making a direct connection with the different types of supported databases (as opposed to using an ODBC DSN). These strings are used in the database configuration file and in Enterprise Server.
Syntax:
Driver={ODBC Driver 13 for SQL Server};<connection-options>
or
Driver={Odbc Driver 17 for SQL Server};<connection-options>
Example:
Driver={ODBC Driver 13 for SQL Server};Server=localhost;Database=VSAM;Trusted_Connection=yes
Syntax:
Driver={<PostgreSQL-driver-name>};<connection-options>
Example:
Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=VSAM;Uid=mfdbfh;Pwd=MfdbfhAdm!n5;
Syntax:
db=<database/alias name;>;uid=<user name>;pwd=<password>
Example:
db=VSAM;uid=mfdbfh;pwd=MfdbfhAdm!n5
Syntax:
Driver={IBM DB2 ODBC DRIVER};<connection-options>
Example:
Driver={IBM DB2 ODBC DRIVER};Database=VSAM;Hostname=localhost;Port=50000;Protocol=TCPIP;uid=mfdbfh;pwd=MfdbfhAdm!n5
Syntax:
<user name>/<password>@<db-name>
Example:
mfdbfh/MfdbfhAdm!n5@DBFHTEST