Examples of DSNTSMFD invocation

Use the DSNTSMFD invocation examples as models for generating your own DSNTSMFD output.

Example: Decompression of Db2 trace records

Suppose that an SMF data set contains compressed Db2 trace records of SMF type 100, 101, or 102. You have dumped the data into sequential data set DSN1310.SMFDATA. You want to write all of the SMF data to data set DSN1310.SMFOUT, and you want any compressed SMF type 100, 101, or 102 records to be decompressed in DSN1310.SMFOUT.

The JCL for the step that executes DSNTSMFD looks like this:

//RUNSMFD  EXEC PGM=DSNTSMFD              
//SYSPRINT  DD SYSOUT=*                   
//SYSUDUMP  DD SYSOUT=*                   
//SMFINDD   DD DSN=DSN1310.SMFDATA,        
//             DISP=SHR                   
//SMFOUTDD  DD DSN=DSN1310.SMFOUT,         
//             LIKE=DSN1310.SMFDATA,       
//             DISP=(,CATLG),             
//             UNIT=SYSDA,                
//             SPACE=(TRK,(1200,200))     

The output looks like this:

*** DSNTSMFD *** STARTING     2011/06/27          15:55:39                    
------------------------------------------------------------------------------
Total records read:.................................      146232              
  Total DB2 records read:...........................      146183              
    Total DB2 compressed records read:..............      146183              
    Total DB2 compressed records decompressed:......      146183              
  Total non-DB2 records read:.......................          49              
                                                                              
Aggregate size of all input records:................    60334251           57M
  Aggregate size of all input DB2 records:..........    60323008           57M
    Aggregate size of all DB2 compressed records:...    60323008           57M
  Aggregate size of all output DB2 records:.........   102449084           97M
    Aggregate size of all DB2 expanded records:.....   102449084           97M
  Aggregate size of all non-DB2 input records:......       11243           10K
                                                                                
    Percentage saved using compression..............          41%               
                                                                                
Details by DB2 subsystem                                                     
    Subsystem ID:  DB2A                           
        Number of records:..........................      146183                
        Number of compressed records:...............      146183                
        Aggregate size of DB2 records:..............    60323008           57M  
        Aggregate size of DB2 compressed records:...    60323008           57M  
        Aggregate size of DB2 expanded records:.....   102449084           97M  
        Percentage saved using compression..........          41% 
------------------------------------------------------------------------------