473,799 Members | 3,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

remvoing statement event moitors

I set up a few statement event monitors from CLP. How can I list all the
statement event monitors and remove them. They do not show up in control
centre, and I know they exist because when I try to set a new statement
event monitor with a name that I used before, it gives me an error
message saying that event monitor already exists.

Any ideas ?

thanks

- mumtaz
Nov 12 '05 #1
2 1466
In article <dj**********@r umours.uwaterlo o.ca>, mumtaz
(ma*******@hotm ail.com) says...
I set up a few statement event monitors from CLP. How can I list all the
statement event monitors and remove them. They do not show up in control
centre, and I know they exist because when I try to set a new statement
event monitor with a name that I used before, it gives me an error
message saying that event monitor already exists.

Any ideas ?

thanks


From the CLP run the command
db2 select evmonname from syscat.eventmon itors

Drop the event monitors with
db2 drop event monitor <evmonname>

Nov 12 '05 #2
Gert van der Kooij wrote:
In article <dj**********@r umours.uwaterlo o.ca>, mumtaz
(ma*******@hotm ail.com) says...
I set up a few statement event monitors from CLP. How can I list all the
statement event monitors and remove them. They do not show up in control
centre, and I know they exist because when I try to set a new statement
event monitor with a name that I used before, it gives me an error
message saying that event monitor already exists.

Any ideas ?

thanks

From the CLP run the command
db2 select evmonname from syscat.eventmon itors

Drop the event monitors with
db2 drop event monitor <evmonname>


Thanks.
Nov 12 '05 #3

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

Similar topics

4
4047
by: George Stout | last post by:
First off I do not know alot about writing queries to an Access Database from an ASP page. This is why I need help. I have an Events database for 6 colleges in our metro area. On the homepage I have to display the next event for each college. That would give me 6 events listed on the page. I have been trying to figure out how to write a query statement in my ASP page to select just the most current event from each college. I have not had...
2
3061
by: hype | last post by:
Hi, 1) If I need to monitor a resource eg, bufferpools at the database level across all users, how can I do this ? If snapshot monitoring needs to be done wouldn't enabling the switch at the DBM level cause performance problems ? 2)How does one find the SQL statement that a particular user session is executing? TIA,
2
2652
by: JS | last post by:
I have v8.1 fix5 using Win2k AS on 7 node logical system. I create event monitor writing to file and turn it on. Using application, I connect to db and navigate from screen to screen, generating reports using select sql. I flush the buffer, turn the event monitor off and format the data with db2evom. But, the output never contains the statement text. But, if I issue sql from the clp, these statements appear in the output. In addition,...
1
2313
by: jbaker | last post by:
I have run an statement event monitor and am digging through the data it produced. Some of the rows in the stmt table have me perplexed. These records have a stmt_text that is blank with a stmt_type of 1. I understand that this means it is a static SQL statement and I can use the creator, package_name, package_version_id and section_number to look up the text in the syscat.statements table. In this case though, these records have no...
2
2496
by: brandon | last post by:
I've followed the instructions here (http://groups-beta.google.com/group/comp.databases.ibm-db2/browse_frm/thread/1f69a5fecafba8d8/c35658a24456ad87?tvc=1&q=db2+statement+event+monitor#c35658a24456ad87) to enable sql tracing w/ DB2 8.1. However, when I view the db2evmon output, the values in the queries have been replaced by question marks. For example: 65) Statement Event ... Appl Handle: 14 Appl Id: GA990C3C.B410.00F1C5212311 Appl...
6
2121
by: Radith Silva | last post by:
Private Sub cmdCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click If txtName.Text <> "" Then If txtUnits.Text <> "" Then If optOne.Checked Or optTwo.Checked Or optThree.Checked Or optFour.Checked Then 'Data fine Else MessageBox.Show("Please choos an option button") End If
2
3444
by: nekiv90 | last post by:
Greetings, How can 'rows read' from a DB2 CALL statement incur so many reads? I would expect it to be zero. Could someone enlighten me on this? Thanks! Here is output from executing event monitor on STATEMENTS: 68) Statement Event ...
7
3512
by: gordon | last post by:
is it possible to send a message to the gui instance while the Tk event loop is running?I mean after i create a gui object like root=Tk() mygui=SomeUI(root) and call root.mainloop() can i send message to mygui without quitting the ui or closing the
6
1886
by: tshad | last post by:
I was looking at a page that showed how to set up a custom event and it seems to work ok. But I am not sure how I would use it. How would I subscribe to it. There is actual action (such as pressing a button or changing text in a textbox). It gets set up and on the user control on my web page I can see the event from intellisense. So it seems to be set up, but I am trying to get an easy example of how I would now use this event. ...
0
9688
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
10490
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10259
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
10238
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
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7570
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
6809
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
5467
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...
3
2941
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.