This program returns the number of messages in a queue (queue depth).
Parameter
Description
Queue Handle
Numeric. Represents the open queue.