# tibemsProducerInfo_GetStatistics

Function

## Purpose

Get total statistics for a producer.

## C Declaration

    tibems_status tibemsProducerInfo_GetStatistics(
        tibemsProducerInfo producerInfo,
        tibemsStatData* statData);

## COBOL Call

    CALL "tibemsProducerInfo_GetStatistics"
     USING BY VALUE producerInfo,
           BY REFERENCE stat,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`producerInfo` | Get statistics for this producer.
`statData` | Store the statistics. The stored value will be `NULL` if statistics are disabled in the server and so there are none available for the producer.

## See Also

`tibemsStatData`

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