QQQ USER NOT AUTHORIZED TO DEFINE DATA SET
SYS20002.T083017.RA000.XXXXXXXX.R0194685
GLOBAL OPTIONS TEMPDSN=BYPASS. Should ACF2 be checking for authorization to create temporary data sets?
There are two jobs one run on 12/31/2019 which works and one from 1/02/2020 which doesn't.
Release : 16.0
Component : CA ACF2 for z/OS
Take a look at the job output. In the output, there is a message ACF04056
ACF04056 ACCESS TO RESOURCE ABCD07.SYS20002.XXXXXXX.RA000.ABCDA TYPE RDSD BY QQQ NOT AUTHORIZED NEW DATASET ALLOCATION FOR VOLUME ABCD07 DENIED IEF344I ABCDA ABCDA SORTWK01 - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR IGD17012I USER NOT AUTHORIZED TO DEFINE DATA SET
There should be a rule for resource ABCD07.SYS2**** in resource class DSD for user $ABC
set r(DSD)
l like(abc-)
RESOURCE RULE ABCD**.************************** STORED BY QQQ ON 12/22/99-04:37
$KEY(ABCD**.**************************) TYPE(DSD)
$USERDATA(ALLOW SYSTEM TEMPORARY DATASETS ON WORK** PUBLIC DASD)
UID(*) ALLOW
TOTAL RECORD LENGTH= 206 BYTES, 5 PERCENT UTILIZED
The rule for the job run on 12 31 2019 would have equated to ABCD07.SYS19365.XXXXXXXX.RA000.ABCDA and the resource rule that applied was
RESOURCE RULE ABCD**.SYS1************************** STORED BY QQQ ON 12/01/09-16:57 $KEY(ABCD**.***********************) TYPE(DSD) $USERDATA(ALLOW SYSTEM TEMPORARY DATASETS ON) UID(*) ALLOW TOTAL RECORD LENGTH= 210 BYTES, 5 PERCENT UTILIZED
This rule gave access to the resource rule.
Now that the job is referencing ABCD07.SYS20002.XXXXXXXX.RA000.TMSUNCA there is no resource rule for WORK**.***********************
Therefore the job is failing for not having access to the resource.
Create a resource rule similar to WORK**.************************** for SYS2.
For example,