Before you can publish or replicate data, you must create control tables for a Q Capture program, a Q Apply program, or both. Control tables store information about Q subscriptions and publications, message queues, operational parameters, and user preferences.
Before you begin
Restrictions
For partitioned databases, all of the table spaces that are used by the control tables must be in a single-partition table space that is on the catalog partition.
About this task
Each instance of the Q Capture program or Q Apply program has its own set of control tables, identified by the Q Capture schema or Q Apply schema. For example, the control table that stores operational parameters for a Q Capture program with a schema of ASN1 would be named ASN1.IBMQREP_CAPPARMS.
By default, the control tables are placed in two table spaces on z/OS®, one for tables that require page-level locking and one for tables that require row-level locking. The control tables are created by default in one table space on Linux, UNIX, and Windows. You can customize where each control table is created, and you can specify existing table spaces or create new table spaces.
For peer-to-peer replication, the Q Capture program and Q Apply program run as a pair at each server. Both sets of control tables must have the same schema.
Procedure
Method | Description |
---|---|
ASNCLP command-line program | Use the CREATE CONTROL TABLES FOR command. For example, the
following commands set the environment and create control tables in
the SAMPLE database with a Q Capture schema of ASN1:
The CREATE command specifies a
restart queue and administration queue, doubles the default amount
of memory available to build transactions to 64 MB, and reduces the
default interval for recording performance information to 600000 milliseconds
(one minute). |
Replication Center | Use the Create Control Tables wizard. To open the wizards, right-click the Q Capture Servers folder and click Create Q Capture control tables, or right-click the Q Apply Servers folder and click Create Q Apply control tables. |