TDS ProtocolCapture

Adaptive Server Enterprise ODBC Driver 15.7 introduces the ProtocolCapture connection string property which specifies a file for receiving Tabular Data Stream (TDS) packets exchanged between an ODBC application and Adaptive Server.

ProtocolCapture takes effect immediately so that TDS packets exchanged during connection establishment are written to a unique filename generated using the file prefix. TDS packets are written to the file for the duration of the connection. You can use Ribo and other protocol translation tools to interpret the TDS capture file.

For example, to specify tds_capture as the TDS tracing log file prefix, type:
Driver=AdaptiveServerEnterprise;server=server1;
port=port1;UID=sa;PWD=;ProtocolCapture=tds_capture;
The first connection generates tds_capture0.tds, the second generates tds_capture1.tds, and so forth.