Question on how the SUMMARIZE parm works.

Document ID : KB000045771
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:  

I run a backup once a week and I am writing to the same tape for a month.  When I run a report it is only giving me the current week.

Using 

// TLBL TAPEIN,'PSYS.EXPDALY.HIST',,,,,,2                           
// TLBL TAPEOUT,'PSYS.EXPDALY.HIST',,,,,,2    
// EXEC EXPUTIL,SIZE=EXPUTIL
   SUMMARIZE -
     INPUT(TAPEIN) -
     OUTPUT(TAPEOUT) -
     TYPE(CICSPERF) -
     INTERVAL(1 HOUR) -
     COMPRESS(YES)

Answer:

The Summarize/COMPRESS is not doing a RESET

The problem is TAPEIN and TAPEOUT should not be using the same DSN name

example

// ASSGN SYS001,280 

// TLBL TAPEIN,’EXPCARC.BACKUP.OLD’ 

// ASSGN SYS000,281 

// TLBL TAPEOUT,’EXPCARC.BACKUP.NEW’ 

After this runs, make TAPEIN ’EXPCARC.BACKUP.NEW’  and tape out a different name to accumulate the records.