# tibemsProducerInfo_GetDestinationName

Function

## Purpose

Get the producer's destination name.

## C Declaration

    tibems_status tibemsProducerInfo_GetDestinationName(
        tibemsProducerInfo producerInfo,
        char* name
        tibems_int name_len);

## COBOL Call

    CALL "tibemsProducerInfo_GetDestinationName"
     USING BY VALUE producerInfo,
           BY REFERENCE destName,
           BY VALUE name_len,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`producerInfo` | Get the destination name of this producer.
`name` | Store destination name.
`name_len` | Length of the name buffer.

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