IBM Support

MA0D: Getting started with WebSphere MQ Publish/Subscribe



This SupportPac provides material to help you get started with WebSphere MQ Publish/Subscribe

Download Description

This SupportPac provides material to help you get started with WebSphere MQ Publish/Subscribe. It consists of two elements:

  • Two Presentations: One covering Publish/Subscribe using the Pub/Sub API (Introduced in MQ V7) and one for Pub/Sub using the queued interface (Introduced in MQ V5). In particular they:
    • Describe the publish/subscribe model
    • Introduce some of the key terms and concepts
    • Show how messages (and information) flow within an WebSphere MQ Publish/Subscribe network
    • Describe the MQI (V7) or format (V6 and earlier) of the messages used by applications using WebSphere MQ Publish/Subscribe
    • Describe the commands that are available for controlling WebSphere MQ Publish/Subscribe
    • Illustrate the features available to the systems programmer
  • A Tutorial for MQ V6 and earlier Publish/Subscribe. The tutorial will teach you how to:
    • Start and end brokers
    • Run the supplied Publish/Subscribe sample application
    • Write your first simple publishing application
    • Write your first simple subscribing application
    • Create a small broker network
    • Extend the supplied Publish/Subscribe sample application
    • Finally, delete brokers

Please also see the WebSphere MQ V7 documentation detailing what has changed in WebSphere MQ Publish/Subscribe at V7.

Skill Level Required
• Knowledge of WebSphere MQ is required to understand the concepts in the introductory presentation.
• Knowledge of WebSphere MQ application programming in C is required by persons using the tutorial.

New in this Release
Updated to reflect the new MQ V7 Publish/Subscribe functionality

Author: WebSphere MQ Development, IBM United Kingdom Laboratories
Category: 2
Released: 25Feb99
Last Updated: 28Feb17
Current SupportPac Version: 1.2
»Please note that the version number shown in the right-hand pane is the version of the WebSphere MQ or WebSphere MB product that this SupportPac applies to. The date is the last web page refresh.

To view the complete portfolio of WebSphere MQ SupportPacs please visit the WebSphere MQ SupportPacs homepage.


WebSphere MQ V5.3 CSD08 or later.

Installation Instructions

To install the tutorial files on Windows:
- Create an empty directory and make it current.
- Download file to this directory.
- Uncompress using InfoZip's Unzip.
- Follow the steps in the readme.txt file

To install the tutorial files on a UNIX platform:
- Download ma0d.tar.Z in binary
- Execute uncompress -fv /tmp/ma0d.tar.Z
- Execute tar -xvf /tmp/ma0d.tar.
- Execute rm /tmp/ma0d.tar.
- This will create the necessary files.
- Follow the steps in the readme.txt file

The links below contain SupportPac documentation in PDF format. Refer to URL: for an Adobe Acrobat PDF viewer.

[{"INLabel":"ma0dintr.pdf","INLang":"US English","INSize":"1234","INURL":""},{"INLabel":"ma0dtut.pdf","INLang":"US English","INSize":"283956","INURL":""},{"INLabel":"ma0dmqv7.pdf","INLang":"US English","INSize":"1586594","INURL":""}]
[{"DNLabel":"","DNDate":"25/02/1999","DNLang":"US English","DNSize":"94553","DNPlat":{"label":"Multi-Platform","code":""},"DNURL":"","DNURL_FTP":" ","DDURL":null},{"DNLabel":"ma0d.tar.Z","DNDate":"25/02/1999","DNLang":"US English","DNSize":"102433","DNPlat":{"label":"Multi-Platform","code":""},"DNURL":"","DNURL_FTP":" ","DDURL":null}]

Technical Support

Category 2 SupportPacs are provided in good faith and AS-IS. There is no warranty or further service implied or committed and any supplied sample code is not supported via IBM product service channels.

Please read the license file that accompanies the SupportPac to determine if you want to use it.

[{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"SupportPac","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0;8.0;7.0","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
15 June 2018