JCL

JCL to Clear SMF Datasets

Here’s a simple example of a batch job to clear the content of your SMF datasets: //SMFDP EXEC PGM=IFASMFDP //INDD1 DD DISP=SHR,DSN=SYS1.MAN1 //INDD2 DD DISP=SHR,DSN=SYS1.MAN2 //INDD3 DD DISP=SHR,DSN=SYS1.MAN3 //SYSPRINT DD SYSOUT=* //SYSIN DD * INDD(INDD1,OPTIONS(CLEAR)) INDD(INDD2,OPTIONS(CLEAR)) INDD(INDD3,OPTIONS(CLEAR)) Explanation: INDDx – are the DD cards that specify the SMF datasets. SYS1.MANx […]