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 MQSeries 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 your database definition, and the user-defined function is built and registered on the database server.

 

Parent topic

DB2 user-defined functions (UDFs)

 

Related concepts

Developing DB2 user-defined functions
Using DB2 user-defined functions in applications

 

Related tasks

Creating DB2 user-defined functions using a wizard

Related reference
User-defined function catalog by DB2 Universal Database server
User-defined function support by type
Stored procedure and user-defined function support by DB2 Universal Database server type