Example: Working with Shared Systems

Consider an MVS™ Image MVS1 that runs our production CICS® regions. We will implement Daily and Cyclic SMF File definitions to help us run our report requests against the SMF data collected for this system.

The first (optional) step is to implement Take-up for Daily SMF Files.

Daily SMF files are recommended when your SMFDUMP process creates extract GDG data sets whenever SMF is switched throughout the day. Daily files allow you to run report requests against today's SMF data without having to explicitly specify the data set names.

Tip: Append the take-up step to the end of your SMFDUMP job so that daily data sets are defined automatically. See Take-up from SMF File for more information.
Figure 1. SMFDUMP job
//SMFDUMP  JOB ,CLASS=A,NOTIFY=&SYSUID
//* SMF Dump for MVS Image MVS1                                        
//SMFDUMP  EXEC PGM=IFASMFDP                                           
//INDD     DD   DSN=SYS1.MAN1,DISP=SHR                                 
//OUTDD1   DD   DISP=(NEW,CATLG),DSN=MVS1.SMF(+1)              
//SYSPRINT DD   SYSOUT=A                                               
//SYSIN    DD   *                                                      
  INDD(INDD,OPTIONS(ALL))                                              
  OUTDD(OUTDD1,TYPE(110))                                              
/*                                                                     
//* CICS PA Shared System Definitions Take-up                    
//CICSPA   EXEC PGM=CPAMAIN,REGION=4M                      
//STEPLIB  DD   DSN=CPA.V5R1M0.SCPALINK,DISP=SHR                       
//SYSPRINT DD   SYSOUT=*                                               
//SMFIN001  DD  DISP=(SHR,KEEP),DSN=MVS1.SMF(+1)              
. . . 
//SYSIN    DD  *                                       
 CICSPA IN(SMFIN001),                                  
    Start of changeTAKEUP(SHARED,SYSTEMS,FILESYSTEM,OUTPUT(SDTU0001))End of change
/*

CICS PA Take-up will define Image MVS1 if it is not already defined, and attach the new daily SMF file MVS1.SMF(+1) to the system.

The result when you view the daily SMF files for system MVS1 (System View 3) is the list of daily data sets definitions created by take-up, and the time interval they span.

Figure 2. Shared MQ Subsystem Daily SMF Files
  File  Edit  Options  Help                                                    
------------------------------------------------------------------------------ 
EDIT                            MVS Image                   Row 1 of 8 More: > 
Command ===> ________________________________________________ Scroll ===> CSR_ 
                                                                               
MVS Image System definition:                                                   
 MVS Image . . . . MVS1____                                                    
 Description . . . Image MVS1 that runs CICS Production              
                                                                               
System View:                                                                   
 3  1. Definition   2. Cyclic SMF Files   3. Daily SMF Files                   
                                                                               
   SMF Data Set Name                              ------ Start ------ - Stop -
   MVS1.SMF.G1493V00                              2012-07-17 10.38.02 11.57.03
   MVS1.SMF.G1491V00                              2012-07-17 08.00.44 10.20.25
   MVS1.SMF.G1489V00                              2012-07-17 04.01.04 07.56.54
   MVS1.SMF.G1487V00                              2012-07-17 00.01.33 03.57.04
   MVS1.SMF.G1485V00                              2012-07-16 20.03.12 00.00.00
   MVS1.SMF.G1483V00                              2012-07-16 15.52.42 *EXPIRED
   MVS1.SMF.G1481V00                              2012-07-16 14.09.02 *EXPIRED
   MVS1.SMF.G1479V00                              2012-07-16 10.52.18 *EXPIRED
******************************* Bottom of data ********************************
Now when you report against system MVS1 or any of its CICS systems, the daily files are used when required.

Scroll Left (F10) to view the Cyclic SMF file definitions (System View 2).

Figure 3 shows a typical SMF configuration:
  1. Weekly SMF file GDG where one generation contains data for one week, is built at end of the day from the daily SMF files (defined previously), and is rolled over every Sunday.
  2. Monthly SMF file GDG where one generation contains data for one calendar month, and is rolled over on the first day of each month.
Figure 3. Shared MQ Subsystem Cyclic SMF Files
  File  Edit  Options  Help                                                    
------------------------------------------------------------------------------ 
EDIT                            MVS Image                   Row 1 of 2 More: > 
Command ===> ________________________________________________ Scroll ===> CSR_ 
                                                                               
MVS Image System definition:                                                   
 MVS Image . . . . MVS1____                                                    
 Description . . . Image MVS1 that runs CICS Production              
                                                                               
System View:                                                                   
 2  1. Definition   2. Cyclic SMF Files   3. Daily SMF Files                   
                                                                               
/  SMF Data Set Name (or GDG Base)                Origin      Interval DISP    
_  'MVS1.SMF.WEEKLY'___________________________   SUNDAY      WEEK     MOD     
_  'MVS1.SMF.MONTHLY'__________________________   ****-01-01  MONTH    MOD     
******************************* Bottom of data ********************************

To use shared System Definitions in preference to personal System Definitions, you need to change your personal profile. The Systems action bar is available on all run-time panels, for example Run Report Set. Select option 4 Use Shared System Definitions. With this setting you can now use the shared system definitions and their SMF Files.

Shared SMF File selection is controlled by the Report Interval you specify at run time.


Information Information

Feedback


Timestamp icon Last updated: Friday, 8 February 2013


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic//sharedexample.htm