# tibemsTopicInfo_Create

Function

## Purpose

Create a `tibemsTopicInfo` object.

## C Declaration

    tibems_status tibemsTopicInfo_Create(
        tibemsTopicInfo* topicInfo,
        const char* topicName);

## COBOL Call

    CALL "tibemsTopicInfo_Create"
     USING BY REFERENCE topicInfo,
           BY REFERENCE name,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
topic`Info` | Store the new `tibemsTopicInfo` object in this location.
topic`Name` | Create the `tibemsTopicInfo` object with this name. The `topicName` can include wildcards.

## Remarks

This function is used to create a `tibemsTopicInfo` object with the specified name. The `tibemsTopicInfo` object may then be passed as the `tibemsDestinationInfo` argument to the`tibemsAdmin_GetConsumers` and `tibemsAdmin_GetProducerStatistics` functions. The name may include wildcards.

For more information on wildcards, see "Wildcards" of the TIBCO Enterprise Message Service User’s Guide.

## See Also

`tibemsQueueInfo_Create`

`tibemsAdmin_GetConsumers`

`tibemsAdmin_GetProducerStatistics`

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