Many of your DB2 client tools (eg db2 command line) use CLI to communicate directly with the DB2 server.
You will be able to write applications using CLI APIs directly .. Have a look at the CLI Guide and refernece that documents all the API and their usage ...
BTW, the IBM DB2 ODBC driver 'translates' ODBC Compliant requests to DB2 CLI requests. In other words, when using ODBC you are in turn using the CLI library.
IF you can be more specific about your requirement, someone may be able to guide you
HTH
Sathyaram
Quote:
|
Originally Posted by oferc
Hi all,
I wonder,
Is it possibe to connect to the DB server, using the CLI API without setting and configuring before the ODBC setting with the DB2 data source? or in other words how do i configure the CLI client to use the CLI driver instead of the microsoft ODBC driver ? and can i connect to the DB using the DB name and not the ODBC fata source name ?
Thanks in advance
Ofer
|