This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:odbc:filedsn [2011/01/12 18:29] els created |
dev:odbc:filedsn [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== Development: ODBC Interface ====== | ====== Development: ODBC Interface ====== | ||
- | [[dev:odbc:home|Overview]] | **[[dev:odbc:datasources|ODBC Datasources]]** | [[dev:odbc:sample|Sample Program]] | + | **[[dev:odbc:datasources|Back to ODBC Datasources]]** |
---- | ---- | ||
Line 23: | Line 23: | ||
ClientTraceOutput=<ON|OFF|ONCE> | ClientTraceOutput=<ON|OFF|ONCE> | ||
- | ClientTraceFile=<filename> odxodbc.log | + | ClientTraceFile=<filename> |
ClientTraceOverwrite=ON | ClientTraceOverwrite=ON | ||
ClientTraceClocks=ON | ClientTraceClocks=ON | ||
Line 35: | Line 35: | ||
[ODBC] | [ODBC] | ||
- | === Driver === | + | === Driver= === |
The Driver entry is required and should always be set to Omnidex. This will then match the registered name of the Omnidex ODBC Driver. | The Driver entry is required and should always be set to Omnidex. This will then match the registered name of the Omnidex ODBC Driver. | ||
Line 41: | Line 41: | ||
Driver=Omnidex | Driver=Omnidex | ||
- | === ConnectionString === | + | === ConnectionString= === |
- | The ConnectionString entry is required and should be set to an [[dev:sql:connections:home|Omnidex Connection String]]. | + | The ConnectionString entry is required and should be set to an [[dev:connections:home|Omnidex Connection String]]. |
ConnectionString=[server1:7555]c:\class\simple.xml | ConnectionString=[server1:7555]c:\class\simple.xml | ||
| | ||
- | === ClientTraceOutput === | + | === ClientTraceOutput= === |
- | + | ||
- | The ClientTraceOutput entry is optional and controls whether the Client Trace feature is active. The Client Trace feature produces a log file on the ODBC Client that is useful for debugging. The ClientTraceOutput entry should be set to one of the following: | + | |
- | + | ||
- | ^ Setting ^ Description ^ | + | |
- | | ON | Turn on the Client Trace facility | | + | |
- | | OFF | Turn off the Client Trace facility | | + | |
- | | ONCE | Turn on the Client Trace facility for one connection only | | + | |
- | + | ||
- | === ClientTraceOutput === | + | |
The ClientTraceOutput entry is optional and controls whether the Client Trace feature is active. The Client Trace feature produces a log file on the ODBC Client that is useful for debugging. The ClientTraceOutput entry should be set to one of the following: | The ClientTraceOutput entry is optional and controls whether the Client Trace feature is active. The Client Trace feature produces a log file on the ODBC Client that is useful for debugging. The ClientTraceOutput entry should be set to one of the following: | ||
Line 67: | Line 58: | ||
ClientTraceOutput=ON | ClientTraceOutput=ON | ||
- | === ClientTraceFile === | + | === ClientTraceFile= === |
The ClientTraceFile entry is optional and controls where the Client Trace log file will be written. If not specified, the Client Trace log file will be named "ODXODBC.LOG" and will be placed in the current working directory for the client process. | The ClientTraceFile entry is optional and controls where the Client Trace log file will be written. If not specified, the Client Trace log file will be named "ODXODBC.LOG" and will be placed in the current working directory for the client process. | ||
- | |||
- | Client | ||
- | ^ Setting ^ Description ^ | ||
- | | ON | Turn on the Client Trace facility | | ||
- | | OFF | Turn off the Client Trace facility | | ||
- | | ONCE | Turn on the Client Trace facility for one connection only | | ||
ClientTraceFile=c:\class\myodbc.log | ClientTraceFile=c:\class\myodbc.log | ||
- | === ClientTraceOverwrite === | + | === ClientTraceOverwrite= === |
The ClientTraceOverwrite entry is optional and controls whether the Client Trace log file will be overwritten. If not specified, the Client Trace log file will not be overwritten. | The ClientTraceOverwrite entry is optional and controls whether the Client Trace log file will be overwritten. If not specified, the Client Trace log file will not be overwritten. | ||
Line 85: | Line 70: | ||
ClientTraceOverwrite=ON | ClientTraceOverwrite=ON | ||
- | === ClientTraceClocks === | + | === ClientTraceClocks= === |
The ClientTraceClocks entry is optional and controls whether the Client Trace log file will contain timing information. If not specified, the Client Trace log file will not contain timing information. | The ClientTraceClocks entry is optional and controls whether the Client Trace log file will contain timing information. If not specified, the Client Trace log file will not contain timing information. | ||
ClientTraceClocks=ON | ClientTraceClocks=ON | ||
+ | |||
+ | ==== ==== | ||
+ | **[[dev:odbc:datasources|Back to ODBC Datasources]]** | ||
====== Additional Resources ====== | ====== Additional Resources ====== | ||
Line 95: | Line 83: | ||
See also: | See also: | ||
- | {{page>:dev:see_also:see_also&nofooter&noeditbtn}} | + | {{page>:dev:see_also&nofooter&noeditbtn}} |
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} | ||
- | ### | ||
- | ===== ===== | ||
- | |||
- | **[[prev|Prev]]** | **[[next|Next]]** | ||
- | |||
- | ====== Additional Resources ====== | ||
- | |||
- | See also: | ||
- | |||
- | {{page>:section:chapter:see_also&nofooter&noeditbtn}} | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} |