![](https://i0.wp.com/ruifeio.com/wp-content/uploads/2015/01/13334080323_641e55ab35_z-1.jpg?resize=326%2C245&ssl=1)
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 […]