How to determine why dataset or resource violations in ACF2 are occurring that should be allowed or why access is being allowed and should be denied.
To turn on the TRACE in TSO ACF:
SET LID
CHA logonid TRACE
Replace logonid with the user receiving the violation. Note that the user will need to logoff and back on for the TRACE to take effect.
To turn off the TRACE after testing is completed:
SET LID
CHA logonid NOTRACE
//REPORT EXEC PGM=ACFRPTDS
//SYSPRINT DD SYSOUT=*
//HEXDUMP DD SYSOUT=*
//* RECMAN1 DD DSN=IFASMF.STREAM,DISP=SHR,
//* SUBSYS=(LOGR,IFASEXIT)
//RECMAN1 DD DISP=SHR,DSN=SYS1.MAN1
//RECMAN2 DD DISP=SHR,DSN=SYS1.MAN2
//RECMAN3 DD DISP=SHR,DSN=SYS1.MAN3
//SYSIN DD *
TITLE(ACFRPTDS)
//REPORT EXEC PGM=ACFRPTRV
//SYSPRINT DD SYSOUT=*
//HEXDUMP DD SYSOUT=*
//* RECMAN1 DD DSN=IFASMF.STREAM,DISP=SHR,
//* SUBSYS=(LOGR,IFASEXIT)
//RECMAN1 DD DISP=SHR,DSN=SYS1.MAN1
//RECMAN2 DD DISP=SHR,DSN=SYS1.MAN2
//RECMAN3 DD DISP=SHR,DSN=SYS1.MAN3
//SYSIN DD *
TITLE(ACFRPTRV)