Documentation >
MAC-PAC Reference and Help >
Technical Support >
Key Concepts and Procedures >
Operation Procedures >
Canceling Asynchronous Monitors
Canceling Asynchronous Monitors
The process used to cancel a monitor is different for multi-transaction and single-transaction monitors. In all cases, you access the MAC-PAC Processing Menu and select the Initiate/Cancel Monitors option. When the list of monitors is displayed, you select the ones to be canceled. The message sent to the individual monitors differs as follows:
· For multi-transaction monitors, a shutdown (SHUTDOWN)message is sent to the message queue. This causes the monitor to be canceled. The JIT monitor can be canceled by this method or by the JIT Night Cancel method. The night cancel method sends a shutdown message (SHUTDOWNNIGHT) to the JIT monitor. When this message is read, the message queue (JTASYNMSGQ) is checked to be sure no other transaction are pending. If transactions are pending they are processed before the shutdown.
· For single-transaction monitors, an **EOF$ record is written to the transaction file. When the monitor program reads the record, it cancels itself.