Hi,
we are using db2 8.1 on Linux. I'd like to close all open connection at
a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection
doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf 6 28100
Toralf,
you can use the force application command, or it's new for V8
the quiesce command for instance or database with force connection.
regards,
Joachim Müller
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> schrieb im Newsbeitrag
news:c6**********@news.uni-leipzig.de... Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf
Toralf,
you can use the force application command, or it's new for V8
the quiesce command for instance or database with force connection.
regards,
Joachim Müller
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> schrieb im Newsbeitrag
news:c6**********@news.uni-leipzig.de... Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf
Disconnect and Release works on 'your current connections', not on the whole
db or instance (connections of others).
You may use Disconnect and Release when you work with type 2 connections.
PM
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> a écrit dans le message de
news:c6**********@news.uni-leipzig.de... Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf
Disconnect and Release works on 'your current connections', not on the whole
db or instance (connections of others).
You may use Disconnect and Release when you work with type 2 connections.
PM
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> a écrit dans le message de
news:c6**********@news.uni-leipzig.de... Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf
Joachim,
force application command works fine.
Thanks, Toralf
Joachim Mueller wrote: Toralf,
you can use the force application command, or it's new for V8 the quiesce command for instance or database with force connection.
regards,
Joachim Müller
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> schrieb im Newsbeitrag news:c6**********@news.uni-leipzig.de...
Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf
Joachim,
force application command works fine.
Thanks, Toralf
Joachim Mueller wrote: Toralf,
you can use the force application command, or it's new for V8 the quiesce command for instance or database with force connection.
regards,
Joachim Müller
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> schrieb im Newsbeitrag news:c6**********@news.uni-leipzig.de...
Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
Unfortunately, a warning returns telling me that a database connection doesn't exists. If I use the command
list applications
then I see a list of open connection.
Question: How can I close all these open connections?
Thanks, Toralf This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tedmond |
last post by:
Dear all,
I need to map a network drive at run-time then disconnect it after use. The
only way I know and I am using is creating a Process to call the shell
command 'net use'. It has no...
|
by: Amir |
last post by:
Hi,
According to Application Programming and SQL Guide chapter 29:
"If DB2 terminates, a task that issued CONNECT must issue DISCONNECT
to reset the CAF control blocks. The function returns...
|
by: Tony Do |
last post by:
I have the backup command
BACKUP DATABASE NEST TO C:\\databases WITH 2 BUFFERS BUFFER 1024 $
How do I force all the user to disconnect? before running the above command
|
by: Toralf Kirsten |
last post by:
Hi,
we are using db2 8.1 on Linux. I'd like to close all open connection at
a defined time point. Therfore I wrote a sql script including the command
disconnect all
or
release all
|
by: Joseph |
last post by:
Hi,
I am trying to develop a C# application that will run
on Windows that will do the following
* Select file name to process
* FTP the file to a UNIX server
* Process this file on UNIX using a...
|
by: Vinit |
last post by:
Hi
I have an application to which clients can connect using the
combination http://ip-address:port# .
I can detect which clients are connected to this application.
Could someone please guide...
|
by: Laurence |
last post by:
Hi there,
Does anyone know what's difference among "connect reset", "disconnect",
and "terminate"?
Thanks in advance,
|
by: kalps |
last post by:
i am in system login and connected with a user u1....How to disconnect from the connected user u1?but i should be connected with system login
is any command for this?
for ex.. i have given the...
|
by: TMAG |
last post by:
If i do "db2 disconnect all" after an application finishes, does it
mean that any application that connects after this will find the buffer
pool "cold"? Or the pages accessed by last application...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |