When I last looked at ACF2 logging, that must have been in 2020, I had limited success in tracking updates to resource rules. That is probably due to documented behavior of the ACF2_CHANGES field, only supporting infostor and lid records:
ACF2_CHANGES
This field is only found in ACF2 info storage update and logonid update records. It is a repeating field where each line consists of three fixed-length parts
However, with Erik's observation, the following should put the REPLACE and UPDATE events more or less together. It relies on the TIME field in SMF records to have 0.01 second granularity and ACF2 updates being faster. If that's not the case, you could remove the TIME field from the SUMMARY command and move it into the SORTLIST:
n type=smf
S ACF2_SUBTYPE=(E,R) ACF2_EVENTTYPE=(REPLACE,UPDATE)
sortlist date(12,eudate) time smfdd(nd) recno(nd),
recorddesc(80),
/ acf2_rule_entry
summary date(12,eudate) time user(8) jobname(8) acf2_rulekey count(nd) /
There seems to be a disconnect between Erik's statement
ACF2 writes two SMF records for updates to rule sets, one with ACF2_EVENTTYPE=UPDATE that contains the rule set's record image as it was before the change, and one with ACF2_EVENTTYPE=REPLACE that contains the after-image.
and the manual that suggests UPDATE only occurs for L records
the manual probably needs a fix, right?
------------------------------
Rob van Hoboken
------------------------------