# tibemsQueueInfo_GetPendingMessageCount

Function

## Purpose

Get the total number of pending messages for this queue.

## C Declaration

    tibems_status tibemsQueueInfo_GetPendingMessageCount(
        tibemsQueueInfo queueInfo,
        tibems_long* count);

## COBOL Call

    CALL "tibemsQueueInfo_GetPendingMessageCount"
     USING BY VALUE queueInfo,
           BY REFERENCE count,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`queueInfo` | Get the number of messages for this queue.
`count` | Store the number of messages.

## See Also

`tibemsTopicInfo_GetPendingMessageCount`

Copyright © Cloud Software Group, Inc. All rights reserved.