Use the Create Server wizard to create a DirectConnect service.
The path to the IBM DB2 Universal database ODBC Driver file, for example:
/software/IBM/db2_09_01/lib/libdb2.so
On UNIX or Linux, the DB2 script file that must be sourced before the DirectConnect service is started.
If you have customized the IBM DB2 Universal Database environment script, use the path to that script. Otherwise, use the path to the original IBM DB2 Universal Database script, either db2cshrc or db2profile.
For example, to use your customized script for C shell, enter:
source path/mydb2cshrc
where path is the full path to the directory in which you saved your customized file.
For example, to use the original IBM DB2 Universal Database script for Bourne or Korn shell, enter:
. path/sqllib/db2profile
where path is the home directory of the owner of the replicate IBM DB2 Universal Database instance.
[Service Library] {Logging} LogSvcLibStatistics=0 {Client Interaction} SvclibDescription=Access Service Library for ODBC [my_udb_access_service] {ACS Required} ConnectionSpec1=my_udb_datasource_name
cd /software/sybase/DC-15_0
DCStart -Sservicename &
where servicename is the name of the DirectConnect service.