You can set SQLIDEBUG variable in your connection string to the specific trace file.(you'll get a binary trace, that you can read by a special utility-sqliprint)
But it is recommended used this feature only when directed by an IBM technical support(suppose for performance issues).
Also consider using global sql tracing('set sql tracing' command, or 'SQLTRACE' onconfig parameter)