IBMQREP_SENDQUEUES table
The IBMQREP_SENDQUEUES table contains information about the IBM® MQ queues that are used by a Q Capture program to send data and informational messages. Each instance of the Q Capture program can work with multiple send queues. Each send queue is uniquely defined in the IBMQREP_SENDQUEUES table.
Server: Q Capture server
Default schema: ASN
Primary key: SENDQ
Unique index: PUBQMAPNAME
Important: Do not alter this table using SQL. Altering this table inappropriately can cause unexpected results and loss of data.
Table 1 provides a brief description of the columns in the IBMQREP_SENDQUEUES table.
Column name | Description |
---|---|
PUBQMAPNAME | Data type: VARCHAR(128); Nullable: No The name of the publishing queue map that includes this send queue. For Q subscriptions, this name must match the value of REPQMAPNAME in the IBMQREP_RECVQUEUES table. |
SENDQ | Data type: VARCHAR(48); Nullable: No The unique name for this send queue. The name can stand for the local definition of a remote queue, or for a local queue. The name cannot contain blanks. |
RECVQ | Data type: VARCHAR(48); Nullable: Yes The name of the receive queue for this Q subscription. This is a local queue on the Q Apply server. Queue names cannot contain blanks. |
DESCRIPTION | Data type: VARCHAR(254); Nullable: Yes A user-supplied description of the publishing queue map that contains this send queue. |
MESSAGE_FORMAT | Data type: CHAR(1); Nullable: No,
with default The format that is used to encode messages that are put on the send queue.
|
MSG_CONTENT_TYPE | Data type: CHAR(1); Nullable: No,
with default A flag that indicates whether messages put on the queue will contain an entire database transaction or a row operation only.
|
STATE | Data type: CHAR(1); Nullable: No,
with default A flag that is inserted by the Q Capture program to show the status of the send queue.
|
STATE_TIME | Data type: TIMESTAMP; Nullable: No,
with default The timestamp in the local time of the Q Capture server of the send queue's last state change. Default: Current® timestamp |
STATE_INFO | Data type: CHAR(8); Nullable: Yes The number for the ASN message about the queue state. For details, see the IBMQREP_CAPTRACE table, or the Q Capture diagnostic log. |
ERROR_ACTION | Data type: CHAR(1); Nullable: No,
with default A flag that tells the Q Capture program what to do when the send queue is no longer accepting messages because of an MQ error, or when an error occurs for an active Q subscription on this queue.
|
LOB_TOO_BIG_ACTION | Data
type: CHAR(1); Nullable: No, with default A flag that tells the Q Capture program what to do when a single large object (LOB) value would exceed the maximum message size that is allowed for this send queue.
|
XML_TOO_BIG_ACTION | Data
type: CHAR(1); Nullable: No, with default A flag that tells the Q Capture program what to do when a single XML document would exceed the maximum message size allowed for this send queue.
|
HEARTBEAT_INTERVAL | Data type: INTEGER; Nullable: No,
with default How often, in milliseconds, the Q Capture program sends messages on this queue to tell the Q Apply program or a user application that the Q Capture program is still running when there are no changes to publish. The value must be a multiple of the COMMIT_INTERVAL value, or it will be rounded to the nearest multiple (COMMIT_INTERVAL is set in the IBMQREP_CAPPARMS table). A value of 0 tells the Q Capture program not to send heartbeat messages. Default: 60000 For versions before 10.2.1, the value is measured in seconds and the default is 60. For delimited messages (MESSAGE_FORMAT=D), the value of HEARTBEAT_INTERVAL must be 0. Note: The HEARTBEAT_INTERVAL defined in the IBMQREP_SENDQUEUES
table is different from the HBINT (heartbeat interval) parameter that
you can define for an MQ channel.
|
MAX_MESSAGE_SIZE | Data type: INTEGER; Nullable: No,
with default The maximum size (in kilobytes) of the buffer that is used for sending messages over this send queue. The size of the buffer must not be larger than the MQ maximum message length (MAXMSGL) attribute that is defined for any queues that will contain the message, or all Q subscriptions and publications that use this send queue will be invalidated. Default: 64 KB |
APPLY_SERVER | Data type: VARCHAR(18); Nullable: Yes The name of the database where the Q Apply program runs and targets are defined. For z/OS®, this is a location name. |
APPLY_ALIAS | Data type: VARCHAR(8); Nullable: Yes The DB2® database alias that corresponds to the Q Apply server that is named in the APPLY_SERVER column. |
APPLY_SCHEMA | Data type: VARCHAR(128); Nullable: Yes The schema of the Q Apply program that is applying transactions from this send queue. |
MESSAGE_CODEPAGE | Data type: INTEGER; Nullable: Yes The code page that is used to encode messages for Event Publishing. |
COLUMN_DELIMITER | Data type: CHAR(1); Nullable: Yes A single character that is used to separate header entries and column data within a delimited message. Default: comma (,) |
STRING_DELIMITER | Data type: CHAR(1); Nullable: Yes A single character that is used to surround string data in a delimited message. Default: double quotation mark (") |
RECORD_DELIMITER | Data type: CHAR(1); Nullable: Yes A single character that is used to separate change-data records in a delimited message. Default: new line character |
DECIMAL_POINT | Data type: CHAR(1); Nullable: Yes A single character that is used to separate the fractional portion of numerical data in a delimited message. Default: period (.) |
SENDRAW_IFERROR | Data type: CHAR(1); Nullable: No,
with default For Event Publishing: Specifies whether character data is published when the data causes a code page conversion error. An example of invalid character data is an incomplete double-byte character and missing shift-in byte ('0F'x) in a string stored in a Japanese or Korean code page. The following string should have '830F' at the end, but does not: x'0E4481448244'.
|
NUM_PARALLEL_SENDQS | Data type: SMALLINT; Nullable: No,
with default A number that indicates how many send queues the Q Capture program uses to replicate transactions for the replication queue map. The default value is 1. If the number is greater than 1, Q Capture expects the send queues to be defined in the following format:
Where send_queue_name remains the same for all send queues that are part of the queue map, and suffix is an integer with a minimum value of 1. For example, if NUM_PARALLEL_SENDQS is 3, Q Capture would expect the following send queue names:
Important: If the
value of the NUM_PARALLEL_SENDQS column is greater than 1, the PARALLEL_SENDQS
column in the IBMQREP_RECVQUEUES must be set to Y.
|
MCGNAME | Data type: VARCHAR(64); Nullable: Yes,
with default The name of the multiple consistency group that this send queue is part of. For IBM GDPS® active/active continuous availability, the value is the GDPS active/standby workload name. Default: NULL |
SEND_RI_COLUMN_VALUES | Data type: CHAR(1); Nullable: Yes, with default A flag that specifies whether the Q Capture program sends foreign key data values for child tables even if the data in the columns did not change. Sending this data enables the Q Apply program to serialize transactions only when an actual referential integrity dependency is in place, based on data values.
Note: If you specify SEND_RI_COLUMN_VALUES=Y, you must also specify RI_DEPENDENCY_BY_VALUES=Y
in the IBMQREP_RECVQUEUES table to enable Q Apply to use foreign key data values for dependency
checking.
|