473,624 Members | 2,575 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

disconnect command

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
Nov 12 '05 #1
6 28170
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

Nov 12 '05 #2
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

Nov 12 '05 #3
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

Nov 12 '05 #4
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

Nov 12 '05 #5
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


Nov 12 '05 #6
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


Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2595
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 problem in connecting, but however, I failed to remove the connection after use by calling the 'net use /delete' when the user is opening a explorer and connected to the drive. Can anyone tell me how to FORCE to disconnect a network drive? Or tell me...
0
2729
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 the reset accomplished return codes and reason codes (+004 and X'00C10824'), and ensures that future connection requests from the task work when DB2 is back on line."
2
9180
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
0
472
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
6
16377
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 program on UNIX "./pgmname -options Infilename > OutputFilename" * FTP the output of this program back to Windows * Process the resultant file and create output report file
2
2148
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 with writing code which will disconnect a connection given the ip-address. Since the server knows which client is connected , this method should be able to disconnect the ones it doesn want by knowing only the Ip-Address. I am aware of socket...
3
45372
by: Laurence | last post by:
Hi there, Does anyone know what's difference among "connect reset", "disconnect", and "terminate"? Thanks in advance,
1
2431
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 following entered in system login..after that i used the command connect u1/u1@hoststring now i want to come out from user u1... i am not asking about closing the application...
1
3846
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 will be still in buffer pool? Apparently when I do "db2 disconnect all" at the end, the windows task manager shows that all bufferpool memory has been deallocated. thanks
0
8249
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8179
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8633
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8348
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7176
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1493
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.