Default language.

Viewing all Db2 commands


The  - Data Collector provides a chronological log of Db2 commands. You can view all Db2 commands that have been issued since Db2 started.

To view all Db2 commands

  1. From the EZDB2 easy menu, select Db2 Event Traces.The System Event Traces easy menu (EZDEVENT) is displayed.

    W1 =EZDEVENT=========(DB2K=====*=======)ddmmmyyyy==17:36:11====MVDB2====D====1
                                System Event Traces Menu                           
      . Set Context to One Db2                                                     
                                +----------------------+                           
        Thread Failures         |   Place cursor on    |    Db2 Commands           
      . Authorization Failures  |    menu item and     |  . Commands Executed      
      . Asutime Failures        |     press ENTER      |                           
                                +----------------------+                           
        RID Error Processing                                Data Set Open/Close    
      . RID Failures by Time      SQL MiniPlan events     . Open/Close by Time     
      . RID Failures-Storage    . Dynamic Sql/Mini Plan   . Summary by Database    
      . RID Failures-Limit                                                         
                                                          . Return...
  2. From the EZDEVENT easy menu, hyperlink on Commands Executed.The Db2 Command History view (CMDLIST) is displayed.

    From the CMDLIST view, you can identify who has issued commands and hyperlink to the CMDTEXT view to see the complete text.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*