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 are the examples in the JCL above.
Precisei hoje limpar os datasets do nosso SMF, utilizei o seu exemplo
Olá!
No mesmo âmbito, gostaria de saber se é possível, via JCL, ‘sacar’ as estatíticas de total elapsed time de cada job.