Getting RC(42) trying to enable a dynamic rule:
address AOF
"Enable *DYNAMIC.tempname"
OPS4320H OPSOSF OPSS *LOCAL* AOF verb ENABLE command ENABLE *DYNAMIC.tempname
OPS0997T +++ RC(42)
OPS/MVS
Syntax error in the rule definition:
OPS1006I ERROR 6 COMPILING *DYNAMIC.tempname, LINE x: UNMATCHED "/*" OR QUOTE
...
OPS3919E NO VALID RULE HEADER FOUND IN RULE *DYNAMIC.tempname
Always inspect the return code of ADDRESS AOF commands and if RC is different from 0 read the EDQ to get more information about the error:
ADDRESS AOF
"ENABLE *DYNAMIC.tempname
IF RC <> 0 THEN
DO QUEUED()
PULL LINE
SAY LINE
END