Get a Message Count

Use this API to retrieve the count of messages in the message stack. This API returns the G_MSG_COUNT value.

Name

CDR_PUB_MSG_PUB.Count_Msg

Signature

FUNCTION COUNT_MSG( 
  P_API_VERSION  IN    NUMBER, 
  P_INIT_MSG_LIST  IN    VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, 
  P_COMMIT  IN    VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, 
  P_VALIDATION_LEVEL  IN    NUMBER := CDR_PUB_DEF_CONSTANTS.G_VALID_LEVEL_FULL 
) RETURN NUMBER; 

Return

Type NUMBER

Description Number of messages in the stack

Parameters

This API has standard parameters (see Standard Parameters).