+

Search Tips | Advanced Search

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

When transferring in binary mode from a source queue to a file, we 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.

Parent topic: Transfer data from messages to files


Related concepts


Related tasks


Related information

Last updated: 2020-10-04