By default, ODBC Driver Manager Trace is turned off in PowerBuilder. You can start it in order to trace your ODBC connection in two ways:
Edit your database profile in the PowerBuilder development environment
Edit a script in a PowerBuilder application