I have 2 almost identical MSGEVNTS Rules. CEMERTR and CEMGEN.
CEMERTR works just fine and in the Trace, the Jobname is CEMERTR.
However, when I issue a S CEMWHSE which triggers the CEMGEN, the Trace shows the Jobname as Console??
I've looked and looked and it might be really simple but I'm over looking something.
Release : 14.0
Component : OPS/MVS
There is a previously undocumented parameter, AOFUSEOJOBNAME, that will always use the OJOBNAME for all rules, even when a BEWTO is in use by the job/program that triggers the rule.
From the OPS/MVS manual:
The originating jobname. This value differs from Jobname on a branch entered WTO.