tibemsMsg_PropertyExists

Function

Purpose

Test whether a named property has been set on a message.

C Declaration

tibems_status tibemsMsg_PropertyExists(
    tibemsMsg message,
    const char* name,
    tibems_bool* result );

COBOL Call

CALL "tibemsMsg_PropertyExists"
     USING BY VALUE message,
           BY REFERENCE name,
           BY REFERENCE result,
           RETURNING tibems-status
END-CALL.
Note: message has usage pointer.

Parameters

Parameter Description
message Test this message for the property.
name Test whether the message has a property with this name.
result Store the boolean result of the test in this location:
  • TIBEMS_TRUE if the property has a value on the message
  • TIBEMS_FALSE otherwise