266 Patterns: Information Aggregation and Data Integration with DB2 Information Integrator
"REWARDID" CHAR(10) ,
"POINTBALANCE" DECIMAL(10,2) ,
"PROCESS_DATE" DATE ,
"CREATED_DATE" DATE ,
"CREATED_BY" CHAR(10) )
IN "USERSPACE1" ;
---------------------------------------------------------------------------
CREATE TABLE "DWPATRNS"."REWARD_JOURNAL" (
"RECORD_TYPE" CHAR(1) ,
"CHANGE_SEQ" SMALLINT ,
"CHANGE_TS" TIMESTAMP ,
"CHANGE_SOURCE" CHAR(1) ,
"INITIATOR" INTEGER ,
"CCNUM" CHAR(16) ,
"LAST_NAME" CHAR(30) ,
"FIRST_NAME" CHAR(30) ,
"PARTNER_ID_NUM" CHAR(12) ,
"REWARDID" CHAR(10) ,
"POINTBALANCE" DECIMAL(10,2) ,
"PROCESS_DATE" DATE ,
"CREATED_DATE" DATE ,
"CREATED_BY" CHAR(10) )
IN "USERSPACE1" ;
The data warehouse is both initially populated as well as incrementally updated
using the Ascential DataStage product. Each of these processes is described
briefly in the following sections.
Initial load of the data warehouse
This is a one-time effort to populate the data warehouse from the operational
systems.
Figure C-10 on page 267 through Figure C-17 on page 274 show
some of the
DataStage screens used to define the processes for performing this initial
population.
Note: As mentioned earlier, we chose to access all the operational systems’
data sources through the federated server using nicknames by Ascential
DataStage for both the one-time initial population of the data warehouse as
well as its recurring incremental updates.