I have a strange request from a customer
we are monitoring sql from mon_get_pkg_cache_stmt which gives a summary overview for a statement
the customer asked if it is possible the connect_id that executed a statement or an identification to could inform us who initiated this query
I know that these table functions (MON_GET..) usually do not provide this
the are present in mon_get_activity or similar, but it might be that when running this monitor the agent/appl is not present anymore
would there be another possibility - maybe event monitor that could give a relation between stmt and agent
thanks for all hints..
------------------------------
Thank for all update/help
Best Regards, Guy Przytula
------------------------------
#Db2