Example: Inserting a binary delimiter after the data from each message

When transferring in binary mode from a source queue to a file, you can specify that a binary delimiter is inserted after the data from individual messages by using the -sq, -sqdb, and -sqdp parameters with the fteCreateTransfer command.

About this task

In this example, there are three messages on the queue START_QUEUE. This queue is on the source agent's queue manager, QM_NEPTUNE. The binary delimiter to be inserted after the data from each message must be expressed as a comma-separated list of hexadecimal bytes, for example: x34,xE7,xAE.

Procedure

Type the following command:
fteCreateTransfer -sa AGENT_NEPTUNE -sm QM_NEPTUNE -da AGENT_VENUS -df /out/binary.file 
                  -sqdp postfix -sqdb x34,xE7,xAE -sq START_QUEUE

The binary delimiter is appended to the data from each of the three messages on START_QUEUE by the source agent, AGENT_NEPTUNE. This data is written to the destination file, /out/binary.file.


Task Task

Feedback

Timestamp icon Last updated: Tuesday, 30 January 2018
http://www.ibm.com/support/knowledgecenter/SSEP7X_7.0.4/com.ibm.wmqfte.doc/m2f_binary_delim.htm