Below you find the steps needed to collect trace data from a DB2 connection using the data providers shipped with HIS 2006: 

  • Navigate to the Start menu, select Run, type snatrace and hit Enter;
  • On the SNA Trace Utility window, click Clear All Traces and Purge All Trace Files;
  • In the List of Trace Items select DB2 Network Library and click the Properties button;
  • Click the Set All button in the Internal Trace, Message Trace and API Trace dialog boxes;
  • Click OK, OK and YES;
  • Execute the execute the operations that causes the error;
  • Navigate to the Start menu, select Run, type snatrace and hit Enter;
  • Click Clear All Traces;
  • Click OK;
  • In the trace folder (usually <install dir>\traces) you will find the DB trace files.

Interpreting traces will be the topic of a future post.