MEBM gate, INQUIRE_MESSAGE_LENGTH function
The INQUIRE_MESSAGE_LENGTH function of the MEBM gate is used to find the length of the message in order to obtain the appropriate sized buffer to retrieve the message.
Input Parameters
- MESSAGE_NUMBER
- is the numeric message identifier.
- MESSAGE_TABLE
- is a table containing all the message definitions for the message domain.
- COMPONENT_ID
- Optional Parameter
- is the component identifier for the message.
- INSERTn
- Optional Parameter
- A user-supplied insert, if required by the message definition.
Output Parameters
- REASON
- The values for the parameter are:
- MESSAGE_CANNOT_BE_FOUND
- MESSAGE_LENGTH
- is the length of the message being inquired on.
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.