473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Simple FORCE APPLICATION question....

FORCE APPLICATION command is valid only at the 'instance' level. Why
is this so? An instance may contain many databases. So, what command
do I give if I want to force applications from a particular database.
Interestingly, LIST APPLICATIONS command does have a 'FOR DATABASE'
option which means that I can find the list of applications for a
particular database, but have no option to Force all the applications
for that database. I have to note down all the application handles for
that database from List Applications command and then explicitly
specify all those application handles in Force Application command.

Is my understanding correct?

TIA
Raquel.
Nov 12 '05 #1
2 5844
Raquel <ra****************@yahoo.com> wrote:
FORCE APPLICATION command is valid only at the 'instance' level. Why
is this so? An instance may contain many databases. So, what command
do I give if I want to force applications from a particular database.
Interestingly, LIST APPLICATIONS command does have a 'FOR DATABASE'
option which means that I can find the list of applications for a
particular database, but have no option to Force all the applications
for that database. I have to note down all the application handles for
that database from List Applications command and then explicitly
specify all those application handles in Force Application command.


On Unix, you can easily force all applications like this:

for i in `db2 list applications | awk '$5 = "<db-name>" {print $3}'`; do db2
"force application ($i)"; done

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2
Good question. I heard this complain a couple of times.
DB2 UDB V8.1 introduce a new command - QUIESCE command - you can force all
users off an instance or a database and put it into a quiesced mode for
database maintenance activities.
QUIESCE DATABASE <db_alias> ....

"Raquel" <ra****************@yahoo.com> wrote in message
news:9a*************************@posting.google.co m...
FORCE APPLICATION command is valid only at the 'instance' level. Why
is this so? An instance may contain many databases. So, what command
do I give if I want to force applications from a particular database.
Interestingly, LIST APPLICATIONS command does have a 'FOR DATABASE'
option which means that I can find the list of applications for a
particular database, but have no option to Force all the applications
for that database. I have to note down all the application handles for
that database from List Applications command and then explicitly
specify all those application handles in Force Application command.

Is my understanding correct?

TIA
Raquel.

Nov 12 '05 #3

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

Similar topics

6
by: Ganesh | last post by:
Is there a utility by microsoft (or anyone) to force garbage collection in a process without have access to the process code. regards Ganesh
1
by: Ramsey | last post by:
When I first started my project I was using stl for all the real processing and managed c++ for all the pretty forms. But after a while the project became too large to manage. Now I am thinking...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
8
by: Jim Butler | last post by:
What are the drawbacks if any to this approach of not using the gac for shared components... basically having a central directory located outside of iis, that all web applications have a virtual...
5
by: Mike L | last post by:
If a newer version of the application exist, the user will receive a popup question that states, "Update Available. Application update. A new version of projectname is available. Do you want to...
2
by: comp.lang.php | last post by:
class ReportGenerator { function ReportGenerator() {} /** * Generate the HTTP headers necessary for this file type. Can be called statically *
2
by: wugon.net | last post by:
env: db2 LUW v8 + aix We encounter some java applications status did not change and keep in "Federated request pending" for a long time. we try issue db2 "force applications <handle id>" to...
10
by: blaine | last post by:
Hey everyone! I'm not very good with Tk, and I am using a very simple canvas to draw some pictures (this relates to that nokia screen emulator I had a post about a few days ago). Anyway, all is...
17
by: Chris M. Thomasson | last post by:
I use the following technique in all of my C++ projects; here is the example code with error checking omitted for brevity: _________________________________________________________________ /*...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...

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.