When connecting to Sybase ASE there are connection parameters 'Host' (the machine name of the client) and 'AppName' (the name of the client application). Then while the application is connected, the entry in the sysprocesses table shows those values.
I would like to do the same thing for SQL Anywhere if it is possible. If it is possible, would the values appear in the same columns of sysprocesses?
My application is written in PowerBuilder.
asked 21 Oct '11, 14:44
SQLAnywhere doesn't have a sysprocesses but the application info you are looking for can be acquired via a different mechanism. See http://dcx.sybase.com/index.html#1201/en/dbadmin/appinfo-connection-conparm.html*d5e18109.
answered 21 Oct '11, 14:55
The HOST parameter may be picked up by the data provider. For the Application Name, you can specify this using the AppInfo connection parameter:
The value can be viewed as part of:
answered 21 Oct '11, 15:18