You can set driver keywords using the following methods, or a combination of the following:
To specify a setting using an ODBC connection string, code the keyword in your program, as shown in the following example:
rc = SQLDriver Connect (hdbc, NULL, (u_char far *) "NOAS=no;" "UID=ai00xyz;PWD=abcdef;" "PORT=1200;HOST=129.4.0.160;" "LGID=dan;" "DSN=Tuld;"
The following example shows how to set a keyword value using the ODBC.INI file:
Driver=C:\WINDOWS\SYSTEM\scodbc.dll Description=Sample Shadow Direct Driver APPL=ODBC LINK=TCPIP LGID=ita UID=ai00xyz PWD=abcdef HOST=129.4.0.160
Keywords can also be set using the MAS ODBC Datasource Administrator. This method can be used after the MAS ODBC driver has been installed and configured. To use this method:
The system displays the following screen:
The system displays the following screen:
The system displays the following screen:
The system displays the following screen: