File Selection example 2

In this example, we specify a date range covering one working week from Monday March 7 to Friday March 11, 2005.

Figure 1. Run Report Set: specify relative dates
  File  Systems  Options  Help                                                
--------------------------------------------------------------------------
                            Run Report Set MYREPS
Command ===> ________________________________________________________________ 
                                                                              
Specify run options then press Enter to continue submit.                      
                                                                              
System Selection:                                                             
 CICS APPLID . . CICSP1__  +  Image . . MVS1____  +  Group . . ________  +    
 DB2 SSID  . . . ____  +      Image . . ________  +  Group . . ________  +    
 MQ SSID . . . . ____  +      Image . . ________  +  Group . . ________  +    
 Logger  . . . . ________  +  Image . . ________  +  Group . . ________  +    
                                                                              
 /  Override System Selections specified in Report Set                        
                                                                              
                                        ----- Report Interval ------          
Missing SMF Files Option:                    YYYY/MM/DD  HH:MM:SS.TH          
1  1. Issue error message               From 2005/03/07  ___________          
   2. Leave DSN unresolved in JCL       To   2005/03/11  ___________          
   3. Disregard offending reports                                             
                                                                              
Enter "/" to select option                                                    
/  Edit JCL before submit                                                     

CICS PA will automatically generate the JCL that includes the cyclic SMF files that cover the specified reporting interval.

Figure 2. File selection
//* SMF Files for Image=MVS1
//SMFIN001 DD DSN=MVS1.SMF.WEEKLY(-1)

CICS PA always chooses the smallest cyclic SMF file that covers the entire reporting period. This explains why, in the previous example, the weekly SMF GDG was chosen ahead of the monthly GDG.

CICS PA also knows the number of generations (GDG LIMIT) for each cycle. Therefore if only four generations of the weekly file are available, a reporting request for 5 weeks ago would be satisfied by the monthly GDG cycle, MVS1.SMF.MONTHLY(-1).