You might need to become familiar with setDB2ClientApplicationInformation and RLFEUAN . Problem is that RLF deals with SQL statements, not threads or applications. For those you need a higher level monitor E.g. Omegamon, TMON, Sysview, Mainview, etc ...