Have a look at these references:
Luis Fernandes wrote:
can someone help me in how to trace a database activity ?
i want make a trace in all queries that come against the
database ( as/400 ).
In Sql server ( Microsoft ) this job is very easy, i use the
profiler to create a new trace, and its done. But i dont know
how to to this in as/400.
Resume : I need to know all querys that user, aplication, and
other, make against the database, its possible ?