# tibemsSession_CreateBytesMessage

Function

## Purpose

Create a byte array message.

## C Declaration

    tibems_status tibemsSession_CreateBytesMessage(
        tibemsSession session,
        tibemsBytesMsg* bytesMsg );

## COBOL Call

    CALL "tibemsSession_CreateBytesMessage"
         USING BY VALUE session,
               BY REFERENCE bytesMsg,
               RETURNING tibems-status
    END-CALL.

Note: `session` and `bytesMsg` have usage pointer.

## Parameters

Parameter | Description
--- | ---
`session` | Create the message in this session.
`bytesMsg` | The function stores the new message object in this location.

## See Also

`tibemsBytesMsg`

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