Use the Create Server wizard to create a DirectConnect service.
The path to the DB2 UDB ODBC Driver file, for example:
/software/IBM/db2_09_01/lib/libdb2.so
On UNIX or Linux, the DB2 UDB script file that must be sourced before the DirectConnect service is started.
If you have customized the DB2 UDB environment script, use the path to that script. Otherwise, use the path to the original DB2 UDB 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 DB2 UDB script for Bourne or Korn shell, enter:
. path/sqllib/db2profile
where path is the home directory of the owner of the replicate DB2 UDB 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.