Running a refresh of WLM in DB2, the job gets an ACF04056 violation and error message:
DSNT542I SQL ID sqlid IS NOT AUTHORIZED TO REFRESH WLM ENVIRONMENT wlm-environment-name
From IBM documentation for DSNT542I, what rule is needed in ACF2?
Give sqlid READ access or higher on the appropriate SAF resource profile. That profile resides in SAF resource class DSNR and has the format ssid.WLM_REFRESH.wlm-environment-name.
Component : ACF2 for z/OS
A sample rule in ACF2 could look like this where DSNC is the ssid, using the default TYPE code (SAF) in the CLASMAP record for class DSNR:
$KEY(DSNC) TYPE(SAF)
WLM_REFRESH.- UID(uid_for_user) ALLOW