To change the contents (payload) of a message for a specified message destination, use the -changeqmsg (-cqm) or -changetmsg (-ctm) flag. You must specify whether the original message type is bytes or text. The example illustrates the procedure for a topic.
The message cannot be processed while you are changing the contents.
Use the following command syntax to specify the contents change:
stcmsctrlutil.exe -ctm topicname seqnumber -msgtype type |
where topicname is the name of the topic that contains the message, seqnumber is the sequence number of the message, and type is either bytes or text indicating the message type of the original message.
Press Return.
Type the new content.
Press Control-Z.