Q_OPEN
Open A System Queue
Entry Parameters:
Register CL: 087H (135)
DX:
QPB Address - Offset
DS: QPB
Address - Segment
QPB_name filled in
Returned Values:
Register AX: 0 on success, 0FFFFH on
failure
BX: Same as
AX
CX: Error Code
QPB_queueid filled in
Q_OPEN opens a system queue by examining each existing system queue and attempting to
match the name in the QPB with the name of a system queue. All eight
bytes of the name must match for a successful open. All bits of each byte are examined.
If the open operation is successful, Q_OPEN modifies the Queue ID Field of the
QPB. Once
the the queue is opened, subsequent reads, writes, or a delete are allowed.
Note: Under Concurrent, you must use Q_OPEN to explicitly open all system queues before
attempting a read, write, or delete operation.
Error codes returned in CX.