Praveen_db2 wrote:
Hi Knut
sorry for not reading this thread earlier.There was some problem in the
message posting and I was not sure that my message ws posted hence same
message got posted 2-3 times.
I am talking about the second situation.In case I have 200 open
connections and 50 are not used for ,say 6 hrs, then what happens in new
connection request.
It depends...
If you have connection concentrator (CC) an agent is assigned to your
connection onle when a transaction (unit of work) is currently in process.
If you don't have CC enabled, it does not matter if a connection is "used"
or not. If the connection is established, it is "in use". So you will get
a max-connections-error in your case. In order to avoid these situations,
you should ensure that unused connections are properly closed.
--
Knut Stolze
DB2 Information Integration Development
IBM Germany