WriteQueue
Use the WriteQueue activity to write messages to a data queue on an IBM i system.
General
The General tab contains the following fields:
Field | Process Property? | Module Property? | Description |
---|---|---|---|
Name | No | No | The name to be displayed as the label for the activity in the process. |
IBM i Connection | No | Yes | Click
![]() If no matching IBM i shared resources are found, click Create Shared Resource to create one. See Creating an IBM i Shared Resource for more details. |
Data Queue | Yes | Yes | The name of the data queue(*DTAQ) to write messages to. The format of the data queue name is
library_name/data_queue_name.
Type the data queue name manually, or click
|
Advanced
In the Advanced tab, you can customize a message schema to write messages to a data queue.
Click Initialize Schema to initialize a message schema. To create a message schema, see Creating a Message Schema for more information. Click Copy to copy the message schema to another activity. Click Paste to overwrite the current schema with a schema copied from another activity.
Input
Fault
The Fault tab lists exceptions that are thrown by the WriteQueue activity:
Fault | Thrown When... |
---|---|
IBMiPluginException | The plug-in fails to get a status response due to a plug-in error. |
ActivityTimedOutException | The plug-in fails to get a status response due to a timeout error. |
IBMiParameterConvertException | The plug-in fails to convert the schema parameters. |
IBMiRemoteException | The plug-in fails to communicate with an IBM i system. |