ACF70041 message received when adding/changing resource rule
search cancel

ACF70041 message received when adding/changing resource rule

book

Article ID: 26426

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC PanApt PanAudit

Issue/Introduction

 

An add or change of a resource rule gets message ACF70041 SECOND LEVEL QUALIFER NOT ALLOWED WITHIN THIS RULESET. 

The message ACF70041 message indicates:

ACF70041  -  SECOND LEVEL QUALIFIER NOT ALLOWED WITHIN THIS RULESET
 
  Reason:
  A period (.) was found in the $KEY.  CA-ACF2 interprets this as a fully qualified resource name.
 
  Action:
  Specify a $KEY without a period.

 

 

Environment

Release:
Component: ACF2MS

Cause

A fully qualified resource rule is where the entire resource name is in the $KEY value. An extended resource rule is where the $KEY contains only the first level qualifier.

For example, for the following rule:

$KEY(MVS.SEND) TYPE(OPR)
 - UID(******JES2) ALLOW

This will get message ACF70041 because there are 2 qualifiers in the $KEY and the rule line has a "-".

Specifying additional qualifiers in rule line entries are only allowed in extended resource rules.

Resolution

There are 2 options to resolve this:

  1. Remove the "-" in the rule line to make this a fully qualified resource rule.
        $KEY(MVS.SEND) TYPE(OPR)
        UID(******JES2) ALLOW
    or, use masking $KEY(MVS.SEND.*************) to allow for multiple resource names.

  2. Reduce the $KEY to just MVS (the first level qualifier) to make this an extended resource rule:
        $KEY(MVS.) TYPE(OPR)
        SEND UID(******JES2) ALLOW

If there are other applicable MVS rules, then it may be advantageous to use the extended resource rule format.
Example:

  $KEY(MVS) TYPE(OPR)
  SEND.- UID(******JES2) ALLOW
  CANCEL.- UID(******OPSUSR) ALLOW
  CANCEL.- UID(*) PREVENT

Additional Information

More details can be found in Resource Rule Control and Comment Statements.