SETXCF command and ACF2 permissions. Couple datasets SYSPLX.UKNPLX01.XCF.CDS03 without any problems. To make new couple dataset available when entering SETXCF command, getting ACF violation ACF99913 ACF2 VIOLATION-04,00,WSQQQQQ,SYSVV1,SYSXXX.SYSPLX01.XCF.SYSQ. WSQQQQQ is the started task default logonid.
Release : 16.0
Component : CA ACF2 for z/OS
The ACFRPTDS report entry violation for SYSXXX.SYSPLX01.XCF.SYSQ shows 'NOREOCRD' which indicates there is no dataset access rule SYSPLX:
WSQQQQQ 20.323 18/11 10.57 DATASET VIOLATION
XCFAS VOL=SYS011 DDN=SYS00129 DSN=SYSXXX.SYSPLX01.XCF.SYSQ
IEFPROC VOL= PGM=IXCINJST LIB=SYS1.LINKLIB
DA-OPN OUTPUT NORECORD NAM=DEFAULT STC LID ROL=
MCF SRC=STCINRDR UID=WSQQQQQZZZZ
The jobname XCFAS is running under logonid WSQQQQQ which is the default STC logonid.
In IBM documentation 'Considerations for all couple data sets':
It is the responsibility of the installation to provide the security environment for the couple data sets. Consider protecting the couple data sets with with the same level of security as the XCF address space (XCFAS).
z/OS Security Server RACF System Programmer's Guide explains how to add a started procedure to the started procedures table.
Based on the above, IBM 'Sysplex eBusiness Security z/OS V1R7 Update' which would pertain to z/OS 1.7 and above:
Example 2-1 shows how to define XCFAS in the RACF STARTED class and
associate a specific user ID with the XCFAS address space. The user ID in this
example is XCFUSER.
Example 2-1 Define XCFAS in the RACF STARTED class
ADDUSER XCFUSER NAME('XCF USER') DFLTGRP(SUPMVS) OWNER(SUPMVS) NOPASSWORD
RDEFINE STARTED XCFAS.* OWNER(SUPMVS) UACC(READ) +
STDATA(USER(XCFUSER) GROUP(SUPMVS) TRUSTED(YES))
SETROPTS RACLIST(STARTED) REFRESH
Based on Example 2-1 above the ACF2 equivalent would be:
INSERT XCFUSER NAME(XCF USER) DFLTGRP(supmvs) RESTRICT NON-CNCL
INSERT STC.xcf STCID(XCFAS***) LOGONID(XCFUSER)
What the above commands do is to create a logonid XCFUSER that all started tasks that begin with XCFAS will be assigned. Since the logonid XCFUSER is NON-CNCL(ACF2 equivalent to RACF 'TRUSTED') the task XCFAS validations to datasets such as SYSXXX.SYSPLX01.XCF.SYSQ would be allowed.