in reply to Report Application Name to Enterprise Manager via DBI

I understand where it is stored.. this makes sense. How can I get my application to report its name to that table is my question. Any ideas?


Grygonos
  • Comment on Re: Report Application Name to Enterprise Manager via DBI

Replies are listed 'Best First'.
Re^2: Report Application Name to Enterprise Manager via DBI
by herveus (Prior) on Jun 09, 2004 at 18:45 UTC
    Howdy!

    IIRC, that is something you can set when you connect to the server.

    It's been a while since I did Sybase, so check your manuals... :)

    yours,
    Michael
      I found this in the ODBC API Doc,

      APP - Name of the application calling SQLDriverConnect (optional). If specified, this value is stored in the master.dbo.sysprocesses column program_name and is returned by sp_who and the Transact-SQL APP_NAME function.

      Passing app as part of \%attr does nothing and passing APP produces and error. Any ideas anyone?