WriteRead_DifferentQueue
The sample process uses the WriteQueue activity to write to data queue A, and the ReadQueue activity reads messages from the data queue B. The CallProgram activity is used to call an example IBM i program that reads messages from data queue A and writes those messages to data queue B, where A and B are configurable through ActiveMatrix BusinessWorks™.
Configuring the Activities to Read and Write Messages
- Add the Timer, WriteQueue, CallProgram, ReadQueue, and Log activities.
- Provide the IBMi Connection, Data Queue name for WriteQueue and ReadQueue activities, and program object details for the CallProgram activity.
- On the
Advanced tab, declare the schema for the input message for the data queue.
- On the
Input tab of the WriteQueue activity, populate the input message for the data queue.
- On the
Advanced tab of the CallProgram activity, click
Initialize Schema to populate the input or output parameters for the program. The input data queue A and Output data queue B are configurable through ActiveMatrix BusinessWorks™.
- On the
Input tab of the CallProgram activity, provide the parameter values that identify the data queues.
- On the
Advanced tab of the ReadQueue activity, declare the schema.
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.