anamikak
New User
Joined: 10 May 2006 Posts: 64 Location: Singapore
|
|
|
|
you can use the connect statement to connect to the same server as your application process is running in without encountering an error. When you issue connect statement, the cuurent server special register is set to the name of the server you are trying to connect. So when you connect to the same application server, Db2 checks and finds that the server name has not changed and contues executing normally. I do not think there is any performance considerations associated with this, excepting that there can be only one server to which your application process can be connected at a time. |
|