Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Posts
    9

    Unanswered: how can i get current state of event monitor "conn_events"??

    db2 => set event monitor conn_events state 1

    after that ,how can i get current state of event monitor "conn_events"??

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Check out the syscat.xxxxxxxx views of the catalog and look for one that has event monitor information. They are documented in the Appendix of the SQL Reference Vol 1.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Try "values event_mon_state('CONN_EVENTS')"
    ---
    "It does not work" is not a valid problem statement.

  4. #4
    Join Date
    Apr 2007
    Posts
    6
    select event_mon_state('conn_events') from sysibm.sysdummy1
    select evmonname, EVENT_MON_STATE(conn_events) as state from syscat.eventmonitors
    ----------------
    Eric Xu (许 昌)
    Last edited by coolwinds; 06-30-09 at 11:04.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •