Previous Topic

Next Topic

Book Contents

Book Index

CMEM rule ordering, triggering and deactivation

CMEM tables are usually ordered (loaded to memory) when CMEM is started. They can also be refreshed or loaded by an operator command, or manually using the FORCE option in the CMEM Table List screen.

A CMEM rule is triggered (that is, all its DO statements are performed) by the occurrence of the events specified in the rule's ON statements.

More than one rule can be triggered by the occurrence of an event. An event triggers each rule whose ON statement matches the event. Generally, all actions from all triggered rules are performed.

The one exception occurs when multiple rules are triggered by the same job arrival event and more than one of the triggered rules contains DO FORCEJOB statements. In this case, the DO FORCEJOB statements of the first triggered rule are performed, but the DO FORCEJOB statements of the other rules triggered by the event are not performed. For more information, see On Spool jobs.

CMEM rules remain activated (that is, in memory) until they are overridden by the reloading of the rule table or deleted by an operator command.

Parent Topic

CMEM