Queue Manager Manual

Using Queue Manager
Queue Management
1-6 46517 Tandem Computers Incorporated
UOW Sequences UOWs are typically used in the following sequence:
1. Process B issues the following WAITQ request to the Wait Manager, specifying
that the Wait Manager be ready for a specific type of entry to be placed on the
queue. This request is issued outside the transaction mode, because Process B
might wait a long time before it receives a reply from the Wait Manager.
SEND a WAITQ UOW to the Wait Manager.
2. Upon receiving an entry that must be passed elsewhere for additional processing,
Process A issues an ENQ request to the Entry Manager. The ENQ is a request for
the services of Process B, which handles that particular type of entry. Process A
then moves the entry to the file where Process B expects to find it. Process A
returns to its other work after completing this function.
BEGIN-TRANSACTION issued by Process A.
Modify and save record.
SEND ENQ UOW to Entry Manager.
END-TRANSACTION issued by Process A.
007