Maintaining Statistics HDBs

Statistics and Performance HDBs are maintained in the same way. You can alter any of the HDB characteristics, including container data set name and allocation size for example.

Select option 7 Maintenance from the HDB menu to maintain your HDB environment.
Figure 1. Maintain HDB definition
  File  Systems  Options  Help                                                
------------------------------------------------------------------------------
                                 Maintain HDB                          More: >
Command ===> _________________________________________________________________
                                                                              
Review and update HDB definition options then press EXIT to save.             
                                                                              
Name . . . . . . CICSP1S_  Type STATS    APPLID  CICSP1__ +  Image MVS1____  
Description  . . Statistics HDB for CICSP1_______                           
  
Specify View . . 1  1. Options  2. Data Sets 
                                                                            
Statistics Reports:                       
 S  Select to specify Statistics Reports  
                                                                            
Data Retention Period:                                                      
 Years . . 20_  Months . . ___  Weeks . . ___  Days . . ___  Hours . . ___  
                                                                            
Data Set Allocation Settings:                                               
 DSN Prefix . . . . . . CICSPA__________                                    
 Management class . . . ________    (Blank for default management class)    
 Storage class  . . . . ________    (Blank for default storage class)       
  Volume serial . . . . ______      (Blank for system default volume)       
  Device type . . . . . ________    (Generic unit or device address)        
 Data class . . . . . . ________    (Blank for default data class)          
  Space Units . . . . . CYLS____    (TRKS, CYLS)                            
  Primary quantity  . . 10______    (In above units)                        
  Secondary quantity    10______    (In above units)                        
                                                                            
F1=Help  F3=Exit  F4=Prompt  F7=Backward  F8=Forward  F10=Actions  F12=Cancel
For Statistics HDBs, you can also change the types of statistics data collected. Select Select to specify Statistics Reports to review or alter the type of statistics collected.
Figure 2. Activate Statistics report for data collection
  File  Edit  Options  View  Help                                             
------------------------------------------------------------------------------
                             Statistics Reports                   Line 1 of 26
Command ===> ________________________________________________ Scroll ===> CSR_
 
 
                                                                   DB2        
___          ** Reports **                                Collect  Load       
     -  ___  Regions                                      Yes      No    .    
             A__  Transaction Manager                     Yes      No         
          -  ___  CICS Dispatcher                         Yes      No         
                  ___  Dispatcher Overview                Yes      No         
                  ___  Dispatcher TCB Modes               Yes      No         
                  ___  Dispatcher TCB Pools               Yes      No         
                  ___  MVS TCB Overview                   Yes      No         
                  ___  MVS TCBs                           Yes      No         
          -  ___  CICS Storage                            Yes      No         
                  ___  Storage Overview                   Yes      No         
                  ___  DSAs                               Yes      No         
                  ___  Domain Subpools                    Yes      No         
                  ___  Task Subpools                      Yes      No         
          +  ___  CICS Dumps                              Yes      No         
             ___  Enqueue Pools                           Yes      No         
     +  ___  Connectivity                                 No       No         
     +  ___  Files and Databases                          No       No         
     +  ___  Logging                                      No       No         
     +  ___  Queues                                       No       No         
     +  ___  Transactions                                 No       No         
     +  ___  Programs                                     No       No         
     +  ___  CICS Web Support                             No       No         
     +  ___  Enterprise Java                              No       No         
     +  ___  Miscellaneous                                No       No         
     +  ___  CICS Server                                  No       No         
     +  ___  CICS Transaction Gateway                     No       No         
             ** End of Reports **                                             
In the following example, we have activated collection for Transaction Manager statistics.

Note that either activating new reports, or deactivating reports already collecting data does not change the data already collected. All the existing data can still be reported, regardless of whether collection is still active or not.