I am trying to send a customized CLIENT APPL NAME parameter from with my Delphi application. I am using ODBC DB2 driver for the connection. I noticed that if I manually configure the CLIENTAPPLNAME parameter in the ODBC DSN it works fine and shows up on statements like: VALUES (CLIENT APPLNAME).

However, I want to override this ODBC DSN value and send a custom value based on user's role in the application. I tried adding this parameter to the connection object in Delphi. It won't complain but nothing shows-up when looked at from database side using above VALUES command.

Any help be greatly appreicated.

Best Regards,