Why the CA OPS/MVS variable MSG.JOBNAME does not return the original jobname of the message issuer?
When the message is issued asynchronously from the CONSOLE address space or is being reissued for some other reason, the value of MSG.JOBNAME can be different from the name of the task that originally issued it. Try using MSG.OJOBNAME instead. This variable contains the original job name associated with the message.
A reference for the variables available in message rules can be found in the link below:
CA OPS/MVS release 12.3 - AOF Variables Available in MSG Rules