If I try to decompile, list, or delete resource rules that end with a "-" without using the LIKE option, I get message:
ACF04005 RECORD(S) NOT FOUND
Note: When you specify a "-" in a resource key, the $KEY value, the "-" it is treated as a literal not as a masking character.
When in resource rule mode (SET RESOURCE(xxx) was issued), the syntax for decompiling, listing, or deleting is:
where "rulekey" is the desired $KEY value of the rule.
When you specify a "-" at the end of the rulekey without using the LIKE(?) operand, the ACF command processor is treating that "-" as a continuation, so you would need to hittwice. If the rulekey was specified as ABC- and there is no ABC rule, then you will get the ACF04005 message. If a rule ABC did exist, then that rule would be displayed (or deleted).
CA-ACF2 resource rules that have a "-" at the end of a rule key name can be decompiled (listed or deleted) if you specify the rule key in quotes.
or LIST 'ABC-
This resource rule can be deleted if you specify the rule key in quotes.
Consult the CA-ACF2 Administrator Guide for additional information related to resource rules.