Commit 620d8bb5 authored by Duncan Brown's avatar Duncan Brown
Browse files

updated included and installed files for glue release 1.26

parent 9423a784
......@@ -3,8 +3,17 @@ include glue/ligolw/*.c
include glue/ligolw/*.h
include misc/*.py
include src/conf/db2/*
include src/conf/q_replication/*
include src/conf/mysql/*
include src/conf/s6_db2/*.in
include src/conf/s6_db2/change_creator_db.pl
include src/conf/s6_db2/creator_db_table.txt
include src/conf/s6_qreplication/*
include src/conf/s6_qreplication/lho/*
include src/conf/s6_qreplication/llo/*
include src/conf/s6_qreplication/cit/*
include src/php/README
include src/php/seginsert/*
include src/php/seginsert/img/*
include src/php/seginsert/scripts/*
include src/segments/*.c
include src/segments/*.h
include man/man1/*
......
python-glue (1.26-1) unstable; urgency=low
* Initial release of 1.26
-- Duncan Brown <dabrown@physics.syr.edu> Wed, 2 Jun 2009 13:20:00 -0500
python-glue (1.25-1) unstable; urgency=low
* Initial release of 1.25
......
......@@ -6,7 +6,7 @@
Name: glue
Summary: The Grid LSC User Environment
Version: 1.25
Version: 1.26
Release: 1.lscsoft
License: None
Group: Development/Libraries
......@@ -43,6 +43,7 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/glue/
%{_prefix}/bin/
%{_prefix}/etc/
%{_prefix}/var/
%changelog
* Wed Jul 01 2009 Duncan Brown <dabrown@physics.syr.edu>
......
......@@ -25,7 +25,7 @@ from distutils.command import sdist
from distutils.command import clean
from distutils import log
ver = "1.25"
ver = "1.26"
def remove_root(path,root):
if root:
......
-- This file is part of the Grid LSC User Environment (GLUE)
--
-- GLUE is free software: you can redistribute it and/or modify it under the
-- terms of the GNU General Public License as published by the Free Software
-- Foundation, either version 3 of the License, or (at your option) any later
-- version.
--
-- This program is distributed in the hope that it will be useful, but WITHOUT
-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-- details.
--
-- You should have received a copy of the GNU General Public License along
-- with this program. If not, see <http://www.gnu.org/licenses/>.
--Beginning of script 1-- DatabaseDB2LUOW (SEG_CIT) [WARNING***Please do not alter this line]--
-- CONNECT TO SEG_CIT USER XXXX using XXXX;
CREATE TABLESPACE QAASN4 MANAGED BY SYSTEM USING ('QAASN4_TSC');
CREATE TABLE ASN.IBMQREP_APPLYPARMS
(
QMGR VARCHAR(48) NOT NULL,
MONITOR_LIMIT INTEGER NOT NULL WITH DEFAULT 10080,
TRACE_LIMIT INTEGER NOT NULL WITH DEFAULT 10080,
MONITOR_INTERVAL INTEGER NOT NULL WITH DEFAULT 300,
PRUNE_INTERVAL INTEGER NOT NULL WITH DEFAULT 300,
AUTOSTOP CHARACTER(1) NOT NULL WITH DEFAULT 'N',
LOGREUSE CHARACTER(1) NOT NULL WITH DEFAULT 'N',
LOGSTDOUT CHARACTER(1) NOT NULL WITH DEFAULT 'N',
APPLY_PATH VARCHAR(1040) WITH DEFAULT NULL,
ARCH_LEVEL CHARACTER(4) NOT NULL WITH DEFAULT '0802',
TERM CHARACTER(1) NOT NULL WITH DEFAULT 'Y',
PWDFILE VARCHAR(48) WITH DEFAULT NULL,
DEADLOCK_RETRIES INTEGER NOT NULL WITH DEFAULT 3,
CONSTRAINT CA_MON_LIMIT CHECK(MONITOR_LIMIT >= 1 AND MONITOR_LIMIT <=
2147483647),
CONSTRAINT CA_TRACE_LIMT CHECK(TRACE_LIMIT >= 1 AND TRACE_LIMIT <=
2147483647),
CONSTRAINT CA_MON_INTERVAL CHECK(MONITOR_INTERVAL >= 1 AND
MONITOR_INTERVAL <= 2147483647),
CONSTRAINT CA_PRUNE_INTERVAL CHECK(PRUNE_INTERVAL >= 1 AND
PRUNE_INTERVAL <= 2147483647),
CONSTRAINT CA_AUTOSTOP CHECK(AUTOSTOP IN ('Y','N')),
CONSTRAINT CA_LOGREUSE CHECK(LOGREUSE IN ('Y','N')),
CONSTRAINT CA_LOGSTDOUT CHECK(LOGSTDOUT IN ('Y','N')),
CONSTRAINT CA_TERM CHECK(TERM IN ('Y','N')),
CONSTRAINT CA_RETRIES CHECK(DEADLOCK_RETRIES >= 3 AND
DEADLOCK_RETRIES <= 2147483647)
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_APPLYPARMS
VOLATILE CARDINALITY;
CREATE UNIQUE INDEX ASN.IX1AQMGRCOL ON ASN.IBMQREP_APPLYPARMS
(
QMGR ASC
);
CREATE TABLE ASN.IBMQREP_RECVQUEUES
(
REPQMAPNAME VARCHAR(128) NOT NULL,
RECVQ VARCHAR(48) NOT NULL,
SENDQ VARCHAR(48) WITH DEFAULT NULL,
ADMINQ VARCHAR(48) NOT NULL,
NUM_APPLY_AGENTS INTEGER NOT NULL WITH DEFAULT 16,
MEMORY_LIMIT INTEGER NOT NULL WITH DEFAULT 32,
CAPTURE_SERVER VARCHAR(18) NOT NULL,
CAPTURE_ALIAS VARCHAR(8) NOT NULL,
CAPTURE_SCHEMA VARCHAR(30) NOT NULL WITH DEFAULT 'ASN',
STATE CHARACTER(1) NOT NULL WITH DEFAULT 'A',
STATE_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
STATE_INFO CHARACTER(8),
DESCRIPTION VARCHAR(254),
PRIMARY KEY(RECVQ),
CONSTRAINT CC_SENDQ_STATE CHECK(STATE IN ('A','I'))
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_RECVQUEUES
VOLATILE CARDINALITY;
CREATE UNIQUE INDEX ASN.IX1REPMAPCOL ON ASN.IBMQREP_RECVQUEUES
(
REPQMAPNAME ASC
);
CREATE TABLE ASN.IBMQREP_TARGETS
(
SUBNAME VARCHAR(132) NOT NULL,
RECVQ VARCHAR(48) NOT NULL,
SUB_ID INTEGER WITH DEFAULT NULL,
SOURCE_SERVER VARCHAR(18) NOT NULL,
SOURCE_ALIAS VARCHAR(8) NOT NULL,
SOURCE_OWNER VARCHAR(128) NOT NULL,
SOURCE_NAME VARCHAR(128) NOT NULL,
SRC_NICKNAME_OWNER VARCHAR(128),
SRC_NICKNAME VARCHAR(128),
TARGET_OWNER VARCHAR(128) NOT NULL,
TARGET_NAME VARCHAR(128) NOT NULL,
TARGET_TYPE INTEGER NOT NULL WITH DEFAULT 1,
FEDERATED_TGT_SRVR VARCHAR(18) WITH DEFAULT NULL,
STATE CHARACTER(1) NOT NULL WITH DEFAULT 'I',
STATE_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
STATE_INFO CHARACTER(8),
SUBTYPE CHARACTER(1) NOT NULL WITH DEFAULT 'U',
CONFLICT_RULE CHARACTER(1) NOT NULL WITH DEFAULT 'K',
CONFLICT_ACTION CHARACTER(1) NOT NULL WITH DEFAULT 'I',
ERROR_ACTION CHARACTER(1) NOT NULL WITH DEFAULT 'Q',
SPILLQ VARCHAR(48) WITH DEFAULT NULL,
OKSQLSTATES VARCHAR(128) WITH DEFAULT NULL,
SUBGROUP VARCHAR(30) WITH DEFAULT NULL,
SOURCE_NODE SMALLINT NOT NULL WITH DEFAULT 0,
TARGET_NODE SMALLINT NOT NULL WITH DEFAULT 0,
GROUP_INIT_ROLE CHARACTER(1) WITH DEFAULT NULL,
HAS_LOADPHASE CHARACTER(1) NOT NULL WITH DEFAULT 'N',
LOAD_TYPE SMALLINT NOT NULL WITH DEFAULT 0,
DESCRIPTION VARCHAR(254),
SEARCH_CONDITION VARCHAR(2048) WITH DEFAULT NULL,
CONSTRAINT CA_TARGTBL_STATE CHECK(STATE IN ('L','A','I','E','D','F'
,'T')),
CONSTRAINT CA_UPDATEANY CHECK(SUBTYPE IN ('U','B','P')),
CONSTRAINT CA_CONFLICTACTION CHECK(CONFLICT_ACTION IN ('F','I','D'
,'S','Q')),
CONSTRAINT CA_ERRORACTION CHECK(ERROR_ACTION IN ('D','S','Q')),
CONSTRAINT CA_UPANY_SOURCE CHECK(SOURCE_NODE <= 32767 AND SOURCE_NODE
>= 0 ),
CONSTRAINT CA_UPANY_TARGET CHECK(TARGET_NODE <= 32767 AND TARGET_NODE
>= 0 ),
CONSTRAINT CA_TARGET_TYPE CHECK(TARGET_TYPE >= 1 AND TARGET_TYPE <= 5
),
CONSTRAINT CA_GROUP_INIT_ROLE CHECK(GROUP_INIT_ROLE IN ('I','M','N')),
CONSTRAINT CA_LOAD_TYPE CHECK(LOAD_TYPE >= 0 AND LOAD_TYPE <= 3 )
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_TARGETS
VOLATILE CARDINALITY;
CREATE UNIQUE INDEX ASN.IX1TARGETS ON ASN.IBMQREP_TARGETS
(
SUBNAME ASC,
RECVQ ASC
);
CREATE UNIQUE INDEX ASN.IX2TARGETS ON ASN.IBMQREP_TARGETS
(
TARGET_OWNER ASC,
TARGET_NAME ASC,
RECVQ ASC,
SOURCE_OWNER ASC,
SOURCE_NAME ASC
);
CREATE INDEX ASN.IX3TARGETS ON ASN.IBMQREP_TARGETS
(
RECVQ ASC,
SUB_ID ASC
);
CREATE TABLE ASN.IBMQREP_TRG_COLS
(
RECVQ VARCHAR(48) NOT NULL,
SUBNAME VARCHAR(132) NOT NULL,
SOURCE_COLNAME VARCHAR(128) NOT NULL,
TARGET_COLNAME VARCHAR(128) NOT NULL,
TARGET_COLNO INTEGER WITH DEFAULT NULL,
MSG_COL_CODEPAGE INTEGER WITH DEFAULT NULL,
MSG_COL_NUMBER SMALLINT WITH DEFAULT NULL,
MSG_COL_TYPE SMALLINT WITH DEFAULT NULL,
MSG_COL_LENGTH INTEGER WITH DEFAULT NULL,
IS_KEY CHARACTER(1) NOT NULL,
CONSTRAINT CA_IS_KEY CHECK(IS_KEY IN ('Y','N'))
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_TRG_COLS
VOLATILE CARDINALITY;
CREATE UNIQUE INDEX ASN.IX1TRGCOL ON ASN.IBMQREP_TRG_COLS
(
RECVQ ASC,
SUBNAME ASC,
TARGET_COLNAME ASC
);
CREATE TABLE ASN.IBMQREP_SPILLQS
(
SPILLQ VARCHAR(48) NOT NULL,
SUBNAME VARCHAR(132) NOT NULL,
RECVQ VARCHAR(48) NOT NULL,
PRIMARY KEY(SPILLQ)
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_SPILLQS
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_EXCEPTIONS
(
EXCEPTION_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
RECVQ VARCHAR(48) NOT NULL,
SRC_COMMIT_LSN CHARACTER(10) FOR BIT DATA NOT NULL,
SRC_TRANS_TIME TIMESTAMP NOT NULL,
SUBNAME VARCHAR(132) NOT NULL,
REASON CHARACTER(12) NOT NULL,
SQLCODE INTEGER,
SQLSTATE CHARACTER(5),
SQLERRMC VARCHAR(70) FOR BIT DATA,
OPERATION VARCHAR(18) NOT NULL,
TEXT CLOB(32768) NOT LOGGED NOT COMPACT NOT NULL,
IS_APPLIED CHARACTER(1) NOT NULL,
CONFLICT_RULE CHARACTER(1),
CONSTRAINT CA_IS_APPLIED CHECK(IS_APPLIED IN ('Y','N'))
)
IN QAASN4;
CREATE TABLE ASN.IBMQREP_APPLYTRACE
(
OPERATION CHARACTER(8) NOT NULL,
TRACE_TIME TIMESTAMP NOT NULL,
DESCRIPTION VARCHAR(1024) NOT NULL
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_APPLYTRACE
VOLATILE CARDINALITY;
CREATE INDEX ASN.IX1TRCTMCOL ON ASN.IBMQREP_APPLYTRACE
(
TRACE_TIME ASC
);
CREATE TABLE ASN.IBMQREP_APPLYMON
(
MONITOR_TIME TIMESTAMP NOT NULL,
RECVQ VARCHAR(48) NOT NULL,
QSTART_TIME TIMESTAMP NOT NULL,
CURRENT_MEMORY INTEGER NOT NULL,
QDEPTH INTEGER NOT NULL,
END2END_LATENCY INTEGER NOT NULL,
QLATENCY INTEGER NOT NULL,
APPLY_LATENCY INTEGER NOT NULL,
TRANS_APPLIED INTEGER NOT NULL,
ROWS_APPLIED INTEGER NOT NULL,
TRANS_SERIALIZED INTEGER NOT NULL,
RI_DEPENDENCIES INTEGER NOT NULL,
RI_RETRIES INTEGER NOT NULL,
DEADLOCK_RETRIES INTEGER NOT NULL,
ROWS_NOT_APPLIED INTEGER NOT NULL,
MONSTER_TRANS INTEGER NOT NULL,
MEM_FULL_TIME INTEGER NOT NULL,
APPLY_SLEEP_TIME INTEGER NOT NULL,
SPILLED_ROWS INTEGER NOT NULL,
SPILLEDROWSAPPLIED INTEGER NOT NULL,
OLDEST_TRANS TIMESTAMP NOT NULL,
OKSQLSTATE_ERRORS INTEGER NOT NULL,
HEARTBEAT_LATENCY INTEGER NOT NULL,
KEY_DEPENDENCIES INTEGER NOT NULL,
UNIQ_DEPENDENCIES INTEGER NOT NULL,
UNIQ_RETRIES INTEGER NOT NULL,
PRIMARY KEY(MONITOR_TIME, RECVQ)
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_APPLYMON
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_DONEMSG
(
RECVQ VARCHAR(48) NOT NULL,
MQMSGID CHARACTER(24) FOR BIT DATA NOT NULL,
PRIMARY KEY(RECVQ, MQMSGID)
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_DONEMSG
VOLATILE CARDINALITY
APPEND ON;
CREATE TABLE ASN.IBMQREP_SPILLEDROW
(
SPILLQ VARCHAR(48) NOT NULL,
MQMSGID CHARACTER(24) FOR BIT DATA NOT NULL,
PRIMARY KEY(SPILLQ, MQMSGID)
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_SPILLEDROW
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_SAVERI
(
SUBNAME VARCHAR(132) NOT NULL,
RECVQ VARCHAR(48) NOT NULL,
CONSTNAME VARCHAR(18) NOT NULL,
TABSCHEMA VARCHAR(128) NOT NULL,
TABNAME VARCHAR(128) NOT NULL,
REFTABSCHEMA VARCHAR(128) NOT NULL,
REFTABNAME VARCHAR(128) NOT NULL,
ALTER_RI_DDL VARCHAR(1680) NOT NULL,
TYPE_OF_LOAD CHARACTER(1) NOT NULL,
CONSTRAINT CA_TYPE_OF_LOAD CHECK(TYPE_OF_LOAD IN ('I','E'))
)
IN QAASN4;
ALTER TABLE ASN.IBMQREP_SAVERI
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_APPLYENQ
(
LOCKNAME INTEGER
)
IN QAASN4;
INSERT INTO ASN.IBMQREP_APPLYPARMS
(qmgr, monitor_limit, trace_limit, monitor_interval, prune_interval,
autostop, logreuse, logstdout, arch_level, term, deadlock_retries)
VALUES
('QM3', 10080, 10080, 300, 300, 'N', 'N', 'N', '0802', 'Y', 3);
-- COMMIT;
-- This file is part of the Grid LSC User Environment (GLUE)
--
-- GLUE is free software: you can redistribute it and/or modify it under the
-- terms of the GNU General Public License as published by the Free Software
-- Foundation, either version 3 of the License, or (at your option) any later
-- version.
--
-- This program is distributed in the hope that it will be useful, but WITHOUT
-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-- details.
--
-- You should have received a copy of the GNU General Public License along
-- with this program. If not, see <http://www.gnu.org/licenses/>.
--Beginning of script 1-- DatabaseDB2LUOW (SEG_CIT) [WARNING***Please do not alter this line]--
-- CONNECT TO SEG_CIT USER XXXX using XXXX;
CREATE TABLESPACE QCASN4 MANAGED BY SYSTEM USING ('QCASN4_TSC');
CREATE TABLE ASN.IBMQREP_CAPPARMS
(
QMGR VARCHAR(48) NOT NULL,
REMOTE_SRC_SERVER VARCHAR(18),
RESTARTQ VARCHAR(48) NOT NULL,
ADMINQ VARCHAR(48) NOT NULL,
STARTMODE VARCHAR(6) NOT NULL WITH DEFAULT 'WARMSI',
MEMORY_LIMIT INTEGER NOT NULL WITH DEFAULT 32,
COMMIT_INTERVAL INTEGER NOT NULL WITH DEFAULT 500,
AUTOSTOP CHARACTER(1) NOT NULL WITH DEFAULT 'N',
MONITOR_INTERVAL INTEGER NOT NULL WITH DEFAULT 300,
MONITOR_LIMIT INTEGER NOT NULL WITH DEFAULT 10080,
TRACE_LIMIT INTEGER NOT NULL WITH DEFAULT 10080,
SIGNAL_LIMIT INTEGER NOT NULL WITH DEFAULT 10080,
PRUNE_INTERVAL INTEGER NOT NULL WITH DEFAULT 300,
SLEEP_INTERVAL INTEGER NOT NULL WITH DEFAULT 5000,
LOGREUSE CHARACTER(1) NOT NULL WITH DEFAULT 'N',
LOGSTDOUT CHARACTER(1) NOT NULL WITH DEFAULT 'N',
TERM CHARACTER(1) NOT NULL WITH DEFAULT 'Y',
CAPTURE_PATH VARCHAR(1040) WITH DEFAULT NULL,
ARCH_LEVEL CHARACTER(4) NOT NULL WITH DEFAULT '0802',
CONSTRAINT CC_STARTMODE CHECK(STARTMODE IN ('COLD','WARMSI','WARMSA'
,'WARMNS')),
CONSTRAINT CC_MEMORY_LIMIT CHECK(MEMORY_LIMIT >= 1 AND MEMORY_LIMIT
<= 1000),
CONSTRAINT CC_COMMIT_INTERVAL CHECK(COMMIT_INTERVAL >= 100 AND
COMMIT_INTERVAL <= 600000),
CONSTRAINT CC_AUTOSTOP CHECK(AUTOSTOP IN ('Y','N')),
CONSTRAINT CC_MON_INTERVAL CHECK(MONITOR_INTERVAL >= 1 AND
MONITOR_INTERVAL <= 2147483647),
CONSTRAINT CC_MON_LIMIT CHECK(MONITOR_LIMIT >= 1 AND MONITOR_LIMIT <=
2147483647),
CONSTRAINT CC_TRACE_LIMT CHECK(TRACE_LIMIT >= 1 AND TRACE_LIMIT <=
2147483647),
CONSTRAINT CC_SIGNAL_LIMIT CHECK(SIGNAL_LIMIT >= 1 AND SIGNAL_LIMIT
<= 2147483647),
CONSTRAINT CC_PRUNE_INTERVAL CHECK(PRUNE_INTERVAL >= 1 AND
PRUNE_INTERVAL <= 2147483647),
CONSTRAINT CC_LOGREUSE CHECK(LOGREUSE IN ('Y','N')),
CONSTRAINT CC_LOGSTDOUT CHECK(LOGSTDOUT IN ('Y','N')),
CONSTRAINT CC_TERM CHECK(TERM IN ('Y','N')),
CONSTRAINT CC_SLEEP_INTERVAL CHECK(SLEEP_INTERVAL >= 1 AND
SLEEP_INTERVAL <= 2147483647)
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_CAPPARMS
VOLATILE CARDINALITY;
CREATE UNIQUE INDEX ASN.IX1CQMGRCOL ON ASN.IBMQREP_CAPPARMS
(
QMGR ASC
);
CREATE TABLE ASN.IBMQREP_SENDQUEUES
(
PUBQMAPNAME VARCHAR(128) NOT NULL,
SENDQ VARCHAR(48) NOT NULL,
RECVQ VARCHAR(48),
MESSAGE_FORMAT CHARACTER(1) NOT NULL WITH DEFAULT 'C',
MSG_CONTENT_TYPE CHARACTER(1) NOT NULL WITH DEFAULT 'T',
STATE CHARACTER(1) NOT NULL WITH DEFAULT 'A',
STATE_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
STATE_INFO CHARACTER(8),
ERROR_ACTION CHARACTER(1) NOT NULL WITH DEFAULT 'S',
HEARTBEAT_INTERVAL INTEGER NOT NULL WITH DEFAULT 60,
MAX_MESSAGE_SIZE INTEGER NOT NULL WITH DEFAULT 64,
APPLY_SERVER VARCHAR(18),
APPLY_ALIAS VARCHAR(8),
APPLY_SCHEMA VARCHAR(128),
DESCRIPTION VARCHAR(254),
PRIMARY KEY(SENDQ),
CONSTRAINT CC_MSG_FORMAT CHECK(MESSAGE_FORMAT IN ('X','C', 'J')),
CONSTRAINT CC_MSG_CONT_TYPE CHECK(MSG_CONTENT_TYPE IN ('T','R')),
CONSTRAINT CC_SENDQ_STATE CHECK(STATE IN ('A','I')),
CONSTRAINT CC_QERRORACTION CHECK(ERROR_ACTION IN ('I','S')),
CONSTRAINT CC_HTBEAT_INTERVAL CHECK(HEARTBEAT_INTERVAL >= 0 AND
HEARTBEAT_INTERVAL <= 32767)
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_SENDQUEUES
VOLATILE CARDINALITY;
CREATE UNIQUE INDEX ASN.IX1PUBMAPCOL ON ASN.IBMQREP_SENDQUEUES
(
PUBQMAPNAME ASC
);
CREATE TABLE ASN.IBMQREP_SUBS
(
SUBNAME VARCHAR(132) NOT NULL,
SOURCE_OWNER VARCHAR(128) NOT NULL,
SOURCE_NAME VARCHAR(128) NOT NULL,
TARGET_SERVER VARCHAR(18),
TARGET_ALIAS VARCHAR(8),
TARGET_OWNER VARCHAR(128),
TARGET_NAME VARCHAR(128),
TARGET_TYPE INTEGER,
APPLY_SCHEMA VARCHAR(128),
SENDQ VARCHAR(48) NOT NULL,
SEARCH_CONDITION VARCHAR(2048) WITH DEFAULT NULL,
SUB_ID INTEGER WITH DEFAULT NULL,
SUBTYPE CHARACTER(1) NOT NULL WITH DEFAULT 'U',
ALL_CHANGED_ROWS CHARACTER(1) NOT NULL WITH DEFAULT 'N',
BEFORE_VALUES CHARACTER(1) NOT NULL WITH DEFAULT 'N',
CHANGED_COLS_ONLY CHARACTER(1) NOT NULL WITH DEFAULT 'Y',
HAS_LOADPHASE CHARACTER(1) NOT NULL WITH DEFAULT 'I',
STATE CHARACTER(1) NOT NULL WITH DEFAULT 'N',
STATE_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
STATE_INFO CHARACTER(8),
STATE_TRANSITION VARCHAR(256) FOR BIT DATA,
SUBGROUP VARCHAR(30) WITH DEFAULT NULL,
SOURCE_NODE SMALLINT NOT NULL WITH DEFAULT 0,
TARGET_NODE SMALLINT NOT NULL WITH DEFAULT 0,
GROUP_MEMBERS CHARACTER(254) FOR BIT DATA WITH DEFAULT NULL,
OPTIONS_FLAG CHARACTER(4) NOT NULL WITH DEFAULT 'NNNN',
SUPPRESS_DELETES CHARACTER(1) NOT NULL WITH DEFAULT 'N',
DESCRIPTION VARCHAR(200),
TOPIC VARCHAR(256),
PRIMARY KEY(SUBNAME),
CONSTRAINT FKSENDQ FOREIGN KEY(SENDQ) REFERENCES
ASN.IBMQREP_SENDQUEUES(SENDQ),
CONSTRAINT CC_SUBTYPE CHECK(SUBTYPE IN ('U','B','P')),
CONSTRAINT CC_ALL_CHGD_ROWS CHECK(ALL_CHANGED_ROWS IN ('Y','N')),
CONSTRAINT CC_BEFORE_VALUES CHECK(BEFORE_VALUES IN ('Y','N')),
CONSTRAINT CC_CHGD_COLS_ONLY CHECK(CHANGED_COLS_ONLY IN ('Y','N')),
CONSTRAINT CC_HAS_LOADPHASE CHECK(HAS_LOADPHASE IN ('N','I','E')),
CONSTRAINT CC_SUBS_STATE CHECK(STATE IN ('L','A','I','T','G','N')),
CONSTRAINT CC_SUPPRESS_DELS CHECK(SUPPRESS_DELETES IN ('Y','N'))
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_SUBS
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_SRC_COLS
(
SUBNAME VARCHAR(132) NOT NULL,
SRC_COLNAME VARCHAR(128) NOT NULL,
IS_KEY SMALLINT NOT NULL WITH DEFAULT 0,
PRIMARY KEY(SUBNAME, SRC_COLNAME),
CONSTRAINT FKSUBS FOREIGN KEY(SUBNAME) REFERENCES ASN.IBMQREP_SUBS
(SUBNAME)
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_SRC_COLS
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_SRCH_COND
(
ASNQREQD INTEGER
)
IN QCASN4;
CREATE TABLE ASN.IBMQREP_SIGNAL
(
SIGNAL_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
SIGNAL_TYPE VARCHAR(30) NOT NULL,
SIGNAL_SUBTYPE VARCHAR(30),
SIGNAL_INPUT_IN VARCHAR(500),
SIGNAL_STATE CHARACTER(1) NOT NULL WITH DEFAULT 'P',
SIGNAL_LSN CHARACTER(10) FOR BIT DATA,
PRIMARY KEY(SIGNAL_TIME),
CONSTRAINT CC_SIGNAL_TYPE CHECK(SIGNAL_TYPE IN ('CMD','USER')),
CONSTRAINT CC_SIGNAL_STATE CHECK(SIGNAL_STATE IN ('P','R','C','F'))
)
DATA CAPTURE CHANGES
IN QCASN4;
ALTER TABLE ASN.IBMQREP_SIGNAL
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_CAPTRACE
(
OPERATION CHARACTER(8) NOT NULL,
TRACE_TIME TIMESTAMP NOT NULL,
DESCRIPTION VARCHAR(1024) NOT NULL
)
IN QCASN4;
CREATE TABLE ASN.IBMQREP_CAPMON
(
MONITOR_TIME TIMESTAMP NOT NULL,
CURRENT_LOG_TIME TIMESTAMP NOT NULL,
CAPTURE_IDLE INTEGER NOT NULL,
CURRENT_MEMORY INTEGER NOT NULL,
ROWS_PROCESSED INTEGER NOT NULL,
TRANS_SKIPPED INTEGER NOT NULL,
TRANS_PROCESSED INTEGER NOT NULL,
TRANS_SPILLED INTEGER NOT NULL,
MAX_TRANS_SIZE INTEGER NOT NULL,
QUEUES_IN_ERROR INTEGER NOT NULL,
RESTART_SEQ CHARACTER(10) FOR BIT DATA NOT NULL,
CURRENT_SEQ CHARACTER(10) FOR BIT DATA NOT NULL,
PRIMARY KEY(MONITOR_TIME)
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_CAPMON
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_CAPQMON
(
MONITOR_TIME TIMESTAMP NOT NULL,
SENDQ VARCHAR(48) NOT NULL,
ROWS_PUBLISHED INTEGER NOT NULL,
TRANS_PUBLISHED INTEGER NOT NULL,
CHG_ROWS_SKIPPED INTEGER NOT NULL,
DELROWS_SUPPRESSED INTEGER NOT NULL,
ROWS_SKIPPED INTEGER NOT NULL,
PRIMARY KEY(MONITOR_TIME, SENDQ)
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_CAPQMON
VOLATILE CARDINALITY;
CREATE TABLE ASN.IBMQREP_CAPENQ
(
LOCKNAME INTEGER
)
IN QCASN4;
CREATE TABLE ASN.IBMQREP_ADMINMSG
(
MQMSGID CHARACTER(24) FOR BIT DATA NOT NULL,
MSG_TIME TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
PRIMARY KEY(MQMSGID)
)
IN QCASN4;
ALTER TABLE ASN.IBMQREP_ADMINMSG