MQ_OPEN
The MQ_OPEN BIF opens a message queue and returns a queue handle.
Arguments
No
|
Type
|
Required Optional
|
Description
|
Min Length
|
Max Length
|
Min Decimal
|
Max Decimal
|
1
|
A
|
Required
|
Connection Handle.
|
4
|
4
|
|
|
2
|
A
|
Required
|
Queue Name.
|
48
|
48
|
|
|
3
|
A
|
Required
|
Open Mode.
|
10
|
10
|
|
|
|
Return Values
No
|
Type
|
Required Optional
|
Description
|
Min Length
|
Max Length
|
Min Decimal
|
Max Decimal
|
1
|
A
|
Required
|
Status.
|
20
|
20
|
|
|
2
|
A
|
Required
|
Message.
|
1
|
256
|
|
|
3
|
A
|
Required
|
Queue Handle.
|
4
|
4
|
|
|
|
The queue can be opened in several modes.
Mode
|
MQSeries API options
|
*BLANKS
|
MQOO_INPUT_AS_Q_DEF MQOO_FAIL_IF_QUIESCING
|
I
|
MQOO_INPUT_AS_Q_DEF
|
Q
|
MQOO_INQUIRE
|
IQ
|
MQOO_INPUT_AS_Q_DEF MQOO_INQUIRE
|
IF
|
MQOO_INPUT_AS_Q_DEF MQOO_FAIL_IF_QUIESCING
|
IQF
|
MQOO_INPUT_AS_Q_DEF MQOO_INQUIRE MQOO_FAIL_IF_QUIESCING
|
O
|
MQOO_OUTPUT
|
OF
|
MQOO_OUTPUT MQOO_FAIL_IF_QUIESCING
|
OU
|
MQOO_OUTPUT MQOO_SET_IDENTITY_CONTEXT
|
OFU
|
MQOO_OUTPUT MQOO_FAIL_IF_QUIESCING MQOO_SET_IDENTITY_CONTEXT
|
IO
|
MQOO_INPUT_AS_Q_DEF MQOO_OUTPUT
|
IOF
|
MQOO_INPUT_AS_Q_DEF MQOO_OUTPUT MQOO_FAIL_IF_QUIESCING
|
IOFU
|
MQOO_INPUT_AS_Q_DEF MQOO_OUTPUT MQOO_FAIL_IF_QUIESCING MQOO_SET_IDENTITY_CONTEXT
|
|