tibemsStreamMsg_Reset
Function
Purpose
Set the read position to the beginning of the stream, and mark the message body as read-only.
C Declaration
tibems_status tibemsStreamMsg_Reset( tibemsStreamMsg message );
COBOL Call
CALL "tibemsStreamMsg_Reset"
USING BY VALUE message,
RETURNING tibems-status
END-CALL.
Note:
message has usage pointer.
Parameters
| Parameter | Description |
|---|---|
message
|
Reset the read position of 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.