Run an IDCAMS Define job to create larger Linear VSAM history files.
While the Data Collector (DC) started task is running, run the .SOURCE IDB2UNLD job that calls the IDB2IUFI program. This will unload the existing history file(s) creating an SMF file.
Finally, run the IDB2IUFI program modifying the parms to load the SMF file back into the newly created history files.
Examples:
//UNLOAD EXEC PGM=IDB2UIFI,REGION=5M,
// PARM=('/REQ=UNLDHIST,DBSUB=&DBSUB,DBLOC=&DBLOC,',
// 'REMPOS=&REMEMBR,TESTV=&TESTVER,',
// 'UNLD=&UNLOAD,UNLTYP=&UNLDTYP,UNLCHD=&UNLDCHD')
//HISTLOAD EXEC PGM=IDB2UIFI,REGION=5M,
// PARM=('/REQ=LOADHIST,DBSUB=xxxx,DBLOC=xxxxxxxx,',
// 'REMPOS=YES,CMP=YES')