Queue Manager Manual

UOWs and UOW Formats
Queue Manager Server Interface
2–2 46517 Tandem Computers Incorporated
The servers allow access to Queue data only if the requesting process has read and
write access to the Queue file. Both servers check security when they receive an OPEN
request from the requester. If the requester does not have access privilege, the servers
deny access and issue a security violation.
IPC Request and Reply
Headers
The format for request and reply headers is the same for all requests and replies.
Within an application program, these headers are defined together as the interprocess
communication (IPC) header. Your application must establish values for the IPC
header fields that are transmitted in the request. All requests to and replies from the
Entry Manager and Wait Manager servers must be prefixed with an IPC header. The
basic format for the messages conforms to the IPC format. The following rules apply:
You must supply an IPC header followed by one or more UOWs.
Each UOW must be a DEQ, ENQ, READQ, or WAITQ UOW. It is recommended
to include only one UOW in each IPC request.
The WAITQ UOW cannot be included with another UOW in an IPC request. If
you specify more than one UOW for the Wait Manager, the PW-REPLY-CODE
field of the IPC-HDR is set to RQST-ERR and the IPC-RETN-CODE field is set to
RQST-TOO-LONG.
It is recommended that IPCs be issued within the framework of TMF transactions.
For some UOWs, notably ENQ and DEQ, a TMF transaction is required.