tibemsMsgField_PrintToBuffer Function Purpose Print a message field into a buffer. C Declaration tibems_status tibemsMsgField_PrintToBuffer( tibemsMsgField* field, char* buffer, tibems_int maxlen); COBOL Call CALL "tibemsMsgField_PrintToBuffer" USING BY REFERENCE field, BY REFERENCE buffer, BY VALUE maxlen, RETURNING tibems-status END-CALL. Parameters Parameter Description field Print this message field instance. buffer Location to store the string representation of the message. maxlen The size of the buffer. Remarks tibemsMsgField_PrintToBuffer prints to a buffer, in the format FieldDataType:Value. Status Code Description TIBEMS_INSUFFICIENT_BUFFER The buffer is too small to hold the data.