QueueReceiver_DataConversion
The sample process uses the QueueReceiver activity to read messages from an IBM i data queue in binary format, and then uses a Data Conversion Plugin (DCP) ParseCopybookData activity to convert the binary message to XML. Strings within the binary message are assumed to be in the character set specified in the properties of the ParseCopybookData activity.
Conversion of Messages
- Add the QueueReceiver, ParseCopybook, and WriteFile activities.
- Provide the IBMi Connection and Data Queue name. Click
Verify Queue to get the data queue description.
- On the
Advanced tab, define the input source as
Binary.
- On the
General tab of ParseCopybookData activity, configure the
Copybook Resource,
Character Set, and
Input type.
- The Copybook is defined in the Resources.
- On the
Input tab, pass the QueueReceiver message as input to the ParseCopybookData activity, in bytes.
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.