Pavan Yadav
Member
Hi All,
I just struck up with a functionality, if it's available in progress or not. Or if yes then how it can be possible to cope up with this.
Problem is : I am connecting to a DB while working with some program as
Do:
.....
CONNECT Db-name with all parameters as required.
....
End.
But's it's taking long time to connect it. So i want that it should interrupt the Connection i.e should come out of this CONNECT if it's take more than 5-sec & leave it diconnected of whtever will be the status. If, it's get connected in 5-sec, than it's fine otherwise cancel it.
Please help me out for this.
Thanks..!!
I just struck up with a functionality, if it's available in progress or not. Or if yes then how it can be possible to cope up with this.
Problem is : I am connecting to a DB while working with some program as
Do:
.....
CONNECT Db-name with all parameters as required.
....
End.
But's it's taking long time to connect it. So i want that it should interrupt the Connection i.e should come out of this CONNECT if it's take more than 5-sec & leave it diconnected of whtever will be the status. If, it's get connected in 5-sec, than it's fine otherwise cancel it.
Please help me out for this.
Thanks..!!