MQ_DEPTH

The MQ_DEPTH BIF returns the number of messages in the queue. The queue must be opened with an MQOO_INQUIRE option.

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 Handle.

4

4

 

 

 

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

P

Required

Message Depth.

9

9

0

0