# tibemsConsumerInfo_GetDestinationName

Function

## Purpose

Get the consumer's destination name.

## C Declaration

    tibems_status tibemsConsumerInfo_GetDestinationName(
        tibemsConsumerInfo consumerInfo,
        char* name,
        tibems_int name_len);

## COBOL Call

    CALL "tibemsConsumerInfo_GetDestinationName"
     USING BY VALUE consumerInfo,
           BY REFERENCE destName,
           BY VALUE name_len,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`consumerInfo` | Get the destination name of this consumer.
`name` | The function stores the destination name in this location.
`name_len` | Length of the name buffer.

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