MPMDEVDA and MPMDEVDH are multi-volume datasets and reached 123 extends on the volumes they are currently allocated on.
As far as I understand they are used for Tape device usage statistics:
MPMDEVDA - MEDIA PERFORMANCE MONITOR - DAILY
MPMDEVDH - MEDIA PERFORMANCE MONITOR - HOURLY
Is there any parameter or any JOB that should be running to delete the OLD tape device information for each of them?
Vantage
Both data sets (actually all MPM data sets) are VSAM KSDS. The key for all of them starts with the year, so they can be updated like this:
1) Allocate a new set of MPM data sets (or just those 2 that were mentioned). One can use job J07MEDIA in the CCTUSAMP library, step MPMALLOC.
2) Copy only some records to the new data set(s). The FROMKEY(2015*) parameter defines that only records from year 2015 to 20xx will be copied. The job can look like this:
//*******************************************************
//* REPRO MPM CLUSTERS
//*******************************************************
//REPRO EXEC PGM=IDCAMS,REGION=1024K
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO INDATASET(oldvsam.MPMDEVDA) -
OUTDATASET(newvsam.MPMDEVDA) -
FROMKEY(2015*)
REPRO INDATASET(oldvsam.MPMDEVDH) -
OUTDATASET(newvsam.MPMDEVDH) -
FROMKEY(2015*)
3) Change Vantage parameter(s) MPMDEVDA, MPMDEVDH, MPMDEVDS, MPMVOLDS to point to the new smaller data sets and restart the Vantage host.
Or one can rename the original VSAM data sets, create the new ones with the original names, etc.