Why does my job terminate with "ACF99910 ACF2, VIOLATION EXCESSION, CANCELLED" message when my MAXVIO is set to 10 and there was only one dataset violation?
The GSO OPTS MAXVIO(10|nnn) parameter specifies the maximum number of security violations that can occur in a single job or TSO session before CA-ACF2 for z/OS terminates the job.
Resource violations are counted in addition to dataset violations, however only dataset violations cause the MAXVIO threshold value to be checked. For example, if MAXVIO is set to 10, and there are 10 resource violations, and a dataset violation occurs, then the job will be cancelled because of excessive violations with the "ACF99910 ACF2, VIOLATION EXCESSION, CANCELLED" message.
Note: The logonid NOMAXVIO setting will prevent the job from being cancelled due to the MAXVIO threshold being exceeded. Logonids with this attribute will never be canceled with S222 and the associated ACF99910 message.
Refer to the CA ACF2 for z/OS Administrator Guide, chapters on Maintaining Logonid Records and Maintaining Global System Options (GSO) Records, for additional details.