Unable to delete RMF rule and receiving message CAT3391E RECORD FOR DELRTN IS NOT IN THE RMF
With the introduction of the pattern masking RMF in CA TLMS 12.6, certain special characters are now treated as pattern masking characters. The pattern masking characters are "?, !, #, @, *, and -".
The following is an example of the error when trying to delete a RMF rule:
DELRTN DSN(BOBBKUP.DAILY.FM-MMS) + OWNER(BOBBKUP 00074777) CAT3391E RECORD FOR DELRTN IS NOT IN THE RMF CAT3307I NO UPDATES DUE TO ERRORS CAT3308I END OF RMF UPDATE REPORT RC =?08
The issue is with the "-" in the 3rd node. The RMF update routine looks at the "-" in the DSN as a pattern masking character when in fact it is not. adding a backslash (\) in front of the "-"in the delete request will cause the delete routine to treat the "-" as an actual character.
This example will successfully delete an RMF rule with a special character within the DSN:
DELRTN DSN(BOBBKUP.DAILY.FM\-MMS) +
OWNER(BOBBKUP 00074777)