-- Licensed Materials - Property of IBM
--
-- BI and PM: CM
--
-- (C) Copyright IBM Corp. 2016
--
-- US Government Users Restricted Rights - Use, duplication or disclosure
-- restricted by GSA ADP Schedule Contract with IBM Corp.

create table CMOBJPROPS87 (
	CMID        integer not null,
	EXT         clob(10M),
	CONSTRAINT PK_CMOBJPROPS87 PRIMARY KEY (CMID) 
) IN CMSCRIPT_CREATE_IN;

CREATE  UNIQUE  INDEX PK_CMOBJPROPS87 ON CMOBJPROPS87 (CMID) USING STOGROUP CMSCRIPT_STOGROUP;

CREATE AUXILIARY TABLE CMATB126
   IN CMSCRIPT_DATABASE.CMSCRIPT_CS_IDCML126
   STORES CMOBJPROPS87
   COLUMN DATA;

CREATE  UNIQUE  INDEX CMIDX126 ON CMATB126 USING STOGROUP CMSCRIPT_STOGROUP;

insert into CMOBJPROPS87 (CMID) select CMID from CMOBJECTS;
