exec sql set trace off
After this statement, writing of the SQL statements into a trace file is suppressed.