tibemsBytesMsg_Reset

Function

Purpose

Set the read position to the beginning of the byte stream, and mark the message body as read-only.

C Declaration

tibems_status tibemsBytesMsg_Reset(
    tibemsBytesMsg message );

COBOL Call

CALL "tibemsBytesMsg_Reset"
 USING BY VALUE message,
       RETURNING tibems-status
END-CALL.
Note: message has usage pointer.

Parameters

Parameter Description
message Reset the read position for this message.

Remarks

This call prepares a message body for reading, as if the message were newly received. Contrast tibemsMsg_ClearBody, which clears a message body in preparation for writing, as if it were newly created.