WebSphere logo Classic Federation Server for z/OS, Version 9.1
WebSphere logo Classic Replication Server for z/OS, Version 9.1
WebSphere logo Classic Data Event Publisher for z/OS, Version 9.1
WebSphere logo Data Integration Classic Connector for z/OS, Version 9.1


Creating and modifying publications

In Classic event publishing, a publication associates a source table or view with a WebSphere® MQ message queue or—if you adopt the File Manager option as your publishing target—a change filename prefix.

Before you begin

About this task

The publication service places messages that describe changes to source data on the message queue or writes the messages directly to the change file. Applications that need to be aware of the changes can read the messages for later processing.

The source table or view maps to a data source such as Adabas, CA-IDMS, CICS® VSAM, IMS™, or native VSAM. When a change occurs to the data that is mapped to the source table or view, Classic event publishing captures the change, converts it to a message, and writes the message to a change file or puts the message on a message queue, called a send queue.

The publishing map that you select determines whether the messages for the publication are in XML, XML with a Java™ Message Service (JMS) topic, or Delimited format.

Publications are used only in Classic event publishing. They are not used in Classic replication.

Procedure

To create a publication:

  1. In Classic Data Architect, open the New Publication wizard. In the Database Explorer, right-click the Publications folder for the data server that you want to create the publication in. Select New Publication.
  2. In the New Publication wizard, provide the following information:
    • The name of the publication
    • The schema and name of the table or view that you want to use as the source for the publication
    • If you are publishing to WebSphere MQ: the name of the publishing map that specifies the send queue to transport messages for the publication.
    • If you are publishing to File Manager: the change file prefix that you defined when you created your publishing map.
    • Whether to publish the before values in addition to the after values for a data event
    • For every row-level change, whether to publish values in changed columns only or publish the values for all columns in the row
  3. Click Finish to create the publication.
The publication appears in the Publications folder. If the corresponding correlation service is running, right-click the publication and select Activate to start publishing messages.

If you want to change the properties of the publication, right-click the publication and select Update.

Related concepts
Mapping data for change capture
Related tasks
Activating, deactivating, and reinitializing publications
Configuring File Manager for Classic event publishing
Related reference
Publication properties
Publishing map properties


Feedback

Update icon Last updated: 2007-10-09