Function 
  
 
	 Purpose
 
		 
		Get total statistics for a consumer. 
		
 
	  
 
	 C Declaration
 
		 
		tibems_status tibemsConsumerInfo_GetStatistics(
    tibemsConsumerInfo consumerInfo,
    tibemsStatData* statData);
 
	  
 
	 COBOL Call
 
		 
		CALL "tibemsConsumerInfo_GetStatistics"
 USING BY VALUE consumerInfo,
       BY REFERENCE  stat,
       RETURNING tibems-status
END-CALL.
 
	  
 
	 Parameters
 
		 
		
 
			  
			  
			  
				 
				  | Parameter 
				   | 
 
				  Description 
				   | 
 
				
 
			 
 
			  
				 
				  | consumerInfo 
				   | 
 
				  Get statistics for this consumer. 
				   | 
 
				
 
				 
				  | statData 
				   | 
 
				  Store the statistics. 
				   | 
 
				
 
			 
 
		  
 
 
	  
 
	 Remarks
 
		 
		This function returns NULL when there are no statistics available for the consumer. This can happen for any of the following reasons: 
		
 
		 
		  - Statistics are disabled in the server. 
		  
 
 
		  - Statistics were not included into this 
			 consumerInfo object by the function 
			 tibemsAdmin_GetConsumers that was used to obtain the object. 
		  
 
 
		
 
	  
 
	 
 
   
Copyright © Cloud Software Group, Inc. All rights reserved.