DSNT542I SQL ID sqlid IS NOT AUTHORIZED TO REFRESH WLM ENVIRONMENT wlm-environment-name
https://www.ibm.com/support/knowledgecenter/en/SSEPEK_12.0.0/msgs/src/tpc/dsnt542i.html
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.
What rule is needed in ACF2?
Release : 16.0
Component : CA ACF2 for z/OS
$KEY(DSNC) TYPE(SAF)
BATCH.- UID(*) ALLOW
DIST.- UID(*) ALLOW
RRSAF.- UID( ACFSTCID) ALLOW
WLM_REFRESH.- UID( ACFSTCID) ALLOW < this is the rule line for the violation