| Hi Rob,
You found a bug.
ALARMS maintains 2 MIR files -- one for the rule instances and one for
the rule attributes. It looks like you were able to create the rule
instance OK, but couldn't write the attributes to the attribute MIR
because of incorrect file protections.
When ALARMS deletes a rule, it is first deleted out of the attribute
MIR and then out of the instance MIR. Since the attributes were never
written because of you orignal file protections, the DELETE directive
responds that the entity did not exist without tyring to delete the
isntance.
When ALARMS creates a rule, the instance MIR is first checked to see if
already exists. Since you were able to write the rule instance to the
MIR, the CREATE directive responds that the entity already exists.
The logic has a whole, which you, unfortunately, found before we could
get the next version of ALARMS out to you. We have fixed ALARMS so
that the DELETE will always try to delete BOTH the instance and the
attributes. This means it will clean-up.
In the mean time I can only suggest that you delete the MIR files and
start again. If you have some rules in the MIR that you can SHOW, then
you can run the MCC_ALARMS_EXTRACT_RULES program to create a DCL
command procedure that will help you recreate your rules in your fresh
MIR.
Sorry for the inconvenience, aud...
|