分类:
2007-12-26 22:43:02
LANG=C
Ensure that the environment variable LOTUS is set as shown below:
If you use the C shell, your .login file should contain the line:
setenv LOTUS /opt/lotus
For sh or ksh, your initialization file should contain the following:
LOTUS=/opt/lotus; export LOTUS
To modify odbc.ini for SQL, add the following lines below the [SQL Server Wire Protocol] paragraph:
[ODBCToSQLServer7] 这个名字和odbc.ini中最开头的设置要对应起来, 如果需要多个ODBC设置,相应地也要在最开头增加一项,然后在下面增加相应的区段 内容与之对应。 Driver=/opt/odbc/lib/LOmsss19.so Description=DataDirect 4.20 SQL Server Wire Protocol Address=127.0.0.3,1433 AnsiNPW=Yes Database=testdb LogonID=uid Password=pwd QuotedId=No |
The following table lists the code, along with any further edits you need to make:
Line | Comments |
[ODBCToSQLServer7] | Replace the name in brackets with your Data Source Name. |
Driver=/opt/odbc/lib/LOmsss19.so | This identifies the Lotus OEM ODBC driver. This changes from one release to the next. |
Description=DataDirect 4.20 SQL Server Wire Protocol | This is the description of the driver; leave as is. |
Address=127.0.0.3,1433 | Enter the address, followed by port number. |
AnsiNPW=Yes | When field is set to yes, ANSI defined behaviors are uncovered. Do not change this setting. |
Database=testdb | Enter the database name. |
LogonID=uid | Enter the user ID for your LogonID. |
Password=pwd | Enter the password for the LogonID. |
QuotedId=No | When field is set to No, Quoted Identifiers are turned off for the connection, and SQL Servers use the legacy Transact SQL rules concerning the use of quotation marks in SQL statements. Do not change this setting. |