Creating DB2 user-defined functions for WebSphere MQ

You can create a DB2® user-defined function that reads or receives all messages from a WebSphere® MQ message queue. The New WebSphere MQ User-Defined Function wizard simplifies the process of creating the user-defined function. The wizard also works with earlier versions of IBM's messaging product, known as MQSeries®.

Prerequisites:

Before you run the wizard:

Go to the following Web sites for more information about completing these prerequisites:

To create a user-defined function for accessing messages on a WebSphere MQ queue:

  1. Switch to the Data perspective.
  2. Click File > New > Other to open the New dialog.
  3. Select Data in the left column and choose WebSphere MQ User-Defined Function.
  4. Click OK. The wizard opens.
  5. Complete the necessary steps of the wizard.
  6. Click Finish.
The user-defined function is created and added to the data development project that you specified, and the user-defined function is deployed and registered on the database server.

Comentarios