I have created a simple MSG rule ACF8A900 (ACF2 initialization Complete) to execute MVS command after IPL. I tested the same rule on our test system and it worked. But when I implemented this on our Prod system last week, the rule did not trigger for some reason. Below are the initialization times as per OPSLOG.
ACF8A900 ACF2 INITIALIZATION COMPLETE - CA ACF2 REL 16
Below is the actual rule.
)MSG ACF8A900
)PROC
address oper "command('SET SMF=00')"
return
Release : 13.5 14.0
Component : OPS/MVS
ACF8A900 is a NIP message, that is, it is produced before OPS is started and the parameter AOFNIPMESSAGES was set to NO
The solution is to set AOFNIPMESSAGES to YES. From documentation:
AOFNIPMESSAGES Parameter
The AOFNIPMESSAGES parameter determines whether OPS/MVS allows message rules to process NIP messages. Since this parameter is only effective prior to starting the primary job entry subsystem, we recommend that you set this parameter during initialization only.
Default value
NO NIP messages are recorded in OPSLOG but are not processed by AOF message rules.
Other possible values
YES NIP messages are recorded in OPSLOG and are eligible to be processed by AOF message rules.