activity.

log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:1/334
Last modification: 3/12/2010 5:51:38 PM

Create Contents operation on repository [PowerCenter] started at 03/12/2010 17:49:31. DROP TABLE OPB_REPOSIT DROP TABLE OPB_SUBJECT DROP TABLE OPB_PICDSC DROP TABLE OPB_SRC_FLD DROP TABLE OPB_SCHEMA DROP TABLE OPB_SRC DROP TABLE OPB_SELINFO DROP TABLE OPB_TARG DROP TABLE OPB_TARG_FLD DROP TABLE OPB_FLDLINK DROP TABLE OPB_TARGINDEX DROP TABLE OPB_TARGINDEXFLD DROP TABLE OPB_RTSEQ DROP TABLE OPB_DBD DROP TABLE OPB_LOAD_SESSION DROP TABLE OPB_LOAD_FILES DROP TABLE OPB_BATCH_SESSION DROP TABLE OPB_LOAD_BATCH DROP TABLE OPB_BATCH_OBJECT DROP TABLE OPB_DATABASES DROP TABLE OPB_LOAD_SESS_CMDS DROP TABLE OPB_SESSION_LOG DROP TABLE OPB_SESS_TARG_LOG DROP TABLE OPB_RECOVERY DROP TABLE OPB_KEYWORD DROP TABLE OPB_SESSION_PARAMS DROP TABLE OPB_CC_INSTANCE DROP TABLE OPB_CC_MAPPINGS DROP TABLE OPB_CC_SRC_TBLS DROP TABLE OPB_CC_REF_TABLES DROP TABLE OPB_CC_SRCDB_ATTR DROP TABLE OPB_TARGET_OPT DROP TABLE OPB_SOURCE_OPT DROP TABLE OPB_TARG_TEMP DROP TABLE OPB_TARGFLD_TEMP DROP TABLE OPB_FLDLINK_TEMP DROP TABLE OPB_LOADSEQ_TEMP DROP TABLE OPB_DEFERRED_TASKS DROP TABLE OPB_MAPPING DROP TABLE OPB_DBDS DROP TABLE OPB_TDS DROP TABLE OPB_WIDGET_DEP DROP TABLE OPB_WIDGET DROP TABLE OPB_WIDGET_EXPR DROP TABLE OPB_EXPRESSION DROP TABLE OPB_WIDGET_INST DROP TABLE OPB_MAP_TARG_INFO DROP TABLE OPB_WIDGET_FIELD DROP TABLE OPB_OBJECT_TYPE DROP TABLE OPB_ATTR DROP TABLE OPB_WIDGET_ATTR DROP TABLE OPB_MAP_OPTIONS DROP TABLE OPB_USERS DROP TABLE OPB_GROUPS DROP TABLE OPB_USER_GROUPS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:2/334
Last modification: 3/12/2010 5:51:38 PM

DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP

TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE

OPB_USER_GROUP OPB_ROLE OPB_OBJECT_ACCESS OPB_REPOSIT_INFO OPB_SHORTCUT OPB_NORM_FLD OPB_SERVER_INFO OPB_OBJECT_LOCKS OPB_REPOSIT_LOG OPB_GEN_OBJECT OPB_GEN_OBJ_REFS OPB_MD_HIER_GRAPH OPB_MD_FACT_FIELD OPB_MD_LEVEL_FIELD OPB_MD_CUBE_FIELD OPB_MD_LVL_HRCHY OPB_MD_FACT_LEVEL OPB_MD_CUBE_HRCHY OPB_MD_HIERARCHY OPB_MD_FACT OPB_MD_LEVEL OPB_MD_DIMENSION OPB_MD_CUBE OPB_SCHEMA_IDS OPB_SCHEMA_DEPLOY OPB_SRV_LOC_VARS OPB_WIDGET_INIT OPB_WIDG_FLD_ATTR OPB_PROGRAM_INFO OPB_LOAD_MAPPING OPB_LOAD_DBDS OPB_LOAD_SDS OPB_LOAD_TDS OPB_LOAD_OPTIONS OPB_FLD_MAPPING OPB_LOAD_FLD_SCRUB OPB_LOAD_TBL_SCRUB OPB_SQL_OVERRIDE OPB_LOAD_SEQ OPB_SRC_TBL_INFO OPB_SPS OPB_LOAD_SPS OPB_DBD_TEMP OPB_SRC_TEMP OPB_SRCFLD_TEMP OPB_PICDSC_TEMP OPB_INDEX_TEMP OPB_INDEXFLD_TEMP OPB_WIDGET_TEMP OPB_EXPR_TEMP OPB_SELINFO_TEMP OPB_MAPPING_TEMP OPB_KEYWORD_TEMP OPB_ANALYZE_DEP OPB_SESS_DSQ OPB_SS_TEMP

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:3/334
Last modification: 3/12/2010 5:51:38 PM

DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP

TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE

OPB_TARG_FLD_EXPR OPB_TARG_TBL_EXPR OPB_SS_SCHEMA OPB_SS_TABLES OPB_SS_RELATIONS OPB_SS_DIMENSIONS OPB_BCF_TREE OPB_BCF_BUSCOMPS OPB_SESS_WIDG_INST OPB_TABLE_GROUP OPB_XML_INFO OPB_SAP_FUNC OPB_SAP_FUNC_PARAM OPB_SAP_STRUCT OPB_SAP_STRUCT_FLD OPB_SAP_FUNC_INST OPB_SAP_DSQ_OPRT OPB_SAP_FUNC_VARS OPB_SAP_CODEBLK OPB_SAP_PGMFLOW OPB_PARTITION OPB_SESS_PARMVAR OPB_MAP_PERVAL OPB_MAP_PARMVAR OPB_SEBL_MVL_LREL OPB_SEBL_MVL_ATTR OPB_SEBL_JOIN_ATTR OPB_SEBL_LINK OPB_SEBL_LINKX OPB_MMD_DOMAIN OPB_MMD_METAEXT OPB_METAEXT_VAL OPB_TASK OPB_TASK_INST OPB_TASK_ATTR OPB_WORKFLOW OPB_WFLOW_DEP OPB_WFLOW_EXPR OPB_WFLOW_VAR OPB_WFLOW_PERVAL OPB_EVENT OPB_SCHEDULER OPB_SCHEDULE_LOGIC OPB_SESSION OPB_SESSION_CONFIG OPB_CFG_ATTR OPB_COMPONENT OPB_SWIDGET_INST OPB_EXTN_ATTR OPB_CNX OPB_CNX_ATTR OPB_SESS_CNX_REFS OPB_SESS_EXTNS OPB_SESS_FILE_REF OPB_FILE_DESC OPB_PARTITION_DEF

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:4/334
Last modification: 3/12/2010 5:51:38 PM

DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP

TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE

OPB_KEY_RANGE OPB_MMD_TASK_ATTR OPB_MMD_TATTR_VAL OPB_MMD_CFG_ATTR OPB_MMD_CFGAT_VAL OPB_MMD_SESS_EXTNS OPB_MMD_LIBS OPB_MMD_EXTN_ATTR OPB_MMD_EATTR_VAL OPB_MMD_DBTYP2EXTN OPB_MMD_EXTN_CNXN OPB_MMD_ECNXN_REF OPB_MMD_CNX OPB_MMD_CNX_ATTR OPB_MMD_CATTR_VAL OPB_MMD_CATALOG OPB_MMD_PLGCOMP OPB_MMD_DBTYPE OPB_MMD_DBSUBTYPE OPB_MMD_KEYTYPE OPB_MMD_DATATYPE OPB_MMD_FLDATTR OPB_SESS_TASK_LOG OPB_SWIDGINST_LOG OPB_WFLOW_RUN OPB_TASK_INST_RUN OPB_WFLOW_VAR_RUN OPB_WFLOW_DEP_RUN OPB_WFLOW_CACHE OPB_MAP_PERSISVAL OPB_MMD_EXTN_WATTR OPB_TASK_VAL_LIST OPB_HASH_KEY OPB_MMD_CATTR2EXTN OPB_MMD_EATTR2CNX OPB_MMD_EXTN_FILE OPB_SESS_CNX_VALS OPB_SESS_FILE_VALS OPB_SESS_PER_FILES OPB_UPGRADE_HIST OPB_DTL_SWIDG_LOG OPB_REPO_PARAM OPB_VERSION_PROPS OPB_CM_QUERY OPB_CM_QUERY_PARAM OPB_CM_LABEL OPB_CM_LABEL_REF OPB_CM_DEPLOY OPB_CM_DEPLOY_REF OPB_CM_DEPLOY_LOG OPB_CM_DEPDETAIL OPB_SERVER_NET OPB_SERVER_NET_REF OPB_WFLD_ATTR OPB_WFLD_ATTR_DEF OPB_WFLD_INOUTDEP

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:5/334
Last modification: 3/12/2010 5:51:38 PM

DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP

TABLE OPB_SWIDG_GROUP TABLE OPB_VALIDATE TABLE OPB_XML_QUAL TABLE OPB_PROF_RULESET TABLE OPB_PROF_METADATA TABLE OPB_PROF_SRC_REF TABLE OPB_MMD_TEMPLATE TABLE OPB_MMD_TMPL_ATTR TABLE OPB_MMD_TMPL2EXTN TABLE OPB_ATTR_CATEGORY TABLE UPGRADE_STATE TABLE OPB_PROF_RESOURCE TABLE OPB_PROF_RES_DATA TABLE OPB_PROF_RES_REF TABLE OPB_MMD_DBTY2WATTR TABLE OPB_MMD_DBTY2WAVAL TABLE OPB_TASK_STATS TABLE OPB_SERVICE_LEVEL TABLE OPB_SLEVEL_ATTR TABLE OPB_MMD_SLVL_ATTR TABLE OPB_MMD_FUNC_GRP TABLE OPB_MMD_FUNCTION TABLE OPB_MACRO TABLE OPB_MACRO_EXPR TABLE OPB_MACRO_ARGS TABLE OPB_MACRO_REF TABLE OPB_WIDG_MCR_DEP TABLE OPB_LINK_MCR_DEP TABLE OPB_TASK_MCR_DEP TABLE OPB_TASK_RES_REFS TABLE OPB_OPB_OBJECT_LOCKS TABLE OPB_SERVICED_REQ TABLE OPB_CLIENT_CONN TABLE OPB_REQ_AUX TABLE OPB_WFLOW_RUN_BRK TABLE OPB_TASK_INST_BRK TABLE OPB_REQ_REPLY TABLE OPB_REQ_AUX TABLE OPB_PROXYUSER_INFO TABLE OPB_NOTIF_MSG TABLE OPB_OBJECT_NOTIF TABLE OPB_SERVER_NODE TABLE OPB_PERF_COUNT TABLE OPB_SWIDGET_ATTR TABLE OPB_WF_RUNINFO VIEW REP_SEG_FLDS VIEW REP_SRC_FILE_FLDS VIEW REP_SRC_TBL_FLDS VIEW REP_DATABASE_DEFS VIEW REP_SRC_FILES VIEW REP_SRC_TBLS VIEW REP_TBL_MAPPING VIEW REP_FLD_MAPPING VIEW REP_SCHEMA VIEW REP_TARG_TBLS VIEW REP_TARG_TBL_COLS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:6/334
Last modification: 3/12/2010 5:51:38 PM

DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP DROP

VIEW REP_TARG_MAPPING VIEW REP_TARG_FLD_MAP VIEW REP_SRC_MAPPING VIEW REP_SRC_FLD_MAP VIEW REP_TARG_TBL_JOINS VIEW REP_WORKFLOWS VIEW REP_LOAD_SESSIONS VIEW REP_SESSION_CNXS VIEW REP_SESSION_INSTANCES VIEW REP_SESS_LOG VIEW REP_SESS_TBL_LOG VIEW REP_SSCHEMA VIEW REP_SSCHEMA_TBLS VIEW REP_SSCHEMA_CARD VIEW REP_SESSION_FILES VIEW REP_SESSION_INST_FILES TABLE REP_PIC_USAGE TABLE REP_FLD_DATATYPE TABLE REP_SRC_KEY_TYPES TABLE REP_TARG_KEY_TYPES TABLE REP_DB_TYPES TABLE REP_CARD_TYPE TABLE REP_TARG_TYPE VIEW REP_ALL_SOURCES VIEW REP_ALL_SOURCE_FLDS VIEW REP_ALL_TARGETS VIEW REP_ALL_TARGET_FLDS VIEW REP_ALL_MAPPINGS VIEW REP_ALL_MAPPLETS VIEW REP_ALL_TRANSFORMS VIEW REP_WIDGET_INST VIEW REP_WIDGET_DEP VIEW REP_WIDGET_ATTR VIEW REP_WIDGET_FIELD VIEW REP_MAPPING_UNCONN_PORTS VIEW REP_MAPPING_CONN_PORTS VIEW REP_METADATA_EXTNS VIEW REP_METADATA_EXTN_DEFINES VIEW REP_ALL_TASKS VIEW REP_ALL_SCHEDULERS VIEW REP_WFLOW_VAR VIEW REP_EVENT VIEW REP_TASK_INST VIEW REP_WORKFLOW_DEP VIEW REP_TASK_ATTR VIEW REP_SESS_WIDGET_CNXS VIEW REP_COMPONENT VIEW REP_SESS_PARTITION_DEF VIEW REP_SESS_CONFIG_PARM VIEW REP_WFLOW_RUN VIEW REP_TASK_INST_RUN VIEW REP_DEPLOY_GROUP VIEW REP_DEPLOY_GROUP_DETAIL VIEW REP_LABEL VIEW REP_LABEL_REF VIEW REP_USERS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:7/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW REP_USER_GROUPS DROP VIEW REP_GROUPS DROP VIEW REP_REPOSIT_INFO DROP VIEW REP_SERVER_INFO DROP VIEW REP_SUBJECT DROP VIEW REP_SERVER_NET DROP VIEW REP_SERVER_NET_REF DROP VIEW REP_VERSION_PROPS --------------------------------------------------------------------------------- Conversion Views Drop -------------------------------------------------------------------------------DROP VIEW V_PC8x_MASTER_ELEMENT

DROP VIEW V_PC8x_MASTER_ELMNT_ATTR

DROP VIEW V_PC8x_MASTER_ELMNT_ATTR_1

DROP VIEW V_PC8x_MASTER_ELMNT_ATTR_2

DROP VIEW V_PC8x_MASTER_ELMNT_ASOC

DROP VIEW V_PC8x_MASTER_EXPRESSION

DROP VIEW V_PC8x_MASTER_CONNECTION

DROP VIEW V_PC8x_MASTER_DEFILE_CNX

DROP VIEW V_PC8x_MASTER_RUN

DROP VIEW V_PC8x_MASTER_TSK_LOG

DROP VIEW V_PC8x_MASTER_EVENT

DROP VIEW V_PC8x_MASTER_PARTITION

--------------------------------------------------------------------------------- Master Views Drop -------------------------------------------------------------------------------DROP VIEW V_PC8x_ELEMENT

DROP VIEW V_PC8x_ELMNT_ATTR_1

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:8/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW V_PC8x_ELMNT_ATTR_2

DROP VIEW V_PC8x_ELMNT_ASOC

DROP VIEW V_PC8x_CONNECTION

DROP VIEW V_PC8x_DEFILE_CNX

DROP VIEW V_PC8x_RUN

DROP VIEW V_PC8x_TSK_LOG

DROP VIEW V_PC8x_EVENT

DROP VIEW V_PC8x_PARTITION

--------------------------------------------------------------------------------- Helper Views Drop -- Drop view statements for all IME interfaces in PowerCenter -------------------------------------------------------------------------------DROP VIEW V_ELMNT_SRCS

DROP VIEW V_ELMNT_TGTS

DROP VIEW V_ELMNT_WDGTS

DROP VIEW V_ELMNT_MAPPINGS

DROP VIEW V_ELMNT_WDGINST

DROP VIEW V_ELMNT_TASKS

DROP VIEW V_ELMNT_TSK_CMDLINE

DROP VIEW V_ELMNT_TASKINST

DROP VIEW V_ELMNT_FOLDERS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:9/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW V_ELMNT_LOCAL_SC

DROP VIEW V_ELMNT_GLOBAL_SC

DROP VIEW V_ELMNT_SRCWDGFLD

DROP VIEW V_ELMNT_TGTWDGFLD

DROP VIEW V_ELMNT_WDGT_FLDS

DROP VIEW V_ELMNT_SERVICE

DROP VIEW V_ELMNT_SW_COMP

DROP VIEW V_ELMNT_DTYPES

DROP VIEW V_ATTRIBUTE_SRCS

DROP VIEW V_ATTRIBUTE_TGT

DROP VIEW V_ATTRIBUTE_WDGT

DROP VIEW V_ATTRIBUTE_TASK

DROP VIEW V_ATTRIBUTE_SRCFLD

DROP VIEW V_ATTRIBUTE_TRGFLD

DROP VIEW V_ATTRIBUTE_WDGFLD_1

DROP VIEW V_ATTRIBUTE_WDGFLD_2

DROP VIEW V_ASC_WDG_FLDR

DROP VIEW V_ASC_SRC_FLDR

DROP VIEW V_ASC_TGT_FLDR

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:10/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW V_ASC_RTASKS_FLDR

DROP VIEW V_ASC_L_SC_TO_FLDR

DROP VIEW V_ASC_G_SC_TO_FLDR

DROP VIEW V_ASC_SRCINST_SRC

DROP VIEW V_ASC_TGTINST_TGT

DROP VIEW V_ASC_WDGINST_WDG

DROP VIEW V_ASC_WSRCTGT_MAP

DROP VIEW V_ASC_REPO_FOLDER

DROP VIEW V_ASC_FLDR_MAP

DROP VIEW V_ASC_TASK_TSKINST

DROP VIEW V_ASC_CMD_CMDLINE

DROP VIEW V_ASC_WFLOW_T_INST

DROP VIEW V_ASC_WLET_T_INST

DROP VIEW V_ASC_SRCFLDS_SRCS

DROP VIEW V_ASC_TGTFLDS_TGTS

DROP VIEW V_ASC_WFLDS_WDGTS

DROP VIEW V_ASC_SESSION_MAP

DROP VIEW V_ASC_WFLOW_SRVC

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:11/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW V_ASC_SWSYSTEM

DROP VIEW V_ASC_SRVC_REPO

DROP VIEW V_ASC_LSC_TO_ELMNT

DROP VIEW V_IME_CONNECTION

DROP VIEW V_DEFAULT_FILE_CNX

DROP VIEW V_IME_RUN

DROP VIEW V_IME_TASK_LOG

DROP VIEW V_IME_EVENT

DROP VIEW V_IME_PARTITION

DROP VIEW V_IME_PART_SINST

DROP VIEW V_LKP_FLDS_IN_COND_EXTRACT

--------------------------------------------------------------------------------- Helper Views Drop -- Drop view statements for all IME interfaces in PowerCenter -------------------------------------------------------------------------------DROP VIEW V_ATTRIBUTE_METVAL

DROP VIEW V_ATTRIBUTE_RMETVAL

DROP VIEW V_ATTR_RMETVAL_SRCS

DROP VIEW V_ATTR_RMETVAL_TGTS

DROP VIEW V_ATTR_RMETVAL_MAPPINGS

DROP VIEW V_ATTR_RMETVAL_WDGTS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:12/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW V_ATTR_RMETVAL_WDGINST

DROP VIEW V_ATTR_RMETVAL_TASK

DROP VIEW V_ATTR_RMETVAL_SESSINST

--------------------------------------------------------------------- Field Level Lineage related View drop --------------------------------------------------------------------DROP VIEW V_PC8X_FEAT_MAP_HLINKS_1

DROP VIEW V_PC8X_FEAT_MAP_HLINKS_2

DROP VIEW V_PC8X_TGT_DB_FEAT_MAP

DROP VIEW V_PC8X_SESS_DSQ_CNX

DROP VIEW V_PC8X_TASK_INST_LKP

DROP VIEW V_PC8X_SESS_CNX_VAL

DROP VIEW V_PC8X_MAPPING_INCR

DROP VIEW V_PC8X_SESSION_INCR

DROP VIEW V_PC8X_EXPR_PARSE

DROP VIEW V_PC8X_FF_FTP_CONN

DROP VIEW V_PC8X_FF_OBJECTS

DROP VIEW V_PC8X_FILE_TYPE

DROP VIEW V_PC8X_FF_FIELDS

DROP VIEW V_PC8X_TASK_INST_SP

DROP VIEW V_PC8X_TGT_DB_CONN_PAR

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:13/334
Last modification: 3/12/2010 5:51:38 PM

DROP VIEW V_PC8X_SESS_DSQ_CNX_PAR

DROP VIEW V_PC8X_LKP_SESS_INST_CNX

DROP VIEW V_PC8X_TGT_DB_FEAT_MAP_1

DROP VIEW V_PC8X_TASK_SRC_TGT_PAR

DROP TABLE TMP_STATE DROP TABLE K2_CNX_UPGR DROP TABLE K2_SESS_UPGR DROP TABLE K2_SCHED_UPRG DROP TABLE K2_BAT_UPGR DROP TABLE K2_FILE_UPGR DROP TABLE TMP_EXPR_STATE DROP TABLE TMP_EXPR_MAP_UPGR DROP TABLE TMP_EXPR_WIDG_UPGR DROP TABLE TMP_EXPR_WFLOWUPGR CREATE TABLE OPB_REPOSIT ( recid number, repversion number, dataversion number, reposit_name varchar2(240), reposit_desc varchar2(2000), reposit_gid varchar2(240), codepage_id number ) CREATE TABLE OPB_DBD ( dbdid number, subj_id number, srcnam varchar(240), dbdnam varchar(240), rootid number, dbtype number, srctype number, versionid number, src_subtype number, OBJVERSION number, VERSION_NUMBER number, COMP_VERSION number ) CREATE TABLE OPB_SUBJECT ( subj_name varchar(240), subj_id number, inuse number, subj_creator varchar(240),

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:14/334
Last modification: 3/12/2010 5:51:38 PM

subj_desc varchar2(2000), srctype number, is_shared number, owner_id number, group_id number, permissions number , creation_time varchar2(30), folder_attr number, subj_gid varchar2(240), create_info number, OBJVERSION number, VERSION_STATUS number, OS_USER varchar2(240) ) CREATE TABLE OPB_SCHEMA ( subj_id number, sch_version varchar(10), versionid number, sch_desc varchar2(2000), creation_time varchar2(30), sch_gid varchar2(240), create_info number, OBJVERSION number ) CREATE TABLE OPB_TARGINDEX ( indexid number not null, target_id number not null, indexname varchar(240), isunique number, idxfldid number, nxtidxid number, index_desc varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_TARGINDEXFLD ( fldid number not null, indexid number not null, fldname varchar(240), nxtfldid number, VERSION_NUMBER number ) CREATE TABLE OPB_PICDSC ( picid number not null, src_type number, src_ntype number, src_prec number, src_scale number, pic_usage number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:15/334
Last modification: 3/12/2010 5:51:38 PM

VERSION_NUMBER )

number

CREATE TABLE OPB_SRC_FLD ( fldid number src_id number src_name varchar(240) business_name varchar2(240), sqlname varchar(240), fldlvl number fldtype number pictxt varchar(240), picid number, occtimes number, redfname varchar(240), keytype number, keysrcid number, offs number len number, nxtsibid number, nxtchldid number, parentid number poffs number, plen number, fldno number, src_desc varchar2(2000), nulltype number, is_hidden number, group_id number, fld_prop number, VERSION_NUMBER number ) CREATE TABLE OPB_SRC ( src_id number subj_id number file_name varchar2(240) source_name varchar2(240) business_name varchar2(240), selid number, target_id number, fdsiz number, nxtfdid number, bestfdid number, fldid number, recnam varchar(240), nxtsibid number, nxtchldid number, parentid number, dbdid number, pfdsiz number, pfdsiz_min number, lparid number, progid varchar(240),

not null, not null, not null,

not null, not null,

not null,

not null,

not null, not null, not null, not null,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:16/334
Last modification: 3/12/2010 5:51:38 PM

ownername varchar(240), src_desc varchar2(2000), versionid number, last_saved varchar2(30), ibm_comp number, create_info number, FILE_ID number, VERSION_NUMBER number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, VERSION_STATUS number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number, OBJ_CMP number ) CREATE TABLE OPB_SELINFO ( selid number not null, assign varchar(240), orgn number, accmode number, fstat varchar(240), dfid number, VERSION_NUMBER number ) CREATE TABLE OPB_TARG ( target_id number not null, subj_id number not null, target_name varchar2(240) not null, business_name varchar2(240), constr varchar2(2000), tbl_options varchar2(2000), target_desc varchar2(2000), indexid number, fldid number, src_id number, versionid number not null, tbl_type number, dbtype number, last_saved varchar2(30), create_info number, FILE_ID number, OBJVERSION number, VERSION_NUMBER number, VERSION_STATUS number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:17/334
Last modification: 3/12/2010 5:51:38 PM

OBJ_CMP COMP_VERSION )

number, number

CREATE TABLE OPB_TARG_FLD ( fldid number not null, target_id number not null, target_name varchar2(240), business_name varchar2(240), target_desc varchar2(2000), keytype number, dtype number, ndtype number, dscale number, dprec number, nxtfldid number, dfldid number, dsrc number, nulltype number, fldno number, refprikeyid number, group_id number, fld_prop number, pictxt varchar2(240), VERSION_NUMBER number ) CREATE TABLE OPB_RTSEQ ( seqname varchar(120) seqval number, seqincr number ) CREATE TABLE OPB_KEYWORD ( keyword_id number, target_id number, keyword_name varchar(240), VERSION_NUMBER number ) CREATE TABLE OPB_MAPPING ( mapping_name varchar2(240), mapping_id number, version_id number, subject_id number, is_valid number, last_saved varchar2(30), comments varchar2(2000), ref_widget_id number, valid_check number, create_info number, OBJVERSION number,

not null,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:18/334
Last modification: 3/12/2010 5:51:38 PM

VERSION_NUMBER number, VERSION_STATUS number, UTC_LAST_SAVED number, UTC_REF_TIME number, IS_VISIBLE number, CHECKOUT_USER_ID number, IS_MARKED number, UTC_CHECKIN number, SAVED_VALID number, IS_INVALIDATED number, OBJ_CMP number )

CREATE TABLE OPB_DBDS ( mapping_id number, dbd_id number, VERSION_NUMBER number ) CREATE TABLE OPB_TDS ( mapping_id number, target_instance_id number, order_val number, VERSION_NUMBER number ) CREATE TABLE OPB_WIDGET_DEP ( mapping_id number, from_instance_id number, from_field_id number, to_instance_id number, to_field_id number, VERSION_NUMBER number ) CREATE TABLE OPB_WIDGET ( widget_name varchar2(240), widget_id number, widget_type number, is_reusable number, subject_id number, version_id number, comments varchar2(2000), widget_prop number, last_saved varchar2(30), create_info number, OBJVERSION number, VERSION_NUMBER number, VERSION_STATUS number, UTC_LAST_SAVED number, IS_VISIBLE number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:19/334
Last modification: 3/12/2010 5:51:38 PM

CHECKOUT_USER_ID number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number, TEMPLATE_ID number, RU_PARENT_ID number, RU_VERSION_NUMBER number, OBJ_CMP number, FILE_ID number, COMP_VERSION number ) CREATE TABLE OPB_WIDGET_EXPR ( widget_id number, expr_id number, expr_type number, output_field_id number, comments varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_EXPRESSION ( widget_id number, expr_id number, line_no number, expression varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_WIDGET_INST ( mapping_id number, widget_id number, widget_type number, instance_id number, instance_name varchar2(240), comments varchar2(2000), widget_prop number, VERSION_NUMBER number, REF_VERSION_NUMBER number ) CREATE TABLE OPB_MAP_TARG_INFO ( mapping_id number, object_instance_id number, object_type number, target_instance_id number, target_object_type number, VERSION_NUMBER number ) CREATE TABLE OPB_WIDGET_FIELD (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:20/334
Last modification: 3/12/2010 5:51:38 PM

widget_id number, field_name varchar2(240), field_id number, wgt_prec number, wgt_scale number, wgt_datatype number, porttype number, field_order number, comments varchar2(2000), widget_fld_prop number, default_value varchar2(2000), src_field_id number, group_id number, widget_fld_prop2 number, VERSION_NUMBER number, OUTGROUP_ID number, pictxt varchar2(240) ) CREATE TABLE OPB_NORM_FLD ( normal_fldid number not null, widget_id number not null, src_name varchar2(240) not null, fldlvl number not null, fldtype number not null, pictxt varchar2(240), occtimes number, keytype number, offs number not null, len number, nxtsibid number, nxtchldid number, fldno number, src_type number, src_prec number, src_scale number, comments varchar2(2000), VERSION_NUMBER number )

CREATE TABLE OPB_OBJECT_TYPE ( object_type_id number, object_type_name varchar(240), object_type number, first_attr number, REPVERSION number ) CREATE TABLE OPB_ATTR ( object_type_id number, attr_id number, attr_sibling number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:21/334
Last modification: 3/12/2010 5:51:38 PM

attr_child attr_datatype attr_type attr_name attr_value attr_comment attr_scope bitflags variable_prefix REPVERSION CATEGORY )

number, number, number, varchar(240), varchar2(2000), varchar2(2000), number, number, varchar2(240), number, number

CREATE TABLE OPB_WIDGET_ATTR ( widget_id number, widget_type number, mapping_id number, instance_id number, session_id number, attr_id number, line_no number, attr_value varchar2(2000), partition_id number, SESSION_TASK_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_MAP_OPTIONS ( mapping_id number, object_instance_id number, object_type number, option_name varchar2(240), option_value number, VERSION_NUMBER number ) CREATE TABLE OPB_USERS ( user_id user_name user_passwd user_privileges1 user_privileges2 user_desc user_flags OBJVERSION CONTACT_INFO IS_VISIBLE USER_ISENABLED USER_EXTERNAL_ID USER_EXTERNAL_LOGIN USER_PASSWD2 )

number, varchar2(240), varchar2(240), number, number, varchar2(2000), number, number, varchar2(2000), number, number, varchar2(240), varchar2(240), varchar2(2000)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:22/334
Last modification: 3/12/2010 5:51:38 PM

CREATE TABLE OPB_GROUPS ( group_id group_name group_privileges1 group_privileges2 group_desc group_flags OBJVERSION CONTACT_INFO )

number, varchar2(240), number, number, varchar2(2000), number, number, varchar2(2000)

CREATE TABLE OPB_USER_GROUPS ( user_id number, group_id number ) CREATE TABLE OPB_USER_GROUP ( ID number, NAME_SPACE varchar2(240), NAME varchar2(240), TYPE number, STATUS number, PRIVILEGES1 number, PRIVILEGES2 number, PRIVILEGES3 number, PRIVILEGES4 number, PRIVILEGES5 number ) CREATE TABLE OPB_ROLE ( ID number, TYPE number, ROLE_NAME varchar2(240) ) CREATE TABLE OPB_OBJECT_ACCESS ( object_type number, object_id number, user_type number, user_id number, permissions number, OBJECT_SUBTYPE number ) CREATE TABLE OPB_REPOSIT_INFO ( repository_id number, repository_type number, domain_name varchar2(240), repository_name varchar2(240), db_user varchar2(240),

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:23/334
Last modification: 3/12/2010 5:51:38 PM

db_passwd db_odbc_connect db_native_connect db_type hostname portnum OBJVERSION pcsf_domain DB_PASSWD2 )

varchar2(240), varchar2(240), varchar2(240), number, varchar2(240), number, number, varchar2(240), varchar2(2000)

CREATE TABLE OPB_SHORTCUT ( object_id number, object_type number, shortcut_name varchar2(240), version_id number, subject_id number, repository_name varchar2(240), repository_id number, reference_type number, creation_time varchar2(30), comments varchar2(2000), parent_id number, object_subtype number, VERSION_NUMBER number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, VERSION_STATUS number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number, TEMPLATE_ID number ) CREATE TABLE OPB_SERVER_INFO ( server_id number, server_name varchar2(240), protocol number, host_info varchar2(240), timeout number, port_no number, hostname varchar2(2000), ip_address varchar2(240), last_saved varchar2(30), codepage_id number, OBJVERSION number, SERVER_TYPE number, DOMAIN_NAME varchar2(240), IS_OLD number ) CREATE TABLE OPB_ANALYZE_DEP (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:24/334
Last modification: 3/12/2010 5:51:38 PM

mapping_id number, from_instance_id number, from_field_id number, to_instance_id number, to_field_id number, VERSION_NUMBER number ) CREATE TABLE OPB_TARG_FLD_EXPR ( mapping_id number, target_inst_id number, target_fld number, trans_expr varchar2(2000), user_comment varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_TARG_TBL_EXPR ( mapping_id number, target_inst_id number, group_by varchar2(2000), srcfilter varchar2(2000), condfilter varchar2(2000), sqloverride varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_MD_CUBE ( cube_id number, subject_id number, version_id number, dbtype number, cube_name varchar2(240), comments varchar2(2000), is_valid number, last_saved varchar2(30), OBJVERSION number, VERSION_NUMBER number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, VERSION_STATUS number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number ) CREATE TABLE OPB_MD_DIMENSION ( dimension_id number, subject_id number, version_id number, dbtype number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:25/334
Last modification: 3/12/2010 5:51:38 PM

dimension_name varchar2(240), comments varchar2(2000), is_valid number, last_saved varchar2(30), OBJVERSION number, VERSION_NUMBER number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, VERSION_STATUS number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number ) CREATE TABLE OPB_MD_LEVEL ( dimension_id number, level_id number, subject_id number, version_id number, level_name varchar2(240), comments varchar2(2000), is_valid number, last_saved varchar2(30), VERSION_NUMBER number ) CREATE TABLE OPB_MD_LEVEL_FIELD ( dimension_id number, level_id number, field_id number, field_name varchar2(240), field_bname varchar2(240), field_prec number, field_scale number, field_datatype number, field_ndatatype number, field_order number, nulltype number, comments varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_MD_HIERARCHY ( dimension_id number, hierarchy_id number, subject_id number, version_id number, schema_type number, hierarchy_name varchar2(240), comments varchar2(2000), is_valid number, last_saved varchar2(30),

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:26/334
Last modification: 3/12/2010 5:51:38 PM

VERSION_NUMBER )

number

CREATE TABLE OPB_MD_LVL_HRCHY ( dimension_id number, level_id number, hierarchy_id number, reftarget_id number, pm_cardinality number, VERSION_NUMBER number ) CREATE TABLE OPB_MD_HIER_GRAPH ( dimension_id number, hierarchy_id number, plevel_id number, clevel_id number, pm_cardinality number, VERSION_NUMBER number ) CREATE TABLE OPB_MD_FACT ( cube_id number, fact_id number, subject_id number, version_id number, fact_name varchar2(240), reftarget_id number, aggregate_type number, comments varchar2(2000), is_valid number, last_saved varchar2(30), VERSION_NUMBER number ) CREATE TABLE OPB_MD_CUBE_FIELD ( cube_id number, field_id number, field_name varchar2(240), field_bname varchar2(240), field_prec number, field_scale number, field_datatype number, field_ndatatype number, field_aggtype number, field_order number, nulltype number, comments varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_MD_FACT_LEVEL

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:27/334
Last modification: 3/12/2010 5:51:38 PM

( cube_id fact_id dimension_id level_id hierarchy_id pm_cardinality VERSION_NUMBER ) CREATE TABLE OPB_MD_CUBE_HRCHY ( cube_id number, dimension_id number, hierarchy_id number, hierarchy_ordinal number, VERSION_NUMBER number ) CREATE TABLE OPB_MD_FACT_FIELD ( cube_id number, fact_id number, field_id number, field_order number, VERSION_NUMBER number ) CREATE TABLE OPB_GEN_OBJECT ( object_name varchar2(240), object_id number, object_type number, subject_id number, version_id number, comments varchar2(2000), last_saved varchar2(30), owner_id number, group_id number, OBJVERSION number ) CREATE TABLE OPB_GEN_OBJ_REFS ( ref_obj_type number, ref_obj_subtype number, ref_obj_id number, ref_obj_instance number, gen_obj_type number, gen_obj_id number ) CREATE TABLE OPB_SCHEMA_IDS ( subject_id number, seq_type number, number, number, number, number, number, number, number

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:28/334
Last modification: 3/12/2010 5:51:38 PM

old_id number, new_id number, old_parent_id number, new_parent_id number, parent_seq_type number, old_prop_id number, old_prop_type number, RUN_ID number ) CREATE TABLE OPB_SCHEMA_DEPLOY ( subject_id number, version_id number, reposit_gid varchar2(240), from_subject_id number, from_version_id number, last_deployed varchar2(30), UTC_DEPLOYED number, RUN_ID number ) CREATE TABLE OPB_SRV_LOC_VARS ( server_id number, server_type number, var_id number, var_name varchar2(240), var_value varchar2(2000), is_userdef number ) CREATE TABLE OPB_WIDGET_INIT ( widget_id number, mapping_id number, instance_id number, pm_indicator number, lhs varchar2(240), rhs varchar2(2000), param_order number, comments varchar2(2000), param_id number, VERSION_NUMBER number ) CREATE TABLE OPB_WIDG_FLD_ATTR ( session_id number, mapping_id number, instance_id number, object_type number, object_id number, field_id number, attr_id number, int_value number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:29/334
Last modification: 3/12/2010 5:51:38 PM

char_value VERSION_NUMBER LINE_NO )

varchar2(2000), number, number

CREATE TABLE OPB_PROGRAM_INFO ( subject_id number, version_id number, mapping_id number, program_name varchar2(240), program_type number, install_time varchar2(30), host_machine varchar2(240), user_name varchar2(240), client_space varchar2(240), version_number number ) CREATE TABLE OPB_BCF_TREE ( bcfnode_id number, bcfnode_name varchar2(240), bcfnode_desc varchar2(2000), bcfnode_parent number, subject_id number, version_id number, root_id number, last_saved varchar2(30), OBJVERSION number, UTC_LAST_SAVED number ) CREATE TABLE OPB_BCF_BUSCOMPS ( buscomp_id number, bcfnode_id number, object_type number, object_subtype number, object_id number, subject_id number, version_id number, root_id number, OBJVERSION number ) CREATE TABLE OPB_TABLE_GROUP ( object_type number, object_id number, group_id number, group_order number, subject_id number, version_id number, attr_id number, line_no number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:30/334
Last modification: 3/12/2010 5:51:38 PM

attr_value varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_XML_INFO ( object_type number, object_id number, subject_id number, version_id number, attr_id number, line_no number, attr_value varchar2(2000), VERSION_NUMBER number, ATTR_TYPE number ) CREATE TABLE OPB_SAP_FUNC ( func_id int, subject_id int, version_id int, func_name varchar2(240), func_desc varchar2(2000), last_saved varchar2(30) ) CREATE TABLE OPB_SAP_FUNC_PARAM ( func_id int, subject_id int, version_id int, param_name varchar2(240), param_type int, is_ref int, param_subtype int, param_dfn varchar2(2000), param_datatype int, param_scale int, param_prec int, is_optional int, default_value varchar2(2000), param_order int ) CREATE TABLE OPB_SAP_STRUCT ( struct_id int, subject_id int, version_id int, struct_name varchar2(240), last_saved varchar2(30) ) CREATE TABLE OPB_SAP_STRUCT_FLD (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:31/334
Last modification: 3/12/2010 5:51:38 PM

struct_id subject_id version_id fld_name fld_datatype fld_scale fld_prec fld_order )

int, int, int, varchar2(240), int, int, int, int

CREATE TABLE OPB_SAP_FUNC_INST ( func_id int, subject_id int, version_id int, mapping_id int, dsq_inst_id int, func_inst_id int, param_name varchar2(240), param_type int, fld_name varchar2(240), param_val_type int, param_val varchar2(2000), VERSION_NUMBER number ) CREATE TABLE OPB_SAP_DSQ_OPRT ( subject_id int, version_id int, mapping_id int, dsq_inst_id int, var_name varchar2(240), fld_name varchar2(240), port_id int, VERSION_NUMBER number ) CREATE TABLE OPB_SAP_FUNC_VARS ( var_name varchar2(240), subject_id int, version_id int, mapping_id int, dsq_inst_id int, var_subtype int, var_value varchar2(2000), var_datatype int, var_scale int, var_prec int, var_default varchar2(2000), is_oport int, VERSION_NUMBER number ) CREATE TABLE OPB_SAP_CODEBLK

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:32/334
Last modification: 3/12/2010 5:51:38 PM

( subject_id version_id mapping_id dsq_inst_id cblock_id cblock_name cblock_desc cblock_text line_no VERSION_NUMBER ) CREATE TABLE OPB_SAP_PGMFLOW ( subject_id int, version_id int, mapping_id int, dsq_inst_id int, obj_id int, obj_type int, obj_order int, join_bitmap int, VERSION_NUMBER number ) CREATE TABLE OPB_MAP_PARMVAR ( MAPPING_ID number, SUBJECT_ID number, VERSION_ID number, PV_NAME varchar2(240), PV_ID number, PV_DESC varchar2(2000), PV_DATATYPE number, PV_SCALE number, PV_PRECISION number, PV_DEFAULT varchar2(2000), AGGFUNC number, PV_FLAG number, INVALIDATE_TIME varchar2(30), VERSION_NUMBER number ) CREATE TABLE OPB_SEBL_JOIN_ATTR ( SUBJECT_ID number, VERSION_ID number, SRC_ID number, PK_TABLE varchar2(240), FK_TABLE varchar2(240), OUTER_JOIN_REL number, SRC_COL varchar2(240), DEST_COL varchar2(240), JOIN_NAME varchar2(240), VERSION_NUMBER number int, int, int, int, int, varchar2(240), varchar2(2000), varchar2(2000), int, number

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:33/334
Last modification: 3/12/2010 5:51:38 PM

) CREATE TABLE OPB_SEBL_MVL_LREL ( SUBJECT_ID number, VERSION_ID number, SRC_ID number, FIELD_ID number, SRC_MVLINK number, DEST_MVLINK number, VERSION_NUMBER number ) CREATE TABLE OPB_SEBL_MVL_ATTR ( SUBJECT_ID number, VERSION_ID number, SRC_ID number, MVLINK_ID number, BC_NAME varchar2(240), MVLINK_NAME varchar2(240), DEST_LINK varchar2(240), DEST_BC varchar2(240), PRIM_ID varchar2(240), SRC_FLD varchar2(240), VERSION_NUMBER number ) CREATE TABLE OPB_SEBL_LINK ( SUBJECT_ID number, VERSION_ID number, SRC_ID number, LINK_NAME varchar2(240), PARENT_BC varchar2(240), CHILD_BC varchar2(240), DEST_BASETABLE varchar2(240), PRIM_ID varchar2(240), VERSION_NUMBER number ) CREATE TABLE OPB_SEBL_LINKX ( SUBJECT_ID number, VERSION_ID number, SRC_ID number, LINK_NAME varchar2(240), SRC_COL varchar2(240), DEST_COL varchar2(240), INTR_CHILD_COL varchar2(240), INTR_PAREN_COL varchar2(240), INTR_TABLE varchar2(240), VERSION_NUMBER number ) CREATE TABLE OPB_MMD_DOMAIN

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:34/334
Last modification: 3/12/2010 5:51:38 PM

( VENDOR_ID number, DOMAIN_ID number, DOMAIN_NAME varchar2(240), DOMAIN_KEY varchar2(240), DOMAIN_USAGE number, DOMAIN_DESC varchar2(2000), LAST_SAVED varchar2(30), DOMAIN_VERSION varchar2(240), DOMAIN_PROP number, OPB_OBJECT_ID number, OBJVERSION number ) CREATE TABLE OPB_MMD_METAEXT ( VENDOR_ID number, DOMAIN_ID number, OBJECT_TYPE number, METAEXT_NAME varchar2(240), DATA_TYPE number, MAX_LENGTH number, DBTYPE number, SUBTYPE number, PERMISSIONS number, DEFAULT_VALUE varchar2(2000), METAEXT_DESC varchar2(2000), METAEXT_PROP number, OPB_OBJECT_ID number, OBJVERSION number, LINE_NO number ) CREATE TABLE OPB_METAEXT_VAL ( SUBJECT_ID number, VERSION_ID number, VENDOR_ID number, DOMAIN_ID number, METAEXT_NAME varchar2(240), OBJECT_TYPE number, OBJECT_ID number, DATA_TYPE number, PERMISSIONS number, PM_VALUE varchar2(2000), LINE_NO number, MAX_LENGTH number, METAEXT_DESC varchar2(2000), BIT_OPTIONS number, VERSION_NUMBER number, COMP_VERSION number ) CREATE TABLE OPB_TASK ( SUBJECT_ID

number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:35/334
Last modification: 3/12/2010 5:51:38 PM

TASK_ID TASK_TYPE TASK_NAME TASK_PROPERTY IS_REUSABLE IS_VALID IS_ENABLED COMMENTS LAST_SAVED CREATE_INFO OPB_OBJECT_ID OBJVERSION VERSION_NUMBER UTC_LAST_SAVED IS_VISIBLE CHECKOUT_USER_ID VERSION_STATUS IS_MARKED UTC_REF_TIME UTC_CHECKIN SAVED_VALID IS_INVALIDATED RU_PARENT_ID RU_VERSION_NUMBER OBJ_CMP )

number, number, varchar2(240), number, number, number, number, varchar2(2000), varchar2(30), number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number

CREATE TABLE OPB_TASK_INST ( WORKFLOW_ID number, INSTANCE_ID number, TASK_ID number, TASK_TYPE number, INSTANCE_NAME varchar2(240), TASK_PROPERTY number, IS_ENABLED number, BIT_OPTIONS number, COMMENTS varchar2(2000), IS_VALID number, OPB_OBJECT_ID number, VERSION_NUMBER number, REF_VERSION_NUMBER number, SERVER_ID number ) CREATE TABLE OPB_TASK_ATTR ( WORKFLOW_ID number, INSTANCE_ID number, TASK_ID number, TASK_TYPE number, REF_SESSION_ID number, COMPONENT_TYPE number, ATTR_ID number, ATTR_VALUE varchar2(2000), LINE_NO number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:36/334
Last modification: 3/12/2010 5:51:38 PM

GROUP_ID OPB_OBJECT_ID VERSION_NUMBER )

number, number, number

CREATE TABLE OPB_WORKFLOW ( WORKFLOW_ID number, SERVER_ID number, SCHEDULER_ID number, EMAIL_ID number, BIT_OPTIONS number, OPB_OBJECT_ID number, VERSION_NUMBER number, REF_VERSION_NUMBER number, IS_SERVICE number, IS_SVC_RUNNABLE number, SERVICE_LEVEL_ID number ) CREATE TABLE OPB_WFLOW_DEP ( WORKFLOW_ID number, FROM_INST_ID number, TO_INST_ID number, CONDITION_ID number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_WFLOW_EXPR ( WORKFLOW_ID number, CONDITION_ID number, LINE_NO number, CONDITION varchar2(2000), OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_WFLOW_VAR ( SUBJECT_ID number, WORKFLOW_ID number, VARIABLE_ID number, VAR_NAME varchar2(240), VAR_TYPE number, VAR_DESC varchar2(2000), VAR_DATATYPE number, VAR_DEFAULT varchar2(2000), LAST_SAVED varchar2(30), OPB_OBJECT_ID number, TASK_INST_ID number, TASK_INST_NAME varchar2(240), BIT_OPTIONS number, VERSION_NUMBER number

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:37/334
Last modification: 3/12/2010 5:51:38 PM

) CREATE TABLE OPB_WFLOW_PERVAL ( SUBJECT_ID number, WORKFLOW_ID number, WORKLET_ID number, VARIABLE_ID number, VAR_VALUE varchar2(2000), LAST_SAVED varchar2(30), BIT_OPTIONS number, OPB_OBJECT_ID number, WORKLET_INST_ID number, RUNINST_NAME varchar2(240) ) CREATE TABLE OPB_EVENT ( SUBJECT_ID number, WORKFLOW_ID number, EVENT_ID number, EVENT_NAME varchar2(240), EVENT_TYPE number, EVENT_SCOPE number, EVENT_DESC varchar2(2000), OPB_OBJECT_ID number, LAST_SAVED varchar2(30), VERSION_NUMBER number ) CREATE TABLE OPB_SCHEDULER ( SUBJECT_ID number, SCHEDULER_ID number, SCHEDULER_NAME varchar2(240), START_TIME varchar2(30), END_TIME varchar2(30), IS_RUN_ON_LIMIT number, RUN_OPTIONS number, END_OPTIONS number, DELTA_VALUE number, RUN_COUNT number, COMMENTS varchar2(2000), IS_REUSABLE number, CREATE_INFO number, LAST_SAVED varchar2(30), OPB_OBJECT_ID number, OBJVERSION number, VERSION_NUMBER number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, VERSION_STATUS number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:38/334
Last modification: 3/12/2010 5:51:38 PM

OBJ_CMP )

number

CREATE TABLE OPB_SCHEDULE_LOGIC ( SCHEDULER_ID number, DO_SKIP number, USER_LOGIC_TYPE number, FREQUENCY_INTERVL number, DAILY_LOGIC number, WEEKLY_LOGIC number, MONTHLY_LOGIC number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_SESSION ( SESSION_ID number, MAPPING_ID number, MAPPING_VERSION number, BIT_OPTIONS number, SORT_ORDER number, IS_PARTITIONED number, IS_RECOVERY number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_SESSION_CONFIG ( SUBJECT_ID number, CONFIG_ID number, CONFIG_TYPE number, CONFIG_NAME varchar2(240), COMMENTS varchar2(2000), CREATE_INFO number, LAST_SAVED varchar2(30), IS_DEFAULT number, OPB_OBJECT_ID number, OBJVERSION number, VERSION_NUMBER number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, VERSION_STATUS number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number, OBJ_CMP number ) CREATE TABLE OPB_CFG_ATTR ( WORKFLOW_ID number, SESSION_ID number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:39/334
Last modification: 3/12/2010 5:51:38 PM

SESSION_INST_ID number, CONFIG_ID number, CONFIG_TYPE number, ATTR_ID number, ATTR_VALUE varchar2(2000), LINE_NO number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_COMPONENT ( WORKFLOW_ID number, TASK_ID number, TASK_INST_ID number, REF_OBJ_ID number, REF_OBJ_TYPE number, OBJECT_TYPE number, OBJECT_SEQ_TYPE number, OPB_OBJECT_ID number, VERSION_NUMBER number, REF_VERSION_NUMBER number ) CREATE TABLE OPB_SWIDGET_INST ( SESSION_ID number, MAPPING_ID number, MAPPLET_MAP_ID number, SESS_WIDG_INST_ID number, WIDGET_ID number, WIDGET_TYPE number, INSTANCE_ID number, INSTANCE_NAME varchar2(240), MAPPLET_INST_NAME varchar2(240), SHORTCUT_TYPE number, STAGE_ID number, PIPELINE_ID number, PARTITION_TYPE number, BIT_FLAGS number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_EXTN_ATTR ( WORKFLOW_ID number, SESSION_ID number, SESSION_INST_ID number, SESS_WIDG_INST_ID number, PROC_INSTANCE_ID number, ATTR_ID number, ATTR_VALUE varchar2(2000), LINE_NO number, PARTITION_ID number, OPB_OBJECT_ID number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:40/334
Last modification: 3/12/2010 5:51:38 PM

VERSION_NUMBER OBJECT_TYPE OBJECT_SUBTYPE COMP_VERSION ) CREATE TABLE OPB_CNX ( OBJECT_ID OBJECT_TYPE OBJECT_NAME OBJECT_SUBTYPE USER_NAME USER_PASSWORD CONNECT_STRING CODE_PAGE COMMENTS OWNER_ID GROUP_ID LAST_SAVED CREATE_INFO OPB_OBJECT_ID OBJVERSION COMP_VERSION USER_PASSWORD2 CNX_FLAGS )

number, number, number, number

number, number, varchar2(240), number, varchar2(240), varchar2(240), varchar2(240), number, varchar2(2000), number, number, varchar2(30), number, number, number, number, varchar2(2000), number

CREATE TABLE OPB_CNX_ATTR ( WORKFLOW_ID number, SESSION_ID number, SESSION_INST_ID number, SESS_WIDG_INST_ID number, PROC_INSTANCE_ID number, OBJECT_ID number, OBJECT_TYPE number, OBJECT_SUBTYPE number, ATTR_ID number, ATTR_VALUE varchar2(2000), LINE_NO number, PARTITION_ID number, CONNECTION_NUM number, OPB_OBJECT_ID number, VERSION_NUMBER number, COMP_VERSION number ) CREATE TABLE OPB_SESS_CNX_REFS ( WORKFLOW_ID number, SESSION_ID number, SESSION_INST_ID number, SESS_WIDG_INST_ID number, PROC_INSTANCE_ID number, CONNECTION_NUM number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:41/334
Last modification: 3/12/2010 5:51:38 PM

REF_OBJECT_ID number, REF_OBJECT_TYPE number, REF_OBJECT_SUBTYP number, REF_OBJECT_VALUE varchar2(240), PARTITION_ID number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_SESS_EXTNS ( SESSION_ID number, SESS_WIDG_INST_ID number, PROC_INSTANCE_ID number, OBJECT_TYPE number, OBJECT_SUBTYPE number, OPB_OBJECT_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_SESS_FILE_REF ( SESSION_ID number, FILE_ID number, SESS_WIDG_INST_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_FILE_DESC ( SUBJECT_ID number, FILE_ID number, FILE_PROPERTIES number, RECORD_COUNT number, ROWS_TO_SKIP number, STR_DELIMITER varchar2(240), FLD_DELIMITER varchar2(240), OPT_QUOTES number, NUM_OF_PAD_BYTES number, ESCAPE_CHARACTER number, NULL_CHARACTER number, BINARY_NULL_CHAR number, BIT_OPTIONS number, CODE_PAGE number, LAST_SAVED varchar2(30), OPB_OBJECT_ID number, OBJVERSION number, VERSION_NUMBER number ) CREATE TABLE OPB_PARTITION_DEF ( SESSION_ID number, SESS_WIDG_INST_ID number, PARTITION_ID number, PARTITION_NAME varchar2(240),

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:42/334
Last modification: 3/12/2010 5:51:38 PM

COMMENTS BIT_OPTIONS LAST_SAVED OPB_OBJECT_ID VERSION_NUMBER )

varchar2(2000), number, varchar2(30), number, number

CREATE TABLE OPB_KEY_RANGE ( SESSION_ID number, SESS_WIDG_INST_ID number, PARTITION_ID number, KEY_NAME varchar2(240), START_RANGE varchar2(2000), END_RANGE varchar2(2000), OPB_OBJECT_ID number, SRCS_WIDG_INST_ID number, DISPLAY_ORDER number, GROUP_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_MMD_TASK_ATTR ( OBJECT_TYPE_ID number, ATTR_ID number, ATTR_SIBLING number, ATTR_CHILD number, ATTR_DATATYPE number, ATTR_TYPE number, ATTR_NAME varchar2(240), ATTR_VALUE varchar2(2000), ATTR_COMMENT varchar2(2000), ATTR_SCOPE number, OPB_OBJECT_ID number, BITFLAGS number, VARIABLE_PREFIX varchar2(240), CATEGORY number ) CREATE TABLE OPB_MMD_TATTR_VAL ( OBJECT_TYPE_ID number, ATTR_ID number, ATTR_INDEX number, DISPLAY_NAME varchar2(240), OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_CFG_ATTR ( OBJECT_TYPE_ID number, ATTR_ID number, ATTR_SIBLING number, ATTR_CHILD number, ATTR_DATATYPE number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:43/334
Last modification: 3/12/2010 5:51:38 PM

ATTR_TYPE ATTR_NAME ATTR_VALUE ATTR_COMMENT ATTR_SCOPE OPB_OBJECT_ID BITFLAGS VARIABLE_PREFIX CATEGORY )

number, varchar2(240), varchar2(2000), varchar2(2000), number, number, number, varchar2(240), number

CREATE TABLE OPB_MMD_CFGAT_VAL ( OBJECT_TYPE_ID number, ATTR_ID number, ATTR_INDEX number, DISPLAY_NAME varchar2(240), OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_SESS_EXTNS ( OBJECT_TYPE number, OBJECT_SUBTYPE number, OBJECT_NAME varchar2(240), BIT_OPTIONS number, RUN_TIME_CHECK varchar2(240), COMMENTS varchar2(2000), OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_LIBS ( OBJECT_TYPE number, OBJECT_SUBTYPE number, OS_TYPE number, LIBRARY_NAME varchar2(240), OPB_OBJECT_ID number, LIB_TYPE number, COMPONENT_TYPE number, COMPONENT_ID number ) CREATE TABLE OPB_MMD_EXTN_ATTR ( OBJECT_TYPE number, OBJECT_SUBTYPE number, ATTR_ID number, ATTR_SIBLING number, ATTR_NAME varchar2(240), ATTR_TYPE number, ATTR_DATATYPE number, ATTR_COMMENT varchar2(2000), IS_REQUIRED number, ATTR_SCOPE number, ATTR_REF_LEVEL number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:44/334
Last modification: 3/12/2010 5:51:38 PM

OPB_OBJECT_ID number, BITFLAGS number, VARIABLE_PREFIX varchar2(240), ATTR_VALUE varchar2(2000), MIN_VALUE number, MAX_VALUE number, GROUP_INFO number, CATEGORY number ) CREATE TABLE OPB_MMD_EATTR_VAL ( OBJECT_TYPE number, OBJECT_SUBTYPE number, ATTR_ID number, ATTR_INDEX number, DISPLAY_NAME varchar2(240), OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_DBTYP2EXTN ( DB_TYPE number, OBJECT_TYPE number, OBJECT_SUBTYPE number, BIT_OPTIONS number, OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_EXTN_CNXN ( OBJECT_TYPE number, OBJECT_SUBTYPE number, CONNECTION_NUM number, CONNECTION_NAME varchar2(240), OBJECT_SCOPE number, OBJECT_REF number, IS_REQUIRED number, OPB_OBJECT_ID number, BITFLAGS number, IS_DATACONNECTION number, VARIABLE_PREFIX varchar2(240) ) CREATE TABLE OPB_MMD_ECNXN_REF ( OBJECT_TYPE number, OBJECT_SUBTYPE number, CONNECTION_NUM number, REF_OBJ_TYPE number, REF_OBJ_SUBTYPE number, BIT_OPTIONS number, OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_CNX

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:45/334
Last modification: 3/12/2010 5:51:38 PM

( CNX_OBJECT_TYPE CNX_OBJECT_SUBTYPE CNX_SUBTYPE_NAME BIT_OPTIONS RUN_TIME_CHECK CREATE_INFO OPB_OBJECT_ID ) CREATE TABLE OPB_MMD_CNX_ATTR ( OBJECT_TYPE number, OBJECT_SUBTYPE number, ATTR_ID number, ATTR_SIBLING number, ATTR_NAME varchar2(240), ATTR_TYPE number, ATTR_DATATYPE number, ATTR_VALUE varchar2(2000), ATTR_COMMENT varchar2(2000), ATTR_SCOPE number, ATTR_REF_LEVEL number, OPB_OBJECT_ID number, BITFLAGS number, VARIABLE_PREFIX varchar2(240), MIN_VALUE number, MAX_VALUE number, GROUP_INFO number, CATEGORY number ) CREATE TABLE OPB_MMD_CATTR_VAL ( OBJECT_TYPE number, OBJECT_SUBTYPE number, ATTR_ID number, ATTR_INDEX number, DISPLAY_NAME varchar2(240), OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_CATALOG ( VENDOR_ID number, VENDOR_NAME varchar2(240), PLG_ID number, PLG_NAME varchar2(240), PLG_DESC varchar2(2000), PLG_VERSION varchar2(240), PLG_LICKEY varchar2(240), LAST_SAVED varchar2(30), OPB_OBJECT_ID number, BIT_OPTIONS number ) number, number, varchar2(240), number, varchar2(240), number, number

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:46/334
Last modification: 3/12/2010 5:51:38 PM

CREATE TABLE OPB_MMD_PLGCOMP ( VENDOR_ID number, PLG_ID number, COMP_ID number, COMP_TYPE number, COMP_VERSION varchar2(240), IS_OWNER number, OPB_OBJECT_ID number, IS_REGISTERED number ) CREATE TABLE OPB_MMD_DBTYPE ( DBTYPE_ID number, IS_PLG number, DBTYPE_NAME varchar2(240), BASE_ID number, SRCTGT_FLAGS number, H_FLAGS number, E_FLAGS number, I_FLAGS number, DEFAULT_DBSUBTYPE number, FIELD_SEPARATOR varchar2(240), NULL_STRING varchar2(240), NOTNULL_STRING varchar2(240), DSQ_TYPE number, INVALID_CHARS varchar2(240), INVALID_FCHARS varchar2(240), OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_DBSUBTYPE ( DBTYPE_ID number, DBSUBTYPE_ID number, DBSUBTYPE_NAME varchar2(240), SRCTGT_FLAGS number, H_FLAGS number, E_FLAGS number, I_FLAGS number, OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_KEYTYPE ( DBTYPE_ID number, KEY_NAME varchar2(240), SRCTGT_FLAGS number, KEY_FLAGS number, ORDER_NUM number, OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_DATATYPE (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:47/334
Last modification: 3/12/2010 5:51:38 PM

NATIVE_DATATYPE DBTYPE_ID DATATYPE_NAME PM_DATATYPE DEFAULT_PRECISION DEFAULT_SCALE PROP_FLAGS PRINT_FLAGS ORDER_NUM OPB_OBJECT_ID )

number, number, varchar2(240), number, number, number, number, number, number, number

CREATE TABLE OPB_MMD_FLDATTR ( DBTYPE_ID number, DBSUBTYPE_ID number, ATTR_ID number, ATTR_NAME varchar2(240), ATTR_DESC varchar2(2000), IS_INT number, SRCTGT_FLAGS number, PROP_FLAGS number, OPB_OBJECT_ID number ) CREATE TABLE OPB_SESS_TASK_LOG ( WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_RUN_ID number, INSTANCE_ID number, MAPPING_NAME varchar2(240), LOG_FILE varchar2(2000), SRC_SUCCESS_ROWS number, SRC_FAILED_ROWS number, TARG_SUCCESS_ROWS number, TARG_FAILED_ROWS number, TOTAL_TRANS_ERRS number, FIRST_ERROR_CODE number, FIRST_ERROR_MSG varchar2(2000), CODEPAGE_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_SWIDGINST_LOG ( WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_RUN_ID number, TASK_INSTANCE_ID number, PARTITION_ID number, PARTITION_NAME varchar2(240), SESSION_ID number, SESSWIDG_INST_ID number, WIDGET_TYPE number, INSTANCE_NAME varchar2(240),

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:48/334
Last modification: 3/12/2010 5:51:38 PM

MAPPLET_INST_NAME WIDGET_NAME GROUP_ID GROUP_NAME APPLIED_ROWS AFFECTED_ROWS REJECTED_ROWS THRUPUT LAST_ERR_MSG LAST_ERR_CODE START_TIME END_TIME )

varchar2(240), varchar2(240), number, varchar2(240), number, number, number, number, varchar2(2000), number, date, date

CREATE TABLE OPB_WFLOW_RUN ( SUBJECT_ID number, WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKFLOW_NAME varchar2(240), SERVER_ID number, SERVER_NAME varchar2(240), START_TIME date, END_TIME date, LOG_FILE varchar2(2000), RUN_ERR_CODE number, RUN_ERR_MSG varchar2(2000), RUN_STATUS_CODE number, USER_NAME varchar2(240), RUN_TYPE number, CODEPAGE_ID number, VERSION_NUMBER number, SERVER_NET_ID number, SERVER_NET_NAME varchar2(240), HAS_FAILED_TASKS number, HAS_INTERRUPTS number, SERVER_NODE_ID number, SERVER_NODE_NAME varchar2(240), OS_USER varchar2(240), RUNINST_NAME varchar2(240) ) CREATE TABLE OPB_TASK_INST_RUN ( SUBJECT_ID number, WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_RUN_ID number, CHILD_RUN_ID number, INSTANCE_ID number, INSTANCE_NAME varchar2(240), TASK_ID number, TASK_TYPE number, START_TIME date, END_TIME date, RUN_ERR_CODE number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:49/334
Last modification: 3/12/2010 5:51:38 PM

RUN_ERR_MSG RUN_STATUS_CODE TASK_NAME RUN_MODE VERSION_NUMBER SERVER_ID SERVER_NAME FRAGMENT_ID SERVER_NODE_ID SERVER_NODE_NAME )

varchar2(2000), number, varchar2(240), number, number, number, varchar2(240), number, number, varchar2(240)

CREATE TABLE OPB_WFLOW_VAR_RUN ( WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_RUN_ID number, WKLET_INST_ID number, TASK_INST_NAME varchar2(240), VAR_NAME varchar2(240), VAR_VALUE varchar2(2000) ) CREATE TABLE OPB_WFLOW_DEP_RUN ( WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_RUN_ID number, FROM_INSTANCE_ID number, TO_INSTANCE_ID number ) CREATE TABLE OPB_WFLOW_CACHE ( WORKFLOW_ID number, WORKFLOW_RUN_ID number, INSTANCE_ID number, TASK_ID number, TASK_TYPE number, INSTANCE_NAME varchar2(240), WORKLET_ID number ) CREATE TABLE OPB_MAP_PERSISVAL ( WORKFLOW_ID number, SESSION_INST_ID number, SUBJECT_ID number, VERSION_ID number, MAPPING_ID number, MAPPLET_ID number, MAPPLET_INST_ID number, PV_ID number, PV_VALUE varchar2(2000), LAST_SAVED varchar2(30), RUNINST_NAME varchar2(240)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:50/334
Last modification: 3/12/2010 5:51:38 PM

) CREATE TABLE OPB_MMD_EXTN_WATTR ( OBJECT_TYPE number, OBJECT_SUBTYPE number, WIDGET_TYPE_ID number, ATTR_ID number, OPB_OBJECT_ID number ) CREATE TABLE OPB_TASK_VAL_LIST ( TASK_ID number, SUBJECT_ID number, WORKFLOW_ID number, INSTANCE_ID number, SESSION_ID number, COMPONENT_TYPE number, TASK_TYPE number, DESCRIPTION varchar2(2000), PM_VALUE varchar2(2000), EXEC_ORDER number, VAL_NAME varchar2(240), LINE_NO number, OPB_OBJECT_ID number, VERSION_NUMBER number, BIT_OPTION number ) CREATE TABLE OPB_HASH_KEY ( SESSION_ID number, SWIDGET_INST_ID number, KEY_NAME varchar2(240), HASHKEYORDER number, GROUP_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_MMD_CATTR2EXTN ( EXTN_TYPE number, EXTN_SUBTYPE number, CNX_TYPE number, CNX_SUBTYPE number, ATTR_ID number ) CREATE TABLE OPB_MMD_EATTR2CNX ( CNX_TYPE number, CNX_SUBTYPE number, EXTN_TYPE number, EXTN_SUBTYPE number, ATTR_ID number

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:51/334
Last modification: 3/12/2010 5:51:38 PM

) CREATE TABLE OPB_MMD_EXTN_FILE ( OBJECT_TYPE number, OBJECT_SUBTYPE number, FILE_ATTR_ID number, DIR_ATTR_ID number ) CREATE TABLE OPB_SESS_CNX_VALS ( WORKFLOW_ID number, SESSION_ID number, SESSION_INST_ID number, SESS_WIDG_INST_ID number, PROC_INSTANCE_ID number, CONNECTION_NUM number, CONNECTION_ID number, CONNECTION_VALUE varchar2(240), PARTITION_ID number, CONNECTION_TYPE number, VERSION_NUMBER number ) CREATE TABLE OPB_SESS_FILE_VALS ( WORKFLOW_ID number, SESSION_ID number, SESSION_INST_ID number, SESS_WIDG_INST_ID number, PROC_INSTANCE_ID number, FILE_ATTR_ID number, DIR_ATTR_ID number, PARTITION_ID number, FILE_NAME varchar2(2000), DIR_NAME varchar2(2000), CODEPAGE number, CONNECTION_TYPE number, VERSION_NUMBER number ) CREATE TABLE OPB_SESS_PER_FILES ( SERVER_ID number, SESSION_INST_ID number, WIDGET_INST_ID number, WIDGET_TYPE number, CACHE_DIR varchar2(2000), PARTITION_INDEX number, SERVER_NODE_ID number, SERVER_NODE_NAME varchar2(240) ) CREATE TABLE OPB_UPGRADE_HIST (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:52/334
Last modification: 3/12/2010 5:51:38 PM

PM_RELEASE_NAME PM_RELEASE REPVERSION DATAVERSION )

varchar2(30), varchar2(30), number, number

CREATE TABLE OPB_DTL_SWIDG_LOG ( WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_RUN_ID number, TASK_INSTANCE_ID number, SESSION_ID number, SESSWIDG_INST_ID number, PARTITION_ID number, GROUP_ID number, SRC_SWIDGINST_ID number, CONNECTION_ID number, LOCATION_NAME varchar2(2000), LOCATION_TYPE number, LINE_NUMBER number ) CREATE TABLE OPB_REPO_PARAM ( DB_TYPE number, PARAM_ID number, PARAM_VALUE varchar2(2000) ) CREATE table OPB_VERSION_PROPS ( OBJECT_ID number not null, OBJECT_TYPE number not null, OBJECT_SUBTYPE number not null, IS_SHORTCUT number not null, VERSION_NUMBER number not null, SUBJECT_ID number not null, USER_ID number not null, OBJECT_NAME varchar2(240) not null, GROUP_NAME varchar2(240), LAST_SAVED varchar2(30) not null, UTC_LAST_SAVED number not null, COMMENTS varchar2(2000), SAVED_FROM varchar2(240), PURGED_BY_USERID number, UTC_CHECKOUT number not null, UTC_CHECKIN number not null ) CREATE TABLE OPB_CM_QUERY ( QUERY_ID number not null, QUERY_NAME varchar2(240) not null, COMMENTS varchar2(2000), CREATED_BY varchar2(240) not null,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:53/334
Last modification: 3/12/2010 5:51:38 PM

OWNER_ID GROUP_ID CREATION_TIME LAST_SAVED QUERY_TYPE CREATE_INFO OBJVERSION )

number not null, number not null, varchar2(30) not null, varchar2(30) not null, number not null, number, number

CREATE TABLE OPB_CM_QUERY_PARAM ( QUERY_ID number not null, PARAM_TYPE number not null, DISPLAY_ORDER number not null, LEVEL_NO number not null, LINE_NO number not null, INPUT_NO number not null, PARAM_OP number, PARAM_VALUE varchar2(2000) ) CREATE TABLE OPB_CM_LABEL ( LABEL_ID number not null, LABEL_NAME varchar2(240) not null, COMMENTS varchar2(2000), CREATED_BY varchar2(240) not null, OWNER_ID number not null, GROUP_ID number not null, CREATION_TIME varchar2(30) not null, LAST_SAVED varchar2(30) not null, LABEL_TYPE number not null, LABEL_STATUS number not null, CREATE_INFO number, OBJVERSION number ) CREATE TABLE OPB_CM_LABEL_REF ( LABEL_ID number not null, OBJECT_ID number not null, OBJECT_TYPE number not null, VERSION_NUMBER number not null, SUBJECT_ID number not null, USER_ID number not null, COMMENTS varchar2(2000), APPLY_TIME varchar2(30) not null ) CREATE TABLE OPB_CM_DEPLOY ( DEP_GROUP_ID number not null, DEP_GROUP_NAME varchar2(240) not null, COMMENTS varchar2(2000), CREATED_BY varchar2(240) not null, OWNER_ID number not null,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:54/334
Last modification: 3/12/2010 5:51:38 PM

GROUP_ID CREATION_TIME LAST_SAVED GROUP_TYPE QUERY_ID CREATE_INFO OBJVERSION )

number not null, varchar2(30) not null, varchar2(30) not null, number not null, number, number, number

CREATE TABLE OPB_CM_DEPLOY_REF ( DEP_GROUP_ID number not null, OBJECT_ID number not null, OBJECT_TYPE number not null, VERSION_NUMBER number not null, SUBJECT_ID number not null, IS_SHORTCUT number not null ) CREATE TABLE OPB_CM_DEPLOY_LOG ( DEP_GROUP_ID number not null, DEP_RUN_ID number not null, DEP_GROUP_NAME varchar2(240) not null, DEPLOY_TIME varchar2(30) not null, DEPLOY_TYPE number not null, REP_NAME varchar2(240) not null, REP_GID varchar2(240) not null, USER_ID number not null, GROUP_ID number not null, USER_NAME varchar2(240) not null, UTC_DEPLOY_TIME number not null, DEPLOY_STATUS number, ROLLBACK_TIME varchar2(30) ) CREATE TABLE OPB_CM_DEPDETAIL ( DEP_RUN_ID number not null, OBJECT_ID number not null, OBJECT_NAME varchar2(240) not null, OBJECT_TYPE number not null, SRC_VERNUM number not null, TARG_VERNUM number not null, SRC_SUBJ_ID number not null, TARG_SUBJ_ID number not null, SRC_SUBJ_NAME varchar2(240) not null, TARG_SUBJ_NAME varchar2(240) not null, IS_SHORTCUT number not null, OBJECT_SUBTYPE number not null, GROUP_NAME varchar2(240) ) CREATE TABLE OPB_SERVER_NET (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:55/334
Last modification: 3/12/2010 5:51:38 PM

SERVER_NET_ID SERVER_NET_NAME SERVER_NET_DESC LAST_SAVED OBJVERSION )

number not null, varchar2(240) not null, varchar2(2000), varchar2(30) not null, number not null

CREATE TABLE OPB_SERVER_NET_REF ( SERVER_NET_ID number not null, SERVER_ID number not null, BIT_OPTIONS number not null ) CREATE TABLE OPB_WFLD_ATTR_DEF ( SUBJECT_ID number, WIDGET_TYPE number, WIDGET_ID number, ATTR_ID number, ATTR_DATATYPE number, ATTR_TYPE number, ATTR_NAME varchar(240), ATTR_DESC varchar2(2000), ATTR_DEFAULT_VAL varchar2(2000), DISPLAY_ORDER number, VERSION_NUMBER number ) CREATE TABLE OPB_WFLD_ATTR ( SUBJECT_ID number, WIDGET_TYPE number, WIDGET_ID number, ATTR_ID number, FIELD_ID number, STRING_VAL varchar2(2000), LINE_NO number, VERSION_NUMBER number ) CREATE TABLE OPB_WFLD_INOUTDEP ( SUBJECT_ID number, WIDGET_ID number, WIDGET_TYPE number, OUT_FIELD_ID number, IN_FIELD_ID number, VERSION_NUMBER number ) CREATE TABLE OPB_SWIDG_GROUP ( SESSION_ID number, SESS_WIDG_INST_ID number, GROUP_ID number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:56/334
Last modification: 3/12/2010 5:51:38 PM

GROUP_NAME PARTITION_TYPE VERSION_NUMBER )

varchar(240), number, number

CREATE TABLE OPB_VALIDATE ( SUBJECT_ID number not null, OBJECT_ID number not null, OBJECT_TYPE number not null, VERSION_NUMBER number not null, INV_UTC number not null, INV_TYPE number not null, INV_COMMENTS varchar2(2000), LINE_NO number not null ) CREATE TABLE OPB_XML_QUAL ( OBJECT_TYPE number, OBJECT_ID number, SUBJECT_ID number, VERSION_NUMBER number, ATTR_ID number, ATTR_QUAL varchar2(2000) ) CREATE TABLE OPB_PROF_RULESET ( RULESET_ID number not null, RULESET_NAME varchar(240) not null, SUBJECT_ID number not null, MAPPING_ID number not null, LAST_SAVED varchar2(30), CREATE_INFO number, SUMMARY_INT number, SUMMARY_STRING varchar2(2000) ) CREATE TABLE OPB_PROF_METADATA ( RULESET_ID number not null, SUBJECT_ID number not null, LINE_NO number not null, RULESET_METADATA varchar2(2000) ) CREATE TABLE OPB_PROF_SRC_REF ( RULESET_ID number not null, SUBJECT_ID number not null, SOURCE_INDEX number not null, SOURCE_TYPE number not null, SOURCE_ID number not null )

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:57/334
Last modification: 3/12/2010 5:51:38 PM

CREATE TABLE OPB_MMD_TEMPLATE ( TEMPLATE_ID number not null, TEMPLATE_TYPE number not null, TEMPLATE_NAME varchar2(240) not null, DESCRIPTION varchar2(2000), BIT_OPTIONS number not null ) CREATE TABLE OPB_MMD_TMPL_ATTR ( TEMPLATE_ID number not null, ATTR_ID number not null, ATTR_NAME varchar2(240), ATTR_VALUE varchar2(2000), BIT_OPTIONS number not null ) CREATE TABLE OPB_MMD_TMPL2EXTN ( TEMPLATE_ID number, OBJECT_TYPE number, OBJECT_SUBTYPE number, BIT_OPTIONS number, OPB_OBJECT_ID number ) CREATE TABLE OPB_ATTR_CATEGORY ( CATEGORY_ID NUMBER, CATEGORY_NAME VARCHAR2(240), DESCRIPTION VARCHAR2(2000) ) CREATE TABLE OPB_PROF_RESOURCE ( RESOURCE_ID number, RESOURCE_NAME varchar2(240), RESOURCE_TYPE number, RESOURCE_SUBTYPE number, OWNER_ID number, GROUP_ID number, CREATE_INFO number, LAST_SAVED varchar2(30), SUMMARY_INT number, SUMMARY_STRING varchar2(2000) ) CREATE TABLE OPB_PROF_RES_DATA ( RESOURCE_ID number, LINE_NO number, METADATA varchar2(2000) ) CREATE TABLE OPB_PROF_RES_REF

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:58/334
Last modification: 3/12/2010 5:51:38 PM

( RULESET_ID SUBJECT_ID RESOURCE_INDEX RESOURCE_ID ) CREATE TABLE OPB_MMD_DBTY2WATTR ( DBTYPE_ID number, DBSUBTYPE_ID number, OBJECT_TYPE number, ATTR_ID number, BIT_FLAGS number, OPB_OBJECT_ID number ) CREATE TABLE OPB_MMD_DBTY2WAVAL ( DBTYPE_ID number, DBSUBTYPE_ID number, OBJECT_TYPE number, ATTR_ID number, ATTR_INDEX number, OPB_OBJECT_ID number ) CREATE TABLE OPB_TASK_STATS ( SUBJECT_ID number, WORKFLOW_ID number, WORKFLOW_RUN_ID number, WORKLET_ID number, INSTANCE_ID number, TASK_ID number, TASK_TYPE number, SERVER_ID number, WALLCLOCK_TIME varchar2(20), CPU_TIME varchar2(20), PROCESS_SIZE varchar2(20), DISK_READS varchar2(20), DISK_WRITES varchar2(20), UTC_LASTSAVED number, FRAGMENT_ID number, SERVER_NODE_ID number, SERVER_NODE_NAME varchar2(240) ) CREATE TABLE OPB_SERVICE_LEVEL ( OBJECT_ID number, OBJECT_NAME varchar2(240), COMMENTS varchar2(2000), IS_DEFAULT number, OWNER_ID number, GROUP_ID number, number, number, number, number

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:59/334
Last modification: 3/12/2010 5:51:38 PM

LAST_SAVED CREATE_INFO OBJVERSION )

varchar2(30), number, number

CREATE TABLE OPB_MMD_SLVL_ATTR ( ATTR_ID number, ATTR_SIBLING number, ATTR_NAME varchar2(240), ATTR_TYPE number, ATTR_DATATYPE number, ATTR_VALUE varchar2(2000), ATTR_COMMENT varchar2(2000), ATTR_SCOPE number, MIN_VALUE number, MAX_VALUE number ) CREATE TABLE OPB_SLEVEL_ATTR ( OBJECT_ID number, ATTR_ID number, ATTR_VALUE varchar2(2000), LINE_NO number ) CREATE TABLE OPB_TASK_RES_REFS ( WORKFLOW_ID number, TASK_ID number, TASK_INST_ID number, SESS_WIDG_INST_ID number, RESOURCE_TYPE number, RESOURCE_NAME varchar2(240), VERSION_NUMBER number ) CREATE TABLE OPB_OBJECT_LOCKS ( OBJECT_TYPE_ID NUMBER, OBJECT_ID NUMBER, OBJECT_VERSION NUMBER, SUBJECT_ID NUMBER, REPOSIT_ID NUMBER, USER_ID NUMBER, CNX_ID NUMBER, LOCK_OP NUMBER, LOCK_TYPE NUMBER, LOCK_TIME NUMBER, RUNINST_NAME varchar2(240) ) CREATE TABLE OPB_SERVICED_REQ ( CNX_ID NUMBER,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:60/334
Last modification: 3/12/2010 5:51:38 PM

REQUEST_ID SEGMENT_NO NUM_SEGMENTS REQ_TYPE UTC_REQ_TIME )

NUMBER, NUMBER, NUMBER, NUMBER, NUMBER

CREATE TABLE OPB_REQ_REPLY ( CNX_ID NUMBER, REQUEST_ID NUMBER, SEGMENT_NO NUMBER, UTC_REQ_TIME NUMBER, UTC_OBJECT_TIME NUMBER, LINE_NO NUMBER, CONTENT RAW(255) ) CREATE TABLE OPB_CLIENT_CONN ( CNX_ID NUMBER, LOGIN_ID NUMBER, CLIENT_TYPE NUMBER, CLIENT_ID NUMBER, LOGIN_TIME varchar2(30), LAST_ACTIVE_TIME varchar2(30), LAST_SENT_NOTIF_ID NUMBER, APP_NAME1 varchar2(240), APP_NAME2 varchar2(240), PROCESS_ID NUMBER, HOST_NAME varchar2(240), HOST_ADDR varchar2(240), HOST_PORT NUMBER, CNX_RESIL NUMBER ) CREATE TABLE OPB_MMD_FUNCTION ( FUNC_ID number not null, FUNC_GRP_ID number not null, FUNC_NAME varchar2(240) not null, FUNC_CATEGORY varchar2(240) not null, BIT_OPTIONS number not null ) CREATE TABLE OPB_MMD_FUNC_GRP ( FUNC_GRP_ID number not null, FUNC_GRP_NAME varchar2(240) not null, FUNC_GRP_DESC varchar2(2000), FUNC_NAMESPACE varchar2(240), BIT_OPTIONS number not null ) CREATE TABLE OPB_MACRO (

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:61/334
Last modification: 3/12/2010 5:51:38 PM

MACRO_ID number not null, SUBJECT_ID number not null, MACRO_TYPE number not null, MACRO_NAME varchar2(240) not null, MACRO_DESC varchar2(2000), LAST_SAVED varchar2(30), CREATE_INFO number not null, BIT_OPTIONS number not null, OBJVERSION number not null, MACRO_PROTOTYPE varchar2(2000), RETURN_TYPE number, VERSION_NUMBER number, VERSION_STATUS number, UTC_LAST_SAVED number, IS_VISIBLE number, CHECKOUT_USER_ID number, IS_MARKED number, UTC_REF_TIME number, UTC_CHECKIN number, OBJ_CMP number ) CREATE TABLE OPB_MACRO_EXPR ( MACRO_ID number not null, SUBJECT_ID number not null, LINE_NO number not null, EXPRESSION varchar2(2000) not null, VERSION_NUMBER number not null ) CREATE TABLE OPB_MACRO_ARGS ( MACRO_ID number not null, SUBJECT_ID number not null, ARG_NAME varchar2(240) not null, ARG_PREC number not null, ARG_SCALE number not null, ARG_DATATYPE number not null, ARG_ORDER number not null, VERSION_NUMBER number not null ) CREATE TABLE OPB_MACRO_REF ( MACRO_ID number not null, SUBJECT_ID number not null, REF_MACRO_ID number not null, REF_MACRO_NAME varchar2(240) not null, VERSION_NUMBER number not null ) CREATE TABLE OPB_WIDG_MCR_DEP ( WIDGET_ID number not null, WIDGET_TYPE number not null,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:62/334
Last modification: 3/12/2010 5:51:38 PM

MAPPING_ID INSTANCE_ID SESSION_ID SUBJECT_ID MACRO_ID MACRO_TYPE MACRO_NAME VERSION_NUMBER )

number not null, number not null, number not null, number not null, number not null, number not null, varchar2(240), number not null

CREATE TABLE OPB_LINK_MCR_DEP ( WORKFLOW_ID number not null, CONDITION_ID number not null, SUBJECT_ID number not null, MACRO_ID number not null, MACRO_TYPE number not null, MACRO_NAME varchar2(240) not null, VERSION_NUMBER number not null ) CREATE TABLE OPB_TASK_MCR_DEP ( TASK_ID number not null, TASK_TYPE number not null, WORKFLOW_ID number not null, SUBJECT_ID number not null, MACRO_ID number not null, MACRO_TYPE number not null, MACRO_NAME varchar2(240) not null, VERSION_NUMBER number not null, INSTANCE_ID number not null ) CREATE TABLE OPB_WFLOW_RUN_BRK ( BREAK_ID number, SUBJECT_ID number, WORKFLOW_ID number, WORKFLOW_RUN_ID number, VERSION_NUMBER number, USER_NAME varchar2(240), RUN_ERR_CODE number, RUN_ERR_MSG varchar2(2000), RUN_STATUS_CODE number, START_TIME date, END_TIME date, RECOVERY_TYPE number, SERVER_NODE_ID number, SERVER_NODE_NAME varchar2(240) ) CREATE TABLE OPB_TASK_INST_BRK ( BREAK_ID number, SUBJECT_ID number,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:63/334
Last modification: 3/12/2010 5:51:38 PM

WORKFLOW_ID VERSION_NUMBER WORKFLOW_RUN_ID WORKLET_RUN_ID CHILD_RUN_ID INSTANCE_ID RUN_ERR_CODE RUN_ERR_MSG RUN_STATUS_CODE START_TIME END_TIME RECOVERY_TYPE FRAGMENT_ID SERVER_NODE_ID SERVER_NODE_NAME )

number, number, number, number, number, number, number, varchar2(2000), number, date, date, number, number, number, varchar2(240)

CREATE TABLE OPB_PROXYUSER_INFO ( CNX_ID NUMBER, PROXY_LOGIN_ID NUMBER ) CREATE TABLE OPB_NOTIF_MSG ( NOTIFICATION_ID NUMBER, ACTION_TYPE NUMBER, ACTION_TIME VARCHAR2(30), MESSAGE VARCHAR2(2000), LINE_NO NUMBER, CNX_ID NUMBER )

CREATE TABLE OPB_OBJECT_NOTIF ( NOTIFICATION_ID NUMBER, OBJECT_ACTION NUMBER, OBJECT_ID NUMBER, VERSION_NUMBER NUMBER, OBJECT_TYPE NUMBER, OBJECT_NAME VARCHAR2(240), SUBJECT_ID NUMBER, SERVER_ID NUMBER, USER_ID NUMBER, USER_NAME VARCHAR2(240), HOST_NAME VARCHAR2(240), ACTION_TIME VARCHAR2(30) ) CREATE TABLE OPB_SERVER_NODE ( SERVER_ID NUMBER, NODE_ID NUMBER, NODE_NAME VARCHAR2(240) )

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:64/334
Last modification: 3/12/2010 5:51:38 PM

CREATE TABLE OPB_PERF_COUNT ( SUBJECT_ID NUMBER, WORKFLOW_ID NUMBER, WORKFLOW_RUN_ID NUMBER, WORKLET_ID NUMBER, TASK_ID NUMBER, TASK_INST_ID NUMBER, WIDGET_ID NUMBER, WIDGET_INST_ID NUMBER, PARTITION_ID NUMBER, FRAGMENT_ID NUMBER, GROUP_ID NUMBER, ATTR_ID NUMBER, ATTR_VALUE VARCHAR2(2000), TIME_STAMP DATE ) CREATE TABLE OPB_SWIDGET_ATTR ( SESSION_ID number, SESS_WIDG_INST_ID number, PARTITION_ID number, VERSION_NUMBER number, ATTR_ID number, LINE_NO number, ATTR_VALUE varchar2(2000) ) CREATE TABLE OPB_WF_RUNINFO ( SUBJECT_ID number, WORKFLOW_ID number, VERSION_NUMBER number, RUNINST_NAME varchar2(240), PARAM_FILE varchar2(240) ) CREATE TABLE REP_PIC_USAGE ( USAGE_NUM integer, USAGE_NAME varchar(40) ) INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE REP_PIC_USAGE VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES (0, '') (1, 'COMP') (2, 'COMP-1') (3, 'COMP-2') (4, 'COMP-3') (5, 'COMP-5') (6, 'COMP-X') (7, 'DISPLAY') (8, 'INDEX') (9, 'POINTER') (10, 'COMP-SPECIAL')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:65/334
Last modification: 3/12/2010 5:51:38 PM

CREATE TABLE REP_FLD_DATATYPE ( DTYPE_NUM integer, DTYPE_NAME varchar(40), DTYPE_GROUP_CODE char(1), DTYPE_DATABASE varchar(20) ) INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES (1, 'CHAR','C','INFORMATICA') (2, 'NUMERIC','N','INFORMATICA') (3, 'DECIMAL','N','INFORMATICA') (4, 'INTEGER','N','INFORMATICA') (5, 'SMALLINT','N','INFORMATICA') (6, 'FLOAT','N','INFORMATICA') (7, 'REAL','N','INFORMATICA') (8, 'DOUBLE','N','INFORMATICA') (9, 'DATE','D','INFORMATICA') (10, 'TIME','D','INFORMATICA') (11, 'DATETIME','D','INFORMATICA') (12, 'STRING','C','INFORMATICA') (-1, 'TEXT','C','INFORMATICA') (-2, 'BINARY','B','INFORMATICA') (-3, 'VARBINARY','B','INFORMATICA') (-4, 'BYTE','C','INFORMATICA') (-5, 'BIGINT','N','INFORMATICA') (-6, 'TINYINT','N','INFORMATICA') (-7, 'BIT','B','INFORMATICA') (-8, 'WCHAR','C','INFORMATICA') (-9, 'NSTRING','C','INFORMATICA') (-10, 'NTEXT','C','INFORMATICA') (90, 'MONEY','N','INFORMATICA') (3001, 'char','C','ORACLE') (3002, 'date','D','ORACLE') (3003, 'long','C','ORACLE') (3004, 'long raw','N','ORACLE') (3005, 'number','N','ORACLE') (3006, 'number(p,s)','N','ORACLE') (3007, 'raw','N','ORACLE') (3008, 'varchar','C','ORACLE') (3009, 'varchar2','C','ORACLE') (3010, 'nchar','C','ORACLE') (3011, 'nvarchar','N','ORACLE') (3012, 'nvarchar2','N','ORACLE') (3013, 'blob','B','ORACLE') (3014, 'clob','C','ORACLE') (3015, 'nclob','C','ORACLE') (3016, 'xmltype','C','ORACLE') (3101, 'bit','B','SYBASE') (3102, 'tinyint','N','SYBASE') (3103, 'image','I','SYBASE') (3104, 'timestamp','B','SYBASE') (3105, 'varbinary','B','SYBASE') (3106, 'binary','D','SYBASE') (3107, 'text','C','SYBASE') (3108, 'char','C','SYBASE') (3109, 'nchar','C','SYBASE')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:66/334
Last modification: 3/12/2010 5:51:38 PM

INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT

INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO

REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE

VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES

(3110, (3111, (3112, (3113, (3114, (3115, (3116, (3117, (3118, (3119, (3120, (3121, (3122, (3123, (3201, (3202, (3203, (3204, (3205, (3206, (3207, (3208, (3209, (3210, (3211, (3212, (3213, (3214, (3215, (3216, (3217, (3218, (3219, (3220, (3221, (3222, (3223, (3224, (3301, (3302, (3303, (3304, (3305, (3306, (3307, (3308, (3309, (3310, (3311, (3312, (3313, (3314, (3315, (3316, (3317, (3318,

'numeric','N','SYBASE') 'decimal','N','SYBASE') 'money','N','SYBASE') 'smallmoney','N','SYBASE') 'int','N','SYBASE') 'smallint','N','SYBASE') 'float','N','SYBASE') 'real','N','SYBASE') 'datetime','D','SYBASE') 'smalldatetime','D','SYBASE') 'nvarchar','C','SYBASE') 'sysname','C','SYBASE') 'varchar','C','SYBASE') 'numeric identity','N','SYBASE') 'bit','B','MS SQL') 'tinyint','N','MS SQL') 'image','I','MS SQL') 'timestamp','B','MS SQL') 'varbinary','B','MS SQL') 'binary','D','MS SQL') 'text','C','MS SQL') 'char','C','MS SQL') 'nchar','C','MS SQL') 'numeric','N','MS SQL') 'decimal','N','MS SQL') 'money','N','MS SQL') 'smallmoney','N','MS SQL') 'int','N','MS SQL') 'smallint','N','MS SQL') 'float','N','MS SQL') 'real','N','MS SQL') 'datetime','D','MS SQL') 'smalldatetime','D','MS SQL') 'nvarchar','C','MS SQL') 'sysname','C','MS SQL') 'varchar','C','MS SQL') 'numeric identity','N','MS SQL') 'ntext','C','MS SQL') 'Byte','B','INFORMIX') 'Char','C','INFORMIX') 'Character','C','INFORMIX') 'Charactervar','C','INFORMIX') 'Date','D','INFORMIX') 'Datetime year to fraction(5)','D','INFORMIX') 'Dec','N','INFORMIX') 'Decimal','N','INFORMIX') 'Double','N','INFORMIX') 'Float','N','INFORMIX') 'Int','N','INFORMIX') 'Integer','N','INFORMIX') 'Interval','N','INFORMIX') 'Money','N','INFORMIX') 'NChar','C','INFORMIX') 'Numeric','N','INFORMIX') 'NVarchar','C','INFORMIX') 'Real','N','INFORMIX')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:67/334
Last modification: 3/12/2010 5:51:38 PM

INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT

INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO

REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE

VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES

(3319, (3320, (3321, (3322, (3323, (3401, (3402, (3403, (3404, (3405, (3406, (3407, (3408, (3409, (3410, (3411, (3412, (3413, (3414, (3415, (3416, (3417, (3418, (3419, (3501, (3502, (3503, (3504, (3505, (3506, (3507, (3508, (3509, (3510, (3511, (3512, (3513, (3514, (3515, (3516, (3517, (3518, (3519, (3520, (3521, (3522, (3601, (3602, (3603, (3701, (3702, (3703, (3801, (3802, (3803, (3804,

'Serial','N','INFORMIX') 'SmallFloat','N','INFORMIX') 'SmallInt','N','INFORMIX') 'Text','C','INFORMIX') 'Varchar','C','INFORMIX') 'blob','B','DB2') 'clob','B','DB2') 'char','C','DB2') 'date','D','DB2') 'decimal','N','DB2') 'float','N','DB2') 'integer','N','DB2') 'smallint','N','DB2') 'time','D','DB2') 'timestamp','D','DB2') 'varchar','C','DB2') 'long varchar','C','DB2') 'numeric','N','DB2') 'graphic','C','DB2') 'vargraphic','C','DB2') 'longvargraphic','C','DB2') 'charbit','B','DB2') 'varcharbit','B','DB2') 'dbclob','C','DB2') 'char','C','ODBC') 'varchar','C','ODBC') 'text','C','ODBC') 'decimal','N','ODBC') 'numeric','N','ODBC') 'bit','B','ODBC') 'tinyint','N','ODBC') 'smallint','N','ODBC') 'integer','N','ODBC') 'bigint','N','ODBC') 'real','N','ODBC') 'float','N','ODBC') 'double','N','ODBC') 'binary','B','ODBC') 'varbinary','B','ODBC') 'longvarbinary','B','ODBC') 'date','D','ODBC') 'time','D','ODBC') 'timestamp','D','ODBC') 'nchar','C','ODBC') 'nvarchar','C','ODBC') 'ntext','C','ODBC') 'string','C','VSAM') 'number','N','VSAM') 'nstring','C','VSAM') 'string','C','IMS') 'number','N','IMS') 'nstring','C','IMS') 'string','C','FLAT FILE') 'number','N','FLAT FILE') 'nstring','C','FLAT FILE') 'time','D','FLAT FILE')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:68/334
Last modification: 3/12/2010 5:51:38 PM

INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT

INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO

REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE

VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES

(3901, (3902, (3903, (3904, (3905, (3906, (3907, (3908, (3909, (3910, (3911, (3912, (3913, (3914, (3915, (3916, (3917, (3918, (3919, (3920, (4001, (4002, (4003, (4004, (4005, (4006, (4007, (4008, (4009, (4101, (4102, (4103, (4104, (4105, (4106, (4107, (4108, (4109, (4110, (4111, (4112, (4113, (4114, (4115, (4116, (4117, (4118, (4119, (4120, (4121, (4201, (4202, (4203, (4204, (4205, (4206,

'ACCP', 'D', 'SAP BW') 'CHAR', 'C', 'SAP BW') 'CLNT', 'C', 'SAP BW') 'CUKY', 'C', 'SAP BW') 'CURR', 'N', 'SAP BW') 'DEC', 'N', 'SAP BW') 'DATS', 'D', 'SAP BW') 'FLTP', 'N', 'SAP BW') 'INT2', 'N', 'SAP BW') 'INT4', 'N', 'SAP BW') 'LANG', 'C', 'SAP BW') 'NUMC', 'N', 'SAP BW') 'PREC', 'B', 'SAP BW') 'QUAN', 'N', 'SAP BW') 'RAW', 'D', 'SAP BW') 'TIMS', 'D', 'SAP BW') 'UNIT', 'C', 'SAP BW') 'VARC', 'C', 'SAP BW') 'LRAW', 'B', 'SAP BW') 'LCHR', 'C', 'SAP BW') 'character', 'C', 'PeopleSoft') 'long character', 'C', 'PeopleSoft') 'long character raw', 'B', 'PeopleSoft') 'number', 'N', 'PeopleSoft') 'signed number', 'N', 'PeopleSoft') 'date', 'D', 'PeopleSoft') 'time', 'D', 'PeopleSoft') 'date time', 'D', 'PeopleSoft') 'image', 'B', 'PeopleSoft') 'ACCP', 'D', 'SAP R3') 'CHAR', 'C', 'SAP R3') 'CLNT', 'C', 'SAP R3') 'CUKY', 'C', 'SAP R3') 'CURR', 'N', 'SAP R3') 'DEC', 'N', 'SAP R3') 'DATS', 'D', 'SAP R3') 'FLTP', 'N', 'SAP R3') 'INT2', 'N', 'SAP R3') 'INT4', 'N', 'SAP R3') 'LANG', 'C', 'SAP R3') 'NUMC', 'N', 'SAP R3') 'PREC', 'B', 'SAP R3') 'QUAN', 'N', 'SAP R3') 'RAW', 'D', 'SAP R3') 'TIMS', 'D', 'SAP R3') 'UNIT', 'C', 'SAP R3') 'VARC', 'C', 'SAP R3') 'LRAW', 'B', 'SAP R3') 'LCHR', 'C', 'SAP R3') 'INT1', 'N', 'SAP R3') 'STRING', 'C', 'XML') 'NUMERIC', 'N', 'XML') 'NSTRING', 'C', 'XML') 'BOOLEAN', 'C', 'XML') 'FLOAT', 'N', 'XML') 'DOUBLE', 'N', 'XML')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:69/334
Last modification: 3/12/2010 5:51:38 PM

INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT INSERT

INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO INTO

REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE REP_FLD_DATATYPE

VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES VALUES

(4207, (4208, (4209, (4210, (4211, (4212, (4213, (4214, (4215, (4216, (4217, (4218, (4219, (4220, (4221, (4222, (4223, (4224, (4225, (4226, (4227, (4228, (4229, (4230, (4231, (4232, (4233, (4234, (4235, (4236, (4237, (4238, (4239, (4240, (4241, (4242, (4243, (4244, (4245, (4246, (4247, (4248, (4249, (4250, (4251, (4252, (4253, (4254, (4255, (4256, (4257, (4301, (4302, (4303, (4304, (4401,

'DECIMAL', 'N', 'XML') 'TIMEDURATION', 'D', 'XML') 'RECURRINGDURATION', 'D', 'XML') 'BINARY', 'B', 'XML') 'URIREFERENCE', 'C', 'XML') 'ID', 'N', 'XML') 'IDREF', 'N', 'XML') 'ENTITY', 'C', 'XML') 'NOTATION', 'C', 'XML') 'QNAME', 'C', 'XML') 'LANGUAGE', 'C', 'XML') 'IDREFS', 'N', 'XML') 'ENTITIES', 'C', 'XML') 'NMTOKEN', 'C', 'XML') 'NMTOKENS', 'C', 'XML') 'NAME', 'C', 'XML') 'NCNAME', 'C', 'XML') 'INTEGER', 'N', 'XML') 'NONPOSITIVEINTEGER', 'N', 'XML') 'NEGATIVEINTEGER', 'N', 'XML') 'LONG', 'N', 'XML') 'INT', 'N', 'XML') 'SHORT', 'N', 'XML') 'BYTE', 'C', 'XML') 'NONNEGATIVEINTEGER', 'N', 'XML') 'UNSIGNEDLONG', 'N', 'XML') 'UNSIGNEDINT', 'N', 'XML') 'UNSIGNEDSHORT', 'N', 'XML') 'UNSIGNEDBYTE', 'N', 'XML') 'POSITIVEINTEGER', 'N', 'XML') 'TIMEINSTANT', 'D', 'XML') 'TIME', 'D', 'XML') 'TIMEPERIOD', 'D', 'XML') 'DATE', 'D', 'XML') 'MONTH', 'D', 'XML') 'YEAR', 'D', 'XML') 'CENTURY', 'D', 'XML') 'RECURRINGDATE', 'D', 'XML') 'RECURRINGDAY', 'D', 'XML') 'DATETIME', 'D', 'XML') 'ANYURI', 'C', 'XML') 'BASE64BINARY', 'B', 'XML') 'DURATION', 'C', 'XML') 'GDAY', 'D', 'XML') 'GMONTH', 'D', 'XML') 'GMONTHDAY', 'D', 'XML') 'GYEAR', 'D', 'XML') 'GYEARMONTH', 'D', 'XML') 'NORMALIZEDSTRING', 'C', 'XML') 'TOKEN', 'C', 'XML') 'HEXBINARY', 'B', 'XML') 'CHAR', 'C', 'MQ') 'LONG', 'N', 'MQ') 'BYTE', 'C', 'MQ') 'DATA', 'C', 'MQ') 'BOOL', 'C', 'SIEBEL')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:70/334
Last modification: 3/12/2010 5:51:38 PM

INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES INSERT INTO REP_FLD_DATATYPE VALUES CREATE TABLE REP_SRC_KEY_TYPES ( KEYTYPE_NUM integer, KEYTYPE_NAME varchar(50) )

(4402, (4403, (4404, (4405, (4406, (4407, (4408, (4409, (4410, (4411, (4412, (4413, (4414, (4501, (4502, (4503, (4504, (4505, (4506, (4507, (4508, (4509, (4510, (4511, (4512,

'CURRENCY', 'N', 'SIEBEL') 'DATE', 'D', 'SIEBEL') 'DATETIME', 'D', 'SIEBEL') 'ID', 'N', 'SIEBEL') 'INTEGER', 'N', 'SIEBEL') 'NOTE', 'C', 'SIEBEL') 'NUMBER', 'N', 'SIEBEL') 'PHONE', 'C', 'SIEBEL') 'TEXT', 'C', 'SIEBEL') 'TIME', 'D', 'SIEBEL') 'CHAR', 'C', 'SIEBEL') 'VARCHAR', 'C', 'SIEBEL') 'UTCDATETIME', 'D', 'SIEBEL') 'BYTE', 'C', 'TERADATA') 'BYTEINT', 'N', 'TERADATA') 'CHAR', 'C', 'TERADATA') 'DATE', 'D', 'TERADATA') 'DECIMAL', 'N', 'TERADATA') 'FLOAT', 'N', 'TERADATA') 'INTEGER', 'N', 'TERADATA') 'SMALLINT', 'N', 'TERADATA') 'TIME', 'D', 'TERADATA') 'TIMESTAMP', 'D', 'TERADATA') 'VARBYTE', 'C', 'TERADATA') 'VARCHAR', 'C', 'TERADATA')

INSERT INTO REP_SRC_KEY_TYPES VALUES (0, 'NOT A KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (1, 'PRIMARY KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (2, 'ALTERNATE KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (8, 'FOREIGN KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (16, 'CONCATENATED KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (32, 'DESTINATION PARENT KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (64, 'GENERATED KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES (9, 'PRIMARY/FOREIGN KEY') INSERT INTO REP_SRC_KEY_TYPES VALUES(257, 'XML GENERATED KEY') CREATE TABLE REP_TARG_KEY_TYPES ( KEYTYPE_NUM integer, KEYTYPE_NAME varchar(50) ) INSERT INTO REP_TARG_KEY_TYPES INSERT INTO REP_TARG_KEY_TYPES INSERT INTO REP_TARG_KEY_TYPES INSERT INTO REP_TARG_KEY_TYPES INSERT INTO REP_TARG_KEY_TYPES CREATE TABLE REP_DB_TYPES ( DBTYPE_NUM integer, DBTYPE_NAME varchar(50) ) VALUES (0, 'NOT A KEY') VALUES (1, 'PRIMARY KEY') VALUES (2, 'FOREIGN KEY') VALUES (3, 'PRIMARY/FOREIGN KEY') VALUES(257, 'XML GENERATED KEY')

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:71/334
Last modification: 3/12/2010 5:51:38 PM

INSERT INTO REP_DB_TYPES VALUES (0, 'VSAM') INSERT INTO REP_DB_TYPES VALUES (1, 'IMS') INSERT INTO REP_DB_TYPES VALUES (2, 'SYBASE') INSERT INTO REP_DB_TYPES VALUES (3, 'ORACLE') INSERT INTO REP_DB_TYPES VALUES (4, 'INFORMIX') INSERT INTO REP_DB_TYPES VALUES (5, 'MSSQLSERVER') INSERT INTO REP_DB_TYPES VALUES (6, 'DB2') INSERT INTO REP_DB_TYPES VALUES (7, 'FLATFILE') INSERT INTO REP_DB_TYPES VALUES (8, 'ODBC SOURCES') INSERT INTO REP_DB_TYPES VALUES (9, 'SAP B/W') INSERT INTO REP_DB_TYPES VALUES (10, 'PEOPLESOFT') INSERT INTO REP_DB_TYPES VALUES (11, 'SAP R/3') INSERT INTO REP_DB_TYPES VALUES (12, 'XML') INSERT INTO REP_DB_TYPES VALUES (13, 'MQSeries') INSERT INTO REP_DB_TYPES VALUES (14, 'Siebel') INSERT INTO REP_DB_TYPES VALUES (15, 'Teradata') CREATE TABLE REP_CARD_TYPE ( CARDINALITY_TYPE integer, CARDINALITY varchar(20) ) INSERT INTO REP_CARD_TYPE VALUES (0, INSERT INTO REP_CARD_TYPE VALUES (1, INSERT INTO REP_CARD_TYPE VALUES (2, INSERT INTO REP_CARD_TYPE VALUES (3, INSERT INTO REP_CARD_TYPE VALUES (4, CREATE TABLE REP_TARG_TYPE ( TARGET_TYPE integer, TYPE_NAME varchar(20) ) 'NONE') 'ONE TO ONE') 'ONE TO MANY') 'MANY TO ONE') 'MANY TO MANY')

INSERT INTO REP_TARG_TYPE VALUES (0, 'NONE') INSERT INTO REP_TARG_TYPE VALUES (1, 'DIMENSION') INSERT INTO REP_TARG_TYPE VALUES (2, 'FACT') CREATE VIEW REP_DATABASE_DEFS AS SELECT DISTINCT DBDNAM DATABASE_NAME, SRCNAM DEF_SOURCE, SUBJ_NAME SUBJECT_AREA, NULL VERSION_ID, OPB_DBD.VERSION_NUMBER DATABASE_VERSION_NUMBER FROM OPB_DBD, OPB_SUBJECT, OPB_SRC WHERE OPB_DBD.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 CREATE VIEW REP_SRC_FILES AS SELECT SRC_ID FILE_ID, SUBJ_NAME SUBJECT_AREA, DBTYPE_NAME DATABASE_TYPE, DBDNAM DATABASE_NAME, SOURCE_NAME FILE_NAME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:72/334
Last modification: 3/12/2010 5:51:38 PM

FILE_NAME SCHEMA_FILE_NAME, SELID SELECT_INFO_ID, FDSIZ DISPLAY_SIZE, PFDSIZ PHYSICAL_SIZE, PFDSIZ_MIN MIN_PHYSICAL_SIZE, FLDID FIRST_FIELD_ID, SRC_DESC SOURCE_DESCRIPTION, NULL VERSION_ID, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER FROM OPB_SRC, OPB_SUBJECT, OPB_DBD, OPB_MMD_DBTYPE WHERE OPB_SRC.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SUBJECT.SUBJ_ID = OPB_DBD.SUBJ_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_DBD.SRCTYPE = 1 AND OPB_SRC.FILE_NAME != '$EXPORTED' AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 CREATE VIEW REP_SRC_TBLS AS SELECT SOURCE_NAME TABLE_NAME, OPB_SRC.BUSINESS_NAME TABLE_BUSNAME, SRC_ID TABLE_ID, SUBJ_NAME SUBJECT_AREA, DBTYPE_NAME DATABASE_TYPE, DBDNAM DATABASE_NAME, FILE_NAME SCHEMA_NAME, FLDID FIRST_FIELD_ID, SRC_DESC SOURCE_DESCRIPTION, NULL VERSION_ID, NULL VERSION_NAME, LAST_SAVED, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_SUBJECT.SUBJ_ID SUBJECT_ID FROM OPB_SRC, OPB_SUBJECT, OPB_DBD, OPB_MMD_DBTYPE WHERE OPB_SRC.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SUBJECT.SUBJ_ID = OPB_DBD.SUBJ_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_DBD.SRCTYPE = 2 AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 CREATE VIEW REP_SRC_FILE_FLDS AS SELECT OPB_SRC_FLD.FLDID FIELD_ID, SUBJ_NAME SUBJECT_AREA, OPB_SRC_FLD.SRC_ID FILE_ID, SRC_NAME FIELD_NAME, FLDLVL FIELD_LEVEL, OPB_SRC_FLD.FLDNO FIELD_NUMBER, OPB_SRC_FLD.SRC_DESC FIELD_DESCRIPTION, PICTXT PICTURE_TEXT, OCCTIMES OCCURS, REDFNAME REDEFINES_FIELD, KEYTYPE_NAME KEY_TYPE, OFFS DISPLAY_OFFSET,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:73/334
Last modification: 3/12/2010 5:51:38 PM

LEN DISPLAY_LENGTH, POFFS PHYSICAL_OFFSET, PLEN PHYSICAL_LENGTH, REP_PIC_USAGE.USAGE_NAME USAGE_TYPE, OPB_PICDSC.SRC_PREC DATA_PRECISION, OPB_PICDSC.SRC_SCALE DATA_SCALE, OPB_SRC_FLD.NXTCHLDID CHILD_ID, OPB_SRC_FLD.NXTSIBID SIBLING_ID, NULL VERSION_ID, OPB_SRC.VERSION_NUMBER SRC_VERSION_NUMBER FROM OPB_SRC, OPB_SRC_FLD, REP_PIC_USAGE, OPB_PICDSC, OPB_SUBJECT, REP_SRC_KEY_TYPES, OPB_DBD, OPB_MMD_DBTYPE WHERE OPB_SUBJECT.SUBJ_ID = OPB_SRC.SUBJ_ID AND OPB_SRC.SUBJ_ID = OPB_DBD.SUBJ_ID AND OPB_SRC_FLD.PICID = OPB_PICDSC.PICID AND MOD(OPB_PICDSC.PIC_USAGE, 16) = REP_PIC_USAGE.USAGE_NUM AND OPB_SRC.SRC_ID = OPB_SRC_FLD.SRC_ID AND OPB_SRC_FLD.KEYTYPE = REP_SRC_KEY_TYPES.KEYTYPE_NUM AND OPB_SRC.FILE_NAME != '$EXPORTED' AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_DBD.SRCTYPE = 1 AND OPB_SRC_FLD.IS_HIDDEN = 0 AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_PICDSC.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_SRC_FLD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 CREATE VIEW REP_SRC_TBL_FLDS AS SELECT SRC_NAME COLUMN_NAME, OPB_SRC_FLD.BUSINESS_NAME COLUMN_BUSNAME, OPB_SRC_FLD.FLDID COLUMN_ID, SUBJ_NAME SUBJECT_AREA, OPB_SRC_FLD.SRC_ID TABLE_ID, OPB_SRC.SOURCE_NAME TABLE_NAME, OPB_SRC.BUSINESS_NAME TABLE_BUSNAME, OPB_SRC_FLD.FLDNO COLUMN_NUMBER, OPB_SRC_FLD.SRC_DESC COLUMN_DESCRIPTION, KEYTYPE_NAME KEY_TYPE, REP_FLD_DATATYPE.DTYPE_NAME SOURCE_TYPE, OPB_PICDSC.SRC_PREC DATA_PRECISION, OPB_PICDSC.SRC_SCALE DATA_SCALE, OPB_SRC_FLD.NXTSIBID NEXT_COLUMN_ID, NULL VERSION_ID, NULL VERSION_NAME, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER FROM OPB_SRC, OPB_SRC_FLD, OPB_PICDSC, OPB_SUBJECT, REP_SRC_KEY_TYPES, OPB_DBD, OPB_MMD_DBTYPE, REP_FLD_DATATYPE WHERE OPB_SUBJECT.SUBJ_ID = OPB_SRC.SUBJ_ID AND OPB_SRC.SUBJ_ID = OPB_DBD.SUBJ_ID AND OPB_SRC.SRC_ID = OPB_SRC_FLD.SRC_ID AND OPB_SRC_FLD.PICID = OPB_PICDSC.PICID AND OPB_SRC_FLD.KEYTYPE = REP_SRC_KEY_TYPES.KEYTYPE_NUM

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:74/334
Last modification: 3/12/2010 5:51:38 PM

AND AND AND AND AND AND AND AND AND AND

OPB_SRC.DBDID = OPB_DBD.DBDID OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID OPB_DBD.SRCTYPE = 2 OPB_PICDSC.SRC_NTYPE = REP_FLD_DATATYPE.DTYPE_NUM OPB_SRC_FLD.IS_HIDDEN = 0 OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER OPB_SRC.VERSION_NUMBER = OPB_SRC_FLD.VERSION_NUMBER OPB_SRC.VERSION_NUMBER = OPB_PICDSC.VERSION_NUMBER OPB_SRC.VERSION_NUMBER = OPB_SRC_FLD.VERSION_NUMBER OPB_SRC.IS_VISIBLE = 1

CREATE VIEW REP_SEG_FLDS AS SELECT * FROM REP_SRC_FILE_FLDS CREATE VIEW REP_TARG_TBLS AS SELECT SUBJ_NAME SUBJECT_AREA, TARGET_NAME TABLE_NAME, OPB_TARG.BUSINESS_NAME BUSNAME, NULL VERSION_ID, NULL VERSION_NAME, OPB_TARG.TARGET_DESC DESCRIPTION, OPB_TARG.FLDID FIRST_COLUMN_ID, CONSTR TABLE_CONSTRAINT, TBL_OPTIONS CREATE_OPTIONS, INDEXID FIRST_INDEX_ID, LAST_SAVED, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER, OPB_TARG.TARGET_ID TABLE_ID, OPB_SUBJECT.SUBJ_ID SUBJECT_ID FROM OPB_SUBJECT, OPB_TARG WHERE OPB_SUBJECT.SUBJ_ID = OPB_TARG.SUBJ_ID AND OPB_TARG.IS_VISIBLE = 1 CREATE VIEW REP_TARG_TBL_COLS AS SELECT SUBJ_NAME SUBJECT_AREA, OPB_TARG.TARGET_NAME TABLE_NAME, OPB_TARG.BUSINESS_NAME TABLE_BUSNAME, OPB_TARG_FLD.TARGET_NAME COLUMN_NAME, OPB_TARG_FLD.BUSINESS_NAME COLUMN_BUSNAME, OPB_TARG_FLD.FLDNO COLUMN_NUMBER, OPB_TARG_FLD.FLDID COLUMN_ID, NULL VERSION_ID, NULL VERSION_NAME, OPB_TARG_FLD.TARGET_DESC DESCRIPTION, KEYTYPE_NAME COLUMN_KEYTYPE, REP_FLD_DATATYPE.DTYPE_NAME DATA_TYPE, REP_FLD_DATATYPE.DTYPE_GROUP_CODE DATA_TYPE_GROUP, DPREC DATA_PRECISION, DSCALE DATA_SCALE, NXTFLDID NEXT_COLUMN_ID, NULLTYPE IS_NULLABLE, DFLDID SOURCE_COLUMN_ID, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER FROM OPB_TARG_FLD, OPB_TARG, OPB_SUBJECT, REP_FLD_DATATYPE, REP_TARG_KEY_TYPES WHERE OPB_TARG_FLD.TARGET_ID = OPB_TARG.TARGET_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:75/334
Last modification: 3/12/2010 5:51:38 PM

AND AND AND AND AND

OPB_SUBJECT.SUBJ_ID = OPB_TARG.SUBJ_ID OPB_TARG_FLD.NDTYPE = REP_FLD_DATATYPE.DTYPE_NUM KEYTYPE = REP_TARG_KEY_TYPES.KEYTYPE_NUM OPB_TARG.VERSION_NUMBER = OPB_TARG_FLD.VERSION_NUMBER OPB_TARG.IS_VISIBLE = 1

CREATE VIEW REP_TARG_MAPPING AS SELECT OPB_TARG.TARGET_NAME TARGET_NAME, OPB_TARG.BUSINESS_NAME TARG_BUSNAME, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, NULL VERSION_ID, NULL VERSION_NAME, SRCFILTER SOURCE_FILTER, CONDFILTER CONDITIONAL_LOAD, GROUP_BY GROUP_BY_CLAUSE, SQLOVERRIDE SQL_OVERRIDE, OPB_WIDGET_INST.COMMENTS DESCRIPTION, OPB_MAPPING.COMMENTS MAPPING_COMMENT, OPB_MAPPING.LAST_SAVED MAPPING_LAST_SAVED, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER FROM OPB_TARG, OPB_SUBJECT, OPB_MAPPING, OPB_TDS, OPB_WIDGET_INST, OPB_TARG_TBL_EXPR WHERE OPB_TDS.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = OPB_WIDGET_INST.MAPPING_ID AND OPB_WIDGET_INST.WIDGET_TYPE = 2 AND OPB_WIDGET_INST.WIDGET_ID = OPB_TARG.TARGET_ID AND OPB_TDS.TARGET_INSTANCE_ID = OPB_WIDGET_INST.INSTANCE_ID AND OPB_TARG.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TARG_TBL_EXPR.MAPPING_ID = OPB_WIDGET_INST.MAPPING_ID AND OPB_TARG_TBL_EXPR.TARGET_INST_ID = OPB_WIDGET_INST.INSTANCE_ID AND OPB_MAPPING.REF_WIDGET_ID = 0 AND OPB_MAPPING.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TDS.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TARG_TBL_EXPR.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_TARG.IS_VISIBLE = 1 CREATE VIEW REP_TARG_FLD_MAP AS SELECT OPB_TARG_FLD.TARGET_NAME TARGET_COLUMN_NAME, OPB_TARG_FLD.BUSINESS_NAME TARG_COL_BUSNAME, OPB_TARG.TARGET_NAME TARGET_NAME, OPB_TARG.BUSINESS_NAME TARG_BUSNAME, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_MAPPING.MAPPING_NAME, OPB_TARG.VERSIONID VERSION_ID, NULL VERSION_NAME, TRANS_EXPR TRANS_EXPRESSION, OPB_TARG_FLD_EXPR.USER_COMMENT USER_COMMENT, OPB_TARG_FLD_EXPR.USER_COMMENT DBA_COMMENT,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:76/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MAPPING.COMMENTS MAPPING_COMMENT, OPB_MAPPING.LAST_SAVED MAPPING_LAST_SAVED, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER FROM OPB_SUBJECT, OPB_MAPPING, OPB_TARG, OPB_TARG_FLD, OPB_TDS, OPB_WIDGET_INST, OPB_WIDGET_DEP, OPB_TARG_FLD_EXPR WHERE OPB_TARG_FLD.TARGET_ID = OPB_TARG.TARGET_ID AND OPB_TDS.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = OPB_WIDGET_INST.MAPPING_ID AND OPB_WIDGET_INST.WIDGET_TYPE = 2 AND OPB_WIDGET_INST.WIDGET_ID = OPB_TARG.TARGET_ID AND OPB_TDS.TARGET_INSTANCE_ID = OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.TO_INSTANCE_ID = OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.TO_FIELD_ID = OPB_TARG_FLD.FLDID AND OPB_TARG.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TARG_FLD_EXPR.MAPPING_ID = OPB_WIDGET_INST.MAPPING_ID AND OPB_TARG_FLD_EXPR.TARGET_INST_ID = OPB_WIDGET_INST.INSTANCE_ID AND OPB_TARG_FLD_EXPR.TARGET_FLD = OPB_TARG_FLD.FLDID AND OPB_MAPPING.REF_WIDGET_ID = 0 AND OPB_MAPPING.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TDS.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TARG_FLD_EXPR.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND OPB_TARG.VERSION_NUMBER = OPB_TARG_FLD.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_TARG.IS_VISIBLE = 1 CREATE VIEW REP_FLD_MAPPING AS SELECT OPB_SRC_FLD.SRC_NAME SOURCE_FIELD_NAME, OPB_SRC_FLD.BUSINESS_NAME SRC_FLD_BUSNAME, OPB_SRC.SOURCE_NAME SOURCE_NAME, OPB_SRC.BUSINESS_NAME SRC_BUSNAME, OPB_TARG_FLD.TARGET_NAME TARGET_COLUMN_NAME, OPB_TARG_FLD.BUSINESS_NAME TARG_COL_BUSNAME, OPB_TARG.TARGET_NAME TARGET_NAME, OPB_TARG.BUSINESS_NAME TARG_BUSNAME, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, MAPPING_NAME, NULL VERSION_ID, NULL VERSION_NAME, OPB_TARG_FLD_EXPR.TRANS_EXPR TRANS_EXPRESSION, OPB_TARG_FLD_EXPR.USER_COMMENT USER_COMMENT, OPB_TARG_FLD_EXPR.USER_COMMENT DBA_COMMENT, OPB_MAPPING.COMMENTS MAPPING_COMMENT, OPB_MAPPING.LAST_SAVED MAPPING_LAST_SAVED, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER, OPB_SRC.SRC_ID SOURCE_ID, OPB_TARG.TARGET_ID, OPB_MAPPING.MAPPING_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:77/334
Last modification: 3/12/2010 5:51:38 PM

FROM

OPB_SUBJECT, OPB_MAPPING, OPB_SRC, OPB_SRC_FLD, OPB_TARG, OPB_TARG_FLD, OPB_ANALYZE_DEP DEPENDENCY, OPB_WIDGET_INST FROMINSTANCES, OPB_WIDGET_INST TOINSTANCES, OPB_TARG_FLD_EXPR WHERE OPB_SUBJECT.SUBJ_ID = OPB_MAPPING.SUBJECT_ID AND OPB_MAPPING.MAPPING_ID = DEPENDENCY.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = FROMINSTANCES.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = TOINSTANCES.MAPPING_ID AND DEPENDENCY.MAPPING_ID = FROMINSTANCES.MAPPING_ID AND DEPENDENCY.MAPPING_ID = TOINSTANCES.MAPPING_ID AND OPB_TARG.TARGET_ID = TOINSTANCES.WIDGET_ID AND TOINSTANCES.WIDGET_TYPE = 2 AND OPB_TARG_FLD.TARGET_ID = OPB_TARG.TARGET_ID AND OPB_TARG_FLD.FLDID = DEPENDENCY.TO_FIELD_ID AND TOINSTANCES.INSTANCE_ID = DEPENDENCY.TO_INSTANCE_ID AND OPB_SRC.SRC_ID = FROMINSTANCES.WIDGET_ID AND FROMINSTANCES.WIDGET_TYPE = 1 AND OPB_SRC_FLD.SRC_ID = OPB_SRC.SRC_ID AND OPB_SRC_FLD.FLDID = DEPENDENCY.FROM_FIELD_ID AND FROMINSTANCES.INSTANCE_ID = DEPENDENCY.FROM_INSTANCE_ID AND OPB_TARG_FLD_EXPR.MAPPING_ID = TOINSTANCES.MAPPING_ID AND OPB_TARG_FLD_EXPR.TARGET_INST_ID = TOINSTANCES.INSTANCE_ID AND OPB_TARG_FLD_EXPR.TARGET_FLD = OPB_TARG_FLD.FLDID AND OPB_SRC_FLD.IS_HIDDEN = 0 AND OPB_MAPPING.REF_WIDGET_ID = 0 AND OPB_MAPPING.VERSION_NUMBER = TOINSTANCES.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = FROMINSTANCES.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = DEPENDENCY.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TARG_FLD_EXPR.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_SRC_FLD.VERSION_NUMBER AND OPB_TARG.VERSION_NUMBER = OPB_TARG_FLD.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_SRC.IS_VISIBLE = 1 AND OPB_TARG.IS_VISIBLE = 1 CREATE VIEW REP_SRC_MAPPING AS SELECT OPB_SRC.SOURCE_NAME, OPB_SRC.SRC_ID SOURCE_ID, OPB_SRC.BUSINESS_NAME SRC_BUSNAME, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME, OPB_MAPPING.MAPPING_ID, NULL VERSION_ID, NULL VERSION_NAME, OPB_MAPPING.COMMENTS MAPPING_COMMENT, OPB_MAPPING.LAST_SAVED MAPPING_LAST_SAVED, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER FROM OPB_SRC, OPB_SUBJECT, OPB_MAPPING, OPB_DBDS, OPB_DBD WHERE OPB_SUBJECT.SUBJ_ID = OPB_MAPPING.SUBJECT_ID AND OPB_MAPPING.MAPPING_ID = OPB_DBDS.MAPPING_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:78/334
Last modification: 3/12/2010 5:51:38 PM

AND AND AND AND AND AND AND

OPB_DBD.DBDID = OPB_DBDS.DBD_ID OPB_DBD.ROOTID = OPB_SRC.SRC_ID OPB_MAPPING.REF_WIDGET_ID = 0 OPB_MAPPING.VERSION_NUMBER = OPB_DBDS.VERSION_NUMBER OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER OPB_MAPPING.IS_VISIBLE = 1 OPB_SRC.IS_VISIBLE = 1

CREATE VIEW REP_SRC_FLD_MAP AS SELECT SOURCE_FIELD_NAME, SRC_FLD_BUSNAME, SOURCE_NAME, SRC_BUSNAME, SUBJECT_AREA, MAPPING_NAME, VERSION_ID, VERSION_NAME, TRANS_EXPRESSION, USER_COMMENT, DBA_COMMENT, MAPPING_COMMENT, MAPPING_LAST_SAVED, SOURCE_VERSION_NUMBER, TARGET_VERSION_NUMBER FROM REP_FLD_MAPPING CREATE VIEW REP_TBL_MAPPING AS SELECT OPB_SRC.SOURCE_NAME, OPB_SRC.SRC_ID SOURCE_ID, OPB_SRC.BUSINESS_NAME SRC_BUSNAME, OPB_TARG.TARGET_NAME, OPB_TARG.TARGET_ID, OPB_TARG.BUSINESS_NAME TARG_BUSNAME, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME, OPB_MAPPING.MAPPING_ID, NULL VERSION_ID, NULL VERSION_NAME, SRCFILTER SOURCE_FILTER, CONDFILTER CONDITIONAL_LOAD, GROUP_BY GROUP_BY_CLAUSE, SQLOVERRIDE SQL_OVERRIDE, TARGET_INSTANCES.COMMENTS DESCRIPTION, OPB_MAPPING.COMMENTS MAPPING_COMMENT, OPB_MAPPING.LAST_SAVED MAPPING_LAST_SAVED, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER FROM OPB_SRC, OPB_TARG, OPB_SUBJECT, OPB_MAPPING, OPB_DBDS, OPB_DBD, OPB_TDS, OPB_WIDGET_INST TARGET_INSTANCES, OPB_WIDGET_INST SOURCE_INSTANCES,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:79/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MAP_TARG_INFO, OPB_TARG_TBL_EXPR WHERE OPB_SUBJECT.SUBJ_ID = OPB_MAPPING.SUBJECT_ID AND OPB_MAPPING.MAPPING_ID = OPB_TDS.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = TARGET_INSTANCES.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = SOURCE_INSTANCES.MAPPING_ID AND OPB_MAPPING.MAPPING_ID = OPB_MAP_TARG_INFO.MAPPING_ID AND OPB_TDS.TARGET_INSTANCE_ID = TARGET_INSTANCES.INSTANCE_ID AND TARGET_INSTANCES.WIDGET_TYPE = 2 AND TARGET_INSTANCES.WIDGET_ID = OPB_TARG.TARGET_ID AND OPB_MAP_TARG_INFO.TARGET_INSTANCE_ID = TARGET_INSTANCES.INSTANCE_ID AND SOURCE_INSTANCES.WIDGET_TYPE = 1 AND OPB_MAP_TARG_INFO.OBJECT_INSTANCE_ID = SOURCE_INSTANCES.INSTANCE_ID AND OPB_MAP_TARG_INFO.OBJECT_TYPE = 1 AND OPB_MAP_TARG_INFO.TARGET_OBJECT_TYPE = 2 AND OPB_SRC.SRC_ID = SOURCE_INSTANCES.WIDGET_ID AND OPB_MAPPING.MAPPING_ID = OPB_DBDS.MAPPING_ID AND OPB_DBD.DBDID = OPB_DBDS.DBD_ID AND OPB_DBD.ROOTID = OPB_SRC.SRC_ID AND OPB_TARG_TBL_EXPR.MAPPING_ID = TARGET_INSTANCES.MAPPING_ID AND OPB_TARG_TBL_EXPR.TARGET_INST_ID = TARGET_INSTANCES.INSTANCE_ID AND OPB_MAPPING.REF_WIDGET_ID = 0 AND OPB_MAPPING.VERSION_NUMBER = SOURCE_INSTANCES.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = TARGET_INSTANCES.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TDS.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_MAP_TARG_INFO.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_TARG_TBL_EXPR.VERSION_NUMBER AND OPB_MAPPING.VERSION_NUMBER = OPB_DBDS.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_SRC.IS_VISIBLE = 1 AND OPB_TARG.IS_VISIBLE = 1 CREATE VIEW REP_TARG_TBL_JOINS AS SELECT S.SUBJ_NAME SUBJECT_AREA, NULL VERSION_ID, NULL VERSION_NAME, T1.TARGET_NAME TABLE1_NAME, T1.BUSINESS_NAME TABLE1_BUSNAME, T1.TARGET_ID TABLE1_ID, F1.TARGET_NAME COLUMN1_NAME, F1.BUSINESS_NAME COLUMN1_BUSNAME, F1.FLDNO COLUMN1_NUMBER, F1.FLDID COLUMN1_ID, T2.TARGET_NAME TABLE2_NAME, T2.BUSINESS_NAME TABLE2_BUSNAME, T2.TARGET_ID TABLE2_ID, F2.TARGET_NAME COLUMN2_NAME, F2.BUSINESS_NAME COLUMN2_BUSNAME, F2.FLDNO COLUMN2_NUMBER, F2.FLDID COLUMN2_ID, T1.VERSION_NUMBER TABLE1_VERSION_NUMBER, T2.VERSION_NUMBER TABLE2_VERSION_NUMBER FROM OPB_TARG_FLD F1, OPB_TARG T1, OPB_TARG_FLD F2,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:80/334
Last modification: 3/12/2010 5:51:38 PM

WHERE AND AND AND AND AND AND AND AND

OPB_TARG T2, OPB_SUBJECT S F2.REFPRIKEYID = F1.FLDID T1.TARGET_ID = F1.TARGET_ID T2.TARGET_ID = F2.TARGET_ID T2.SUBJ_ID = T1.SUBJ_ID T2.SUBJ_ID = S.SUBJ_ID T1.VERSION_NUMBER = F1.VERSION_NUMBER T2.VERSION_NUMBER = F2.VERSION_NUMBER T1.IS_VISIBLE = 1 T2.IS_VISIBLE = 1

CREATE VIEW REP_WORKFLOWS AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, OPB_SCHEDULER.SCHEDULER_NAME, OPB_SCHEDULER.START_TIME, OPB_SCHEDULER.END_TIME, OPB_SCHEDULER.IS_RUN_ON_LIMIT, OPB_SCHEDULER.RUN_OPTIONS, OPB_SCHEDULER.END_OPTIONS, OPB_SCHEDULER.DELTA_VALUE, OPB_SCHEDULER.RUN_COUNT, OPB_SCHEDULER.SCHEDULER_ID, OPB_SCHEDULER.IS_REUSABLE SCHEDULER_IS_REUSABLE, OPB_SCHEDULER.COMMENTS SCHEDULER_COMMENTS, OPB_SCHEDULER.VERSION_NUMBER SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SERVER_INFO.SERVER_NAME, OPB_SERVER_INFO.SERVER_ID, 1 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_SERVER_INFO, OPB_SCHEDULER, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SCHEDULER.IS_VISIBLE = 1 AND OPB_WORKFLOW.SCHEDULER_ID = OPB_SCHEDULER.SCHEDULER_ID AND OPB_WORKFLOW.SERVER_ID = OPB_SERVER_INFO.SERVER_ID AND OPB_SERVER_INFO.SERVER_TYPE = 41 AND (OPB_TASK.IS_INVALIDATED = 1 OR EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:81/334
Last modification: 3/12/2010 5:51:38 PM

AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, OPB_SCHEDULER.SCHEDULER_NAME, OPB_SCHEDULER.START_TIME, OPB_SCHEDULER.END_TIME, OPB_SCHEDULER.IS_RUN_ON_LIMIT, OPB_SCHEDULER.RUN_OPTIONS, OPB_SCHEDULER.END_OPTIONS, OPB_SCHEDULER.DELTA_VALUE, OPB_SCHEDULER.RUN_COUNT, OPB_SCHEDULER.SCHEDULER_ID, OPB_SCHEDULER.IS_REUSABLE SCHEDULER_IS_REUSABLE, OPB_SCHEDULER.COMMENTS SCHEDULER_COMMENTS, OPB_SCHEDULER.VERSION_NUMBER SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SERVER_INFO.SERVER_NAME, OPB_SERVER_INFO.SERVER_ID, 0 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_SERVER_INFO, OPB_SCHEDULER, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SCHEDULER.IS_VISIBLE = 1 AND OPB_WORKFLOW.SCHEDULER_ID = OPB_SCHEDULER.SCHEDULER_ID AND OPB_WORKFLOW.SERVER_ID = OPB_SERVER_INFO.SERVER_ID AND OPB_SERVER_INFO.SERVER_TYPE = 41 AND OPB_TASK.IS_INVALIDATED = 0 AND NOT EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:82/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, NULL SCHEDULER_NAME, NULL START_TIME, NULL END_TIME, 9999999 IS_RUN_ON_LIMIT, 0 RUN_OPTIONS, 0 END_OPTIONS, 0 DELTA_VALUE, 0 RUN_COUNT, 0 SCHEDULER_ID, 9999999 SCHEDULER_IS_REUSABLE, NULL SCHEDULER_COMMENTS, 0 SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SERVER_INFO.SERVER_NAME, OPB_SERVER_INFO.SERVER_ID, 1 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_SERVER_INFO, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_WORKFLOW.SERVER_ID = OPB_SERVER_INFO.SERVER_ID AND OPB_SERVER_INFO.SERVER_TYPE = 41 AND OPB_WORKFLOW.SCHEDULER_ID NOT IN (SELECT SCHEDULER_ID FROM OPB_SCHEDULER) AND (OPB_TASK.IS_INVALIDATED = 1 OR EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, NULL SCHEDULER_NAME, NULL START_TIME, NULL END_TIME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:83/334
Last modification: 3/12/2010 5:51:38 PM

9999999 IS_RUN_ON_LIMIT, 0 RUN_OPTIONS, 0 END_OPTIONS, 0 DELTA_VALUE, 0 RUN_COUNT, 0 SCHEDULER_ID, 9999999 SCHEDULER_IS_REUSABLE, NULL SCHEDULER_COMMENTS, 0 SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SERVER_INFO.SERVER_NAME, OPB_SERVER_INFO.SERVER_ID, 0 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_SERVER_INFO, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_WORKFLOW.SERVER_ID = OPB_SERVER_INFO.SERVER_ID AND OPB_SERVER_INFO.SERVER_TYPE = 41 AND OPB_WORKFLOW.SCHEDULER_ID NOT IN (SELECT SCHEDULER_ID FROM OPB_SCHEDULER) AND OPB_TASK.IS_INVALIDATED = 0 AND NOT EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, OPB_SCHEDULER.SCHEDULER_NAME, OPB_SCHEDULER.START_TIME, OPB_SCHEDULER.END_TIME, OPB_SCHEDULER.IS_RUN_ON_LIMIT, OPB_SCHEDULER.RUN_OPTIONS, OPB_SCHEDULER.END_OPTIONS, OPB_SCHEDULER.DELTA_VALUE, OPB_SCHEDULER.RUN_COUNT, OPB_SCHEDULER.SCHEDULER_ID, OPB_SCHEDULER.IS_REUSABLE SCHEDULER_IS_REUSABLE,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:84/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SCHEDULER.COMMENTS SCHEDULER_COMMENTS, OPB_SCHEDULER.VERSION_NUMBER SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL SERVER_NAME, 0 SERVER_ID, 1 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_SCHEDULER, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SCHEDULER.IS_VISIBLE = 1 AND OPB_WORKFLOW.SCHEDULER_ID = OPB_SCHEDULER.SCHEDULER_ID AND OPB_WORKFLOW.SERVER_ID NOT IN (SELECT SERVER_ID FROM OPB_SERVER_INFO WHERE SERVER_TYPE = 41) AND (OPB_TASK.IS_INVALIDATED = 1 OR EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, OPB_SCHEDULER.SCHEDULER_NAME, OPB_SCHEDULER.START_TIME, OPB_SCHEDULER.END_TIME, OPB_SCHEDULER.IS_RUN_ON_LIMIT, OPB_SCHEDULER.RUN_OPTIONS, OPB_SCHEDULER.END_OPTIONS, OPB_SCHEDULER.DELTA_VALUE, OPB_SCHEDULER.RUN_COUNT, OPB_SCHEDULER.SCHEDULER_ID, OPB_SCHEDULER.IS_REUSABLE SCHEDULER_IS_REUSABLE, OPB_SCHEDULER.COMMENTS SCHEDULER_COMMENTS, OPB_SCHEDULER.VERSION_NUMBER SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:85/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL SERVER_NAME, 0 SERVER_ID, 0 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_SCHEDULER, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SCHEDULER.IS_VISIBLE = 1 AND OPB_WORKFLOW.SCHEDULER_ID = OPB_SCHEDULER.SCHEDULER_ID AND OPB_WORKFLOW.SERVER_ID NOT IN (SELECT SERVER_ID FROM OPB_SERVER_INFO WHERE SERVER_TYPE = 41) AND OPB_TASK.IS_INVALIDATED = 0 AND NOT EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, NULL SCHEDULER_NAME, NULL START_TIME, NULL END_TIME, 9999999 IS_RUN_ON_LIMIT, 0 RUN_OPTIONS, 0 END_OPTIONS, 0 DELTA_VALUE, 0 RUN_COUNT, 0 SCHEDULER_ID, 9999999 SCHEDULER_IS_REUSABLE, NULL SCHEDULER_COMMENTS, 0 SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL SERVER_NAME, 0 SERVER_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:86/334
Last modification: 3/12/2010 5:51:38 PM

1 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_WORKFLOW.SCHEDULER_ID NOT IN (SELECT SCHEDULER_ID FROM OPB_SCHEDULER) AND OPB_WORKFLOW.SERVER_ID NOT IN (SELECT SERVER_ID FROM OPB_SERVER_INFO WHERE SERVER_TYPE = 41) AND (OPB_TASK.IS_INVALIDATED = 1 OR EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME WORKFLOW_NAME, NULL SCHEDULER_NAME, NULL START_TIME, NULL END_TIME, 9999999 IS_RUN_ON_LIMIT, 0 RUN_OPTIONS, 0 END_OPTIONS, 0 DELTA_VALUE, 0 RUN_COUNT, 0 SCHEDULER_ID, 9999999 SCHEDULER_IS_REUSABLE, NULL SCHEDULER_COMMENTS, 0 SCHEDULER_VERSION_NUMBER, OPB_TASK.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TASK.TASK_ID WORKFLOW_ID, OPB_TASK.SAVED_VALID WORKFLOW_IS_VALID, OPB_WORKFLOW.IS_SERVICE WORKFLOW_IS_SERVICE, OPB_WORKFLOW.IS_SVC_RUNNABLE WORKFLOW_IS_RUNNABLE_SERVICE, OPB_TASK.LAST_SAVED WORKFLOW_LAST_SAVED, OPB_TASK.COMMENTS WORKFLOW_COMMENTS, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL SERVER_NAME, 0 SERVER_ID, 0 WORKFLOW_IS_IMPACTED FROM OPB_TASK, OPB_WORKFLOW, OPB_SUBJECT WHERE OPB_WORKFLOW.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 71 AND OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:87/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK.VERSION_NUMBER = OPB_WORKFLOW.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_WORKFLOW.SCHEDULER_ID NOT IN (SELECT SCHEDULER_ID FROM OPB_SCHEDULER) AND OPB_WORKFLOW.SERVER_ID NOT IN (SELECT SERVER_ID FROM OPB_SERVER_INFO WHERE SERVER_TYPE = 41) AND OPB_TASK.IS_INVALIDATED = 0 AND NOT EXISTS (SELECT * FROM OPB_TASK_INST I, OPB_TASK T, OPB_VALIDATE V WHERE OPB_TASK.TASK_ID = I.WORKFLOW_ID AND OPB_TASK.VERSION_NUMBER = I.VERSION_NUMBER AND T.TASK_ID = I.TASK_ID AND T.TASK_TYPE = I.TASK_TYPE AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) CREATE VIEW REP_LOAD_SESSIONS AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME SESSION_NAME, OPB_TASK.LAST_SAVED LAST_SAVED, OPB_SESSION.SESSION_ID SESSION_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, 0 VERSION_ID, NULL VERSION_NAME, 0 IS_ACTIVE, NULL STARTTIME, 0 SESS_INTERVAL, 0 REPEAT_COUNT, NULL SESSION_LOG_FILE, NULL BAD_FILE_LOCATION, 0 TARGET_ID, 0 SOURCE_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_TASK.SAVED_VALID IS_VALID, OPB_TASK.IS_REUSABLE IS_REUSABLE, OPB_TASK.COMMENTS COMMENTS, OPB_MAPPING.MAPPING_ID MAPPING_ID, 1 IS_IMPACTED FROM OPB_TASK, OPB_MAPPING, OPB_SESSION, OPB_SUBJECT WHERE OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.TASK_ID = OPB_SESSION.SESSION_ID AND OPB_MAPPING.MAPPING_ID = OPB_SESSION.MAPPING_ID AND OPB_TASK.VERSION_NUMBER = OPB_SESSION.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_MAPPING.IS_VISIBLE = 1 AND (OPB_TASK.IS_INVALIDATED = 1 OR ( EXISTS (SELECT * FROM OPB_VALIDATE V WHERE V.SUBJECT_ID = OPB_MAPPING.SUBJECT_ID AND V.OBJECT_TYPE = 21

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:88/334
Last modification: 3/12/2010 5:51:38 PM

AND V.OBJECT_ID = OPB_MAPPING.MAPPING_ID AND V.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) OR ( EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_TASK T, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND T.TASK_TYPE = C.OBJECT_TYPE AND T.TASK_ID = C.REF_OBJ_ID AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) OR ( EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_SESSION_CONFIG G, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND C.OBJECT_TYPE = 72 AND G.CONFIG_ID = C.REF_OBJ_ID AND G.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = 72 AND V.OBJECT_ID = G.CONFIG_ID AND V.VERSION_NUMBER = G.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) OR ( EXISTS (SELECT * FROM OPB_VALIDATE V, OPB_WIDGET_INST I, OPB_SRC R WHERE I.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND I.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND I.WIDGET_TYPE = 1 AND R.SRC_ID = I.WIDGET_ID AND R.IS_VISIBLE <> 2 AND V.SUBJECT_ID = R.SUBJ_ID AND V.OBJECT_TYPE = I.WIDGET_TYPE AND V.OBJECT_ID = R.SRC_ID AND V.VERSION_NUMBER = R.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED AND V.INV_TYPE = 1)) OR ( EXISTS (SELECT * FROM OPB_VALIDATE V, OPB_WIDGET_INST I, OPB_TARG R WHERE I.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND I.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND I.WIDGET_TYPE = 2 AND R.TARGET_ID = I.WIDGET_ID AND R.IS_VISIBLE <> 2 AND V.SUBJECT_ID = R.SUBJ_ID AND V.OBJECT_TYPE = I.WIDGET_TYPE AND V.OBJECT_ID = R.TARGET_ID AND V.VERSION_NUMBER = R.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED AND V.INV_TYPE = 1))) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME SESSION_NAME, OPB_TASK.LAST_SAVED LAST_SAVED, OPB_SESSION.SESSION_ID SESSION_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:89/334
Last modification: 3/12/2010 5:51:38 PM

0 VERSION_ID, NULL VERSION_NAME, 0 IS_ACTIVE, NULL STARTTIME, 0 SESS_INTERVAL, 0 REPEAT_COUNT, NULL SESSION_LOG_FILE, NULL BAD_FILE_LOCATION, 0 TARGET_ID, 0 SOURCE_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_TASK.SAVED_VALID IS_VALID, OPB_TASK.IS_REUSABLE IS_REUSABLE, OPB_TASK.COMMENTS COMMENTS, OPB_MAPPING.MAPPING_ID MAPPING_ID, 0 IS_IMPACTED FROM OPB_TASK, OPB_MAPPING, OPB_SESSION, OPB_SUBJECT WHERE OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.TASK_ID = OPB_SESSION.SESSION_ID AND OPB_MAPPING.MAPPING_ID = OPB_SESSION.MAPPING_ID AND OPB_TASK.VERSION_NUMBER = OPB_SESSION.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_TASK.IS_INVALIDATED = 0 AND NOT EXISTS (SELECT * FROM OPB_VALIDATE V WHERE V.SUBJECT_ID = OPB_MAPPING.SUBJECT_ID AND V.OBJECT_TYPE = 21 AND V.OBJECT_ID = OPB_MAPPING.MAPPING_ID AND V.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) AND NOT EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_TASK T, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND T.TASK_TYPE = C.OBJECT_TYPE AND T.TASK_ID = C.REF_OBJ_ID AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) AND NOT EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_SESSION_CONFIG G, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND C.OBJECT_TYPE = 72 AND G.CONFIG_ID = C.REF_OBJ_ID AND G.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = 72 AND V.OBJECT_ID = G.CONFIG_ID AND V.VERSION_NUMBER = G.VERSION_NUMBER

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:90/334
Last modification: 3/12/2010 5:51:38 PM

AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) AND NOT EXISTS (SELECT * FROM OPB_VALIDATE V, OPB_WIDGET_INST I, OPB_SRC R WHERE I.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND I.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND I.WIDGET_TYPE = 1 AND R.SRC_ID = I.WIDGET_ID AND R.IS_VISIBLE <> 2 AND V.SUBJECT_ID = R.SUBJ_ID AND V.OBJECT_TYPE = I.WIDGET_TYPE AND V.OBJECT_ID = R.SRC_ID AND V.VERSION_NUMBER = R.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED AND V.INV_TYPE = 1) AND NOT EXISTS (SELECT * FROM OPB_VALIDATE V, OPB_WIDGET_INST I, OPB_TARG R WHERE I.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND I.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND I.WIDGET_TYPE = 2 AND R.TARGET_ID = I.WIDGET_ID AND R.IS_VISIBLE <> 2 AND V.SUBJECT_ID = R.SUBJ_ID AND V.OBJECT_TYPE = I.WIDGET_TYPE AND V.OBJECT_ID = R.TARGET_ID AND V.VERSION_NUMBER = R.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED AND V.INV_TYPE = 1) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME SESSION_NAME, OPB_TASK.LAST_SAVED LAST_SAVED, OPB_SESSION.SESSION_ID SESSION_ID, NULL MAPPING_NAME, 0 VERSION_ID, NULL VERSION_NAME, 0 IS_ACTIVE, NULL STARTTIME, 0 SESS_INTERVAL, 0 REPEAT_COUNT, NULL SESSION_LOG_FILE, NULL BAD_FILE_LOCATION, 0 TARGET_ID, 0 SOURCE_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, 0 MAPPING_VERSION_NUMBER, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_TASK.SAVED_VALID IS_VALID, OPB_TASK.IS_REUSABLE IS_REUSABLE, OPB_TASK.COMMENTS COMMENTS, 0 MAPPING_ID, 1 IS_IMPACTED FROM OPB_TASK, OPB_SESSION, OPB_SUBJECT WHERE OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.TASK_ID = OPB_SESSION.SESSION_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:91/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_TASK.VERSION_NUMBER = OPB_SESSION.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SESSION.MAPPING_ID NOT IN (SELECT MAPPING_ID FROM OPB_MAPPING WHERE OPB_MAPPING.MAPPING_ID = OPB_SESSION.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1) AND (OPB_TASK.IS_INVALIDATED = 1 OR ( EXISTS (SELECT * FROM OPB_VALIDATE V, OPB_MAPPING WHERE OPB_MAPPING.MAPPING_ID = OPB_SESSION.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE <> 2 AND V.SUBJECT_ID = OPB_MAPPING.SUBJECT_ID AND V.OBJECT_TYPE = 21 AND V.OBJECT_ID = OPB_MAPPING.MAPPING_ID AND V.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) OR ( EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_TASK T, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND T.TASK_TYPE = C.OBJECT_TYPE AND T.TASK_ID = C.REF_OBJ_ID AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED)) OR ( EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_SESSION_CONFIG G, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND C.OBJECT_TYPE = 72 AND G.CONFIG_ID = C.REF_OBJ_ID AND G.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = 72 AND V.OBJECT_ID = G.CONFIG_ID AND V.VERSION_NUMBER = G.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED))) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_TASK.TASK_NAME SESSION_NAME, OPB_TASK.LAST_SAVED LAST_SAVED, OPB_SESSION.SESSION_ID SESSION_ID, NULL MAPPING_NAME, 0 VERSION_ID, NULL VERSION_NAME, 0 IS_ACTIVE, NULL STARTTIME, 0 SESS_INTERVAL, 0 REPEAT_COUNT, NULL SESSION_LOG_FILE, NULL BAD_FILE_LOCATION, 0 TARGET_ID, 0 SOURCE_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, 0 MAPPING_VERSION_NUMBER, OPB_SUBJECT.SUBJ_ID SUBJECT_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:92/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK.SAVED_VALID IS_VALID, OPB_TASK.IS_REUSABLE IS_REUSABLE, OPB_TASK.COMMENTS COMMENTS, 0 MAPPING_ID, 0 IS_IMPACTED FROM OPB_TASK, OPB_SESSION, OPB_SUBJECT WHERE OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.TASK_ID = OPB_SESSION.SESSION_ID AND OPB_TASK.VERSION_NUMBER = OPB_SESSION.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SESSION.MAPPING_ID NOT IN (SELECT MAPPING_ID FROM OPB_MAPPING WHERE OPB_MAPPING.MAPPING_ID = OPB_SESSION.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1) AND OPB_TASK.IS_INVALIDATED = 0 AND NOT EXISTS (SELECT * FROM OPB_VALIDATE V, OPB_MAPPING WHERE OPB_MAPPING.MAPPING_ID = OPB_SESSION.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE <> 2 AND V.SUBJECT_ID = OPB_MAPPING.SUBJECT_ID AND V.OBJECT_TYPE = 21 AND V.OBJECT_ID = OPB_MAPPING.MAPPING_ID AND V.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) AND NOT EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_TASK T, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND T.TASK_TYPE = C.OBJECT_TYPE AND T.TASK_ID = C.REF_OBJ_ID AND T.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = T.TASK_TYPE AND V.OBJECT_ID = T.TASK_ID AND V.VERSION_NUMBER = T.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) AND NOT EXISTS (SELECT * FROM OPB_COMPONENT C, OPB_SESSION_CONFIG G, OPB_VALIDATE V WHERE C.WORKFLOW_ID = 0 AND C.TASK_ID = OPB_TASK.TASK_ID AND C.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND C.OBJECT_TYPE = 72 AND G.CONFIG_ID = C.REF_OBJ_ID AND G.IS_VISIBLE <> 2 AND V.OBJECT_TYPE = 72 AND V.OBJECT_ID = G.CONFIG_ID AND V.VERSION_NUMBER = G.VERSION_NUMBER AND V.INV_UTC > OPB_TASK.UTC_LAST_SAVED) CREATE VIEW REP_SESSION_CNXS AS SELECT DISTINCT B.SUBJ_NAME SUBJECT_AREA, B.SUBJ_ID SUBJECT_ID, A.TASK_NAME SESSION_NAME, A.TASK_ID SESSION_ID, (E.OBJECT_TYPE - 78) IS_TARGET, C.OBJECT_NAME CONNECTION_NAME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:93/334
Last modification: 3/12/2010 5:51:38 PM

D.REF_OBJECT_ID CONNECTION_ID, A.VERSION_NUMBER SESSION_VERSION_NUMBER FROM OPB_TASK A, OPB_SUBJECT B, OPB_CNX C, OPB_SESS_CNX_REFS D, OPB_SESS_EXTNS E WHERE A.SUBJECT_ID = B.SUBJ_ID AND A.TASK_TYPE = 68 AND A.IS_REUSABLE = 1 AND D.WORKFLOW_ID = 0 AND D.SESSION_INST_ID = 0 AND A.TASK_ID = D.SESSION_ID AND D.SESSION_ID = E.SESSION_ID AND D.SESS_WIDG_INST_ID = E.SESS_WIDG_INST_ID AND C.OBJECT_ID = D.REF_OBJECT_ID AND A.VERSION_NUMBER = D.VERSION_NUMBER AND D.VERSION_NUMBER = E.VERSION_NUMBER AND A.IS_VISIBLE = 1 CREATE VIEW REP_SESSION_INSTANCES AS SELECT DISTINCT F.SUBJ_NAME SUBJECT_AREA, F.SUBJ_ID SUBJECT_ID, A.TASK_NAME WORKFLOW_NAME, A.TASK_ID WORKFLOW_ID, B.INSTANCE_NAME SESSION_INSTANCE_NAME, B.INSTANCE_ID SESSION_INSTANCE_ID, B.TASK_ID SESSION_ID, (E.OBJECT_TYPE - 78) IS_TARGET, C.OBJECT_NAME CONNECTION_NAME, D.REF_OBJECT_ID CONNECTION_ID, A.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, G.VERSION_NUMBER SESSION_VERSION_NUMBER FROM OPB_TASK A, OPB_TASK_INST B, OPB_CNX C, OPB_SESS_CNX_REFS D, OPB_SESS_EXTNS E, OPB_SUBJECT F, OPB_TASK G WHERE A.SUBJECT_ID = F.SUBJ_ID AND A.TASK_ID = B.WORKFLOW_ID AND A.TASK_TYPE IN (70,71) AND B.TASK_TYPE = 68 AND B.TASK_ID = D.SESSION_ID AND D.SESSION_ID = E.SESSION_ID AND D.SESS_WIDG_INST_ID = E.SESS_WIDG_INST_ID AND C.OBJECT_ID = D.REF_OBJECT_ID AND A.VERSION_NUMBER = B.VERSION_NUMBER AND E.VERSION_NUMBER = D.VERSION_NUMBER AND A.IS_VISIBLE = 1 AND G.TASK_ID = E.SESSION_ID AND G.VERSION_NUMBER = E.VERSION_NUMBER AND G.IS_VISIBLE = 1 CREATE VIEW REP_SESS_LOG AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_TASK_INST_RUN.TASK_NAME SESSION_NAME, OPB_TASK_INST_RUN.TASK_ID SESSION_ID, OPB_TASK_INST_RUN.INSTANCE_NAME SESSION_INSTANCE_NAME, TARG_SUCCESS_ROWS SUCCESSFUL_ROWS,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:94/334
Last modification: 3/12/2010 5:51:38 PM

TARG_FAILED_ROWS FAILED_ROWS, SRC_SUCCESS_ROWS SUCCESSFUL_SOURCE_ROWS, SRC_FAILED_ROWS FAILED_SOURCE_ROWS, FIRST_ERROR_CODE, FIRST_ERROR_MSG, OPB_TASK_INST_RUN.RUN_ERR_CODE LAST_ERROR_CODE, OPB_TASK_INST_RUN.RUN_ERR_MSG LAST_ERROR, OPB_TASK_INST_RUN.RUN_STATUS_CODE, OPB_TASK_INST_RUN.START_TIME ACTUAL_START, OPB_TASK_INST_RUN.END_TIME SESSION_TIMESTAMP, OPB_SESS_TASK_LOG.LOG_FILE SESSION_LOG_FILE, ATTRDIR.ATTR_VALUE || ATTRFILE.ATTR_VALUE BAD_FILE_LOCATION, OPB_TASK_INST_RUN.VERSION_NUMBER TASK_VERSION_NUMBER, OPB_WFLOW_RUN.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_WFLOW_RUN.WORKFLOW_NAME WORKFLOW_NAME, OPB_SESS_TASK_LOG.MAPPING_NAME MAPPING_NAME, OPB_SESS_TASK_LOG.TOTAL_TRANS_ERRS TOTAL_ERR, OPB_SESS_TASK_LOG.WORKFLOW_ID, OPB_SESS_TASK_LOG.WORKFLOW_RUN_ID, OPB_SESS_TASK_LOG.WORKLET_RUN_ID, OPB_SESS_TASK_LOG.INSTANCE_ID FROM OPB_TASK_INST_RUN, OPB_SESS_TASK_LOG, OPB_WFLOW_RUN, OPB_SUBJECT, OPB_COMPONENT, OPB_CFG_ATTR ATTRFILE, OPB_CFG_ATTR ATTRDIR WHERE OPB_TASK_INST_RUN.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK_INST_RUN.WORKFLOW_ID = OPB_SESS_TASK_LOG.WORKFLOW_ID AND OPB_TASK_INST_RUN.WORKFLOW_RUN_ID = OPB_SESS_TASK_LOG.WORKFLOW_RUN_ID AND OPB_TASK_INST_RUN.WORKLET_RUN_ID = OPB_SESS_TASK_LOG.WORKLET_RUN_ID AND OPB_TASK_INST_RUN.INSTANCE_ID = OPB_SESS_TASK_LOG.INSTANCE_ID AND OPB_WFLOW_RUN.WORKFLOW_RUN_ID = OPB_SESS_TASK_LOG.WORKFLOW_RUN_ID AND OPB_WFLOW_RUN.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_COMPONENT.TASK_ID = OPB_TASK_INST_RUN.TASK_ID AND OPB_COMPONENT.REF_OBJ_TYPE = 1 AND OPB_COMPONENT.TASK_INST_ID = (SELECT MAX(C.TASK_INST_ID) FROM OPB_COMPONENT C WHERE C.TASK_ID = OPB_COMPONENT.TASK_ID AND C.REF_OBJ_TYPE = 1 AND (C.TASK_INST_ID = OPB_SESS_TASK_LOG.INSTANCE_ID OR C.TASK_INST_ID = 0)) AND ATTRDIR.CONFIG_ID = OPB_COMPONENT.REF_OBJ_ID AND ATTRDIR.CONFIG_TYPE = 72 AND ATTRDIR.ATTR_ID = 221 AND ATTRDIR.VERSION_NUMBER = OPB_COMPONENT.VERSION_NUMBER AND ATTRDIR.SESSION_ID = (SELECT MAX(A1.SESSION_ID) FROM OPB_CFG_ATTR A1 WHERE A1.CONFIG_ID = ATTRDIR.CONFIG_ID AND A1.CONFIG_TYPE = 72 AND A1.ATTR_ID = 221 AND A1.VERSION_NUMBER = ATTRDIR.VERSION_NUMBER AND (A1.SESSION_ID = OPB_TASK_INST_RUN.TASK_ID OR A1.SESSION_ID = 0)) AND ATTRDIR.SESSION_INST_ID = (SELECT MAX(A2.SESSION_INST_ID) FROM OPB_CFG_ATTR A2 WHERE A2.CONFIG_ID = ATTRDIR.CONFIG_ID AND A2.CONFIG_TYPE = 72 AND A2.ATTR_ID = 221 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:95/334
Last modification: 3/12/2010 5:51:38 PM

A2.VERSION_NUMBER = ATTRDIR.VERSION_NUMBER AND A2.SESSION_ID = ATTRDIR.SESSION_ID AND (A2.SESSION_INST_ID = OPB_SESS_TASK_LOG.INSTANCE_ID OR A2.SESSION_INST_ID = 0)) AND ATTRFILE.CONFIG_ID = OPB_COMPONENT.REF_OBJ_ID AND ATTRFILE.CONFIG_TYPE = 72 AND ATTRFILE.ATTR_ID = 222 AND ATTRFILE.VERSION_NUMBER = OPB_COMPONENT.VERSION_NUMBER AND ATTRFILE.SESSION_ID = (SELECT MAX(A1.SESSION_ID) FROM OPB_CFG_ATTR A1 WHERE A1.CONFIG_ID = ATTRFILE.CONFIG_ID AND A1.CONFIG_TYPE = 72 AND A1.ATTR_ID = 222 AND A1.VERSION_NUMBER = ATTRFILE.VERSION_NUMBER AND (A1.SESSION_ID = OPB_TASK_INST_RUN.TASK_ID OR A1.SESSION_ID = 0)) AND ATTRFILE.SESSION_INST_ID = (SELECT MAX(A2.SESSION_INST_ID) FROM OPB_CFG_ATTR A2 WHERE A2.CONFIG_ID = ATTRFILE.CONFIG_ID AND A2.CONFIG_TYPE = 72 AND A2.ATTR_ID = 222 AND A2.VERSION_NUMBER = ATTRFILE.VERSION_NUMBER AND A2.SESSION_ID = ATTRFILE.SESSION_ID AND (A2.SESSION_INST_ID = OPB_SESS_TASK_LOG.INSTANCE_ID OR A2.SESSION_INST_ID = 0)) CREATE VIEW REP_SESS_TBL_LOG AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, B.TASK_NAME SESSION_NAME, B.TASK_ID SESSION_ID, OPB_TASK_INST.INSTANCE_NAME SESSION_INSTANCE_NAME, OPB_TASK_INST.INSTANCE_ID SESSION_INSTANCE_ID, OPB_TASK_INST.WORKFLOW_ID, A.VERSION_NUMBER WORKFLOW_VERSION_NUMBER, OPB_TARG.TARGET_NAME TABLE_NAME, OPB_TARG.TARGET_ID TABLE_ID, OPB_TARG.VERSION_NUMBER TABLE_VERSION_NUMBER, BUSINESS_NAME TABLE_BUSNAME, OPB_SWIDGINST_LOG.INSTANCE_NAME TABLE_INSTANCE_NAME, APPLIED_ROWS SUCCESSFUL_ROWS, AFFECTED_ROWS SUCCESSFUL_AFFECTED_ROWS, REJECTED_ROWS FAILED_ROWS, LAST_ERR_MSG LAST_ERROR, LAST_ERR_CODE LAST_ERROR_CODE, START_TIME, END_TIME, NULL SESSION_TIMESTAMP, ATTRDIR.ATTR_VALUE || ATTRFILE.ATTR_VALUE AS BAD_FILE_LOCATION, B.VERSION_NUMBER SESSION_VERSION_NUMBER, OPB_SWIDGINST_LOG.PARTITION_NAME PARTITION_NAME, OPB_SWIDGINST_LOG.MAPPLET_INST_NAME MAPPLET_INSTANCE_NAME, OPB_SWIDGINST_LOG.WIDGET_NAME WIDGET_NAME, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME TYPE_NAME, OPB_SWIDGINST_LOG.GROUP_NAME GROUP_NAME, OPB_SWIDGINST_LOG.THRUPUT THROUGHPUT, OPB_SWIDGINST_LOG.WIDGET_TYPE TYPE_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:96/334
Last modification: 3/12/2010 5:51:38 PM

FROM OPB_SWIDGINST_LOG, OPB_SUBJECT, OPB_TASK_INST, OPB_SWIDGET_INST, OPB_TARG, OPB_TASK A, OPB_TASK B, OPB_OBJECT_TYPE, OPB_EXTN_ATTR ATTRDIR, OPB_EXTN_ATTR ATTRFILE, OPB_MAPPING M, OPB_WIDGET_INST W WHERE A.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND A.TASK_TYPE IN (70, 71) AND OPB_TASK_INST.WORKFLOW_ID = A.TASK_ID AND B.TASK_ID = OPB_SWIDGINST_LOG.SESSION_ID AND B.TASK_TYPE = 68 AND OPB_TASK_INST.INSTANCE_ID = OPB_SWIDGINST_LOG.TASK_INSTANCE_ID AND OPB_SWIDGINST_LOG.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_SWIDGINST_LOG.SESSWIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.MAPPING_ID = W.MAPPING_ID AND OPB_SWIDGET_INST.INSTANCE_ID = W.INSTANCE_ID AND M.MAPPING_ID = W.MAPPING_ID AND M.VERSION_NUMBER = W.VERSION_NUMBER AND W.WIDGET_TYPE = 2 AND W.WIDGET_ID = OPB_TARG.TARGET_ID AND M.IS_VISIBLE = 1 AND OPB_TARG.IS_VISIBLE = 1 AND OPB_SWIDGINST_LOG.WIDGET_TYPE = OPB_SWIDGET_INST.WIDGET_TYPE AND OPB_SWIDGINST_LOG.WIDGET_TYPE = 2 AND A.VERSION_NUMBER = OPB_TASK_INST.VERSION_NUMBER AND B.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND A.IS_VISIBLE = 1 AND B.IS_VISIBLE = 1 AND OPB_OBJECT_TYPE.OBJECT_TYPE_ID = OPB_SWIDGINST_LOG.WIDGET_TYPE AND ATTRDIR.OBJECT_TYPE = 79 AND ATTRFILE.OBJECT_TYPE = 79 AND ATTRDIR.OBJECT_SUBTYPE = ATTRFILE.OBJECT_SUBTYPE AND ((ATTRDIR.OBJECT_SUBTYPE = 1001 AND ATTRDIR.ATTR_ID = 1 AND ATTRFILE.ATTR_ID = 2) OR (ATTRDIR.OBJECT_SUBTYPE = 1000 AND ATTRDIR.ATTR_ID = 3 AND ATTRFILE.ATTR_ID = 4)) AND ATTRDIR.SESSION_ID = OPB_SWIDGINST_LOG.SESSION_ID AND ATTRDIR.SESS_WIDG_INST_ID = OPB_SWIDGINST_LOG.SESSWIDG_INST_ID AND ATTRDIR.VERSION_NUMBER = B.VERSION_NUMBER AND ATTRFILE.SESSION_ID = OPB_SWIDGINST_LOG.SESSION_ID AND ATTRFILE.SESS_WIDG_INST_ID = OPB_SWIDGINST_LOG.SESSWIDG_INST_ID AND ATTRFILE.VERSION_NUMBER = B.VERSION_NUMBER AND ATTRDIR.SESSION_INST_ID = (SELECT MAX(ATTRINST.SESSION_INST_ID) FROM OPB_EXTN_ATTR ATTRINST WHERE ATTRINST.SESSION_ID = ATTRDIR.SESSION_ID AND ATTRINST.SESS_WIDG_INST_ID = ATTRDIR.SESS_WIDG_INST_ID AND ATTRINST.VERSION_NUMBER = ATTRDIR.VERSION_NUMBER AND ATTRINST.ATTR_ID = ATTRDIR.ATTR_ID AND ATTRINST.OBJECT_TYPE = 79 AND ATTRINST.OBJECT_SUBTYPE = ATTRDIR.OBJECT_SUBTYPE AND (ATTRINST.SESSION_INST_ID = OPB_SWIDGINST_LOG.TASK_INSTANCE_ID OR ATTRINST.SESSION_INST_ID = 0)) AND ATTRFILE.SESSION_INST_ID = (SELECT MAX(ATTRINST.SESSION_INST_ID) FROM OPB_EXTN_ATTR ATTRINST

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:97/334
Last modification: 3/12/2010 5:51:38 PM

WHERE ATTRINST.SESSION_ID = ATTRFILE.SESSION_ID AND ATTRINST.SESS_WIDG_INST_ID = ATTRFILE.SESS_WIDG_INST_ID AND ATTRINST.VERSION_NUMBER = ATTRFILE.VERSION_NUMBER AND ATTRINST.ATTR_ID = ATTRFILE.ATTR_ID AND ATTRINST.OBJECT_TYPE = 79 AND ATTRINST.OBJECT_SUBTYPE = ATTRFILE.OBJECT_SUBTYPE AND (ATTRINST.SESSION_INST_ID = OPB_SWIDGINST_LOG.TASK_INSTANCE_ID OR ATTRINST.SESSION_INST_ID = 0)) CREATE VIEW REP_SESSION_FILES as SELECT SUBJ_NAME SUBJECT_AREA, TASK_NAME SESSION_NAME, (E.OBJECT_TYPE - 78) IS_TARGET, FILE_VALS.FILE_NAME FILE_NAME, FILE_VALS.DIR_NAME DIR_NAME, FILE_VALS.CODEPAGE CODE_PAGE, A.VERSION_NUMBER SESSION_VERSION_NUMBER FROM OPB_TASK A, OPB_SUBJECT B, OPB_SESS_EXTNS E, OPB_SESS_FILE_VALS FILE_VALS WHERE A.SUBJECT_ID = B.SUBJ_ID AND A.TASK_TYPE = 68 AND A.IS_REUSABLE = 1 AND E.SESSION_ID = A.TASK_ID and FILE_VALS.SESS_WIDG_INST_ID = E.SESS_WIDG_INST_ID and FILE_VALS.SESSION_ID = E.SESSION_ID and FILE_VALS.SESSION_INST_ID = 0 AND A.VERSION_NUMBER = E.VERSION_NUMBER AND A.VERSION_NUMBER = FILE_VALS.VERSION_NUMBER AND A.IS_VISIBLE = 1 CREATE VIEW REP_SESSION_INST_FILES as SELECT F.SUBJ_NAME SUBJECT_AREA, A.TASK_NAME WORKFLOW_NAME, B.INSTANCE_NAME SESSION_INSTANCE_NAME, (E.OBJECT_TYPE - 78) IS_TARGET, FILE_VALS.FILE_NAME FILE_NAME, FILE_VALS.DIR_NAME DIR_NAME, FILE_VALS.CODEPAGE CODE_PAGE, A.VERSION_NUMBER WORKFLOW_VERSION_NUMBER FROM OPB_TASK A, OPB_TASK_INST B, OPB_SESS_EXTNS E, OPB_SUBJECT F, OPB_SESS_FILE_VALS FILE_VALS, OPB_TASK G WHERE A.SUBJECT_ID = F.SUBJ_ID AND A.TASK_ID = B.WORKFLOW_ID AND A.TASK_TYPE IN (70,71) AND B.TASK_TYPE = 68 AND E.SESSION_ID = B.TASK_ID AND FILE_VALS.SESSION_ID = B.TASK_ID AND FILE_VALS.SESS_WIDG_INST_ID = E.SESS_WIDG_INST_ID AND FILE_VALS.SESSION_INST_ID = B.INSTANCE_ID AND A.VERSION_NUMBER = B.VERSION_NUMBER AND A.IS_VISIBLE = 1 AND G.TASK_ID = E.SESSION_ID AND G.VERSION_NUMBER = E.VERSION_NUMBER AND G.VERSION_NUMBER = FILE_VALS.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:98/334
Last modification: 3/12/2010 5:51:38 PM

G.IS_VISIBLE = 1 CREATE VIEW REP_ALL_SOURCES AS SELECT OPB_SUBJECT.SUBJ_NAME PARENT_SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SRC.SOURCE_NAME PARENT_SOURCE_NAME, OPB_SRC.BUSINESS_NAME PARENT_SOURCE_BUSINESS_NAME, OPB_SRC.SRC_ID PARENT_SOURCE_ID, OPB_SRC.SRC_DESC PARENT_SOURCE_DESCRIPTION, OPB_SRC.VERSION_NUMBER PARENT_SOURCE_VERSION_NUMBER, OPB_SRC.VERSION_STATUS PARENT_SOURCE_VERSION_STATUS, OPB_SRC.UTC_CHECKIN PARENT_SOURCE_UTC_CHECKIN, OPB_SRC.UTC_LAST_SAVED PARENT_SOURCE_UTC_LAST_SAVED, OPB_SRC.LAST_SAVED PARENT_SOURCE_LAST_SAVED, OPB_SRC.FILE_NAME PARENT_SOURCE_SCHEMA_NAME, OPB_SRC.FLDID PARENT_SOURCE_FIRST_FIELD_ID, OPB_SRC.SELID PARENT_SOURCE_SELECT_INFO_ID, OPB_SRC.FDSIZ PARENT_SOURCE_DISPLAY_SIZE, OPB_SRC.PFDSIZ PARENT_SOURCE_PHYSICAL_SIZE, OPB_SRC.PFDSIZ_MIN PARENT_SRC_MIN_PHYSICAL_SIZE, OPB_DBD.DBDNAM PARENT_SOURCE_DATABASE_NAME, OPB_DBD.SRCTYPE PARENT_SOURCE_TYPE, OPB_MMD_DBTYPE.DBTYPE_NAME PARENT_SOURCE_DATABASE_TYPE, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SRC.SOURCE_NAME SOURCE_NAME, OPB_SRC.SRC_ID SOURCE_ID, OPB_SRC.SRC_DESC SOURCE_DESCRIPTION, OPB_SRC.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_SRC.VERSION_STATUS SOURCE_VERSION_STATUS, OPB_SRC.UTC_CHECKIN SOURCE_UTC_CHECKIN, OPB_SRC.UTC_LAST_SAVED SOURCE_UTC_LAST_SAVED, OPB_SRC.LAST_SAVED SOURCE_LAST_SAVED, OPB_DBD.DBDNAM SOURCE_DATABASE_NAME, NULL REPOSITORY_NAME, 0 IS_SHORTCUT, 0 IS_GLOBAL_SHORTCUT FROM OPB_SUBJECT, OPB_SRC, OPB_DBD, OPB_MMD_DBTYPE WHERE OPB_SRC.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SUBJECT.SUBJ_ID = OPB_DBD.SUBJ_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 AND NOT EXISTS (SELECT '1' FROM OPB_SHORTCUT, OPB_SHORTCUT DBD WHERE OPB_SRC.SRC_ID = OPB_SHORTCUT.OBJECT_ID AND OPB_SRC.SUBJ_ID = OPB_SHORTCUT.SUBJECT_ID AND OPB_SHORTCUT.OBJECT_TYPE = 25 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.PARENT_ID = DBD.OBJECT_ID AND OPB_SHORTCUT.SUBJECT_ID = DBD.SUBJECT_ID AND OPB_SHORTCUT.VERSION_NUMBER = DBD.VERSION_NUMBER AND NOT (OPB_SHORTCUT.SHORTCUT_NAME = DBD.SHORTCUT_NAME)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:99/334
Last modification: 3/12/2010 5:51:38 PM

AND DBD.OBJECT_TYPE = 22) UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SRC.SOURCE_NAME PARENT_SOURCE_NAME, OPB_SRC.BUSINESS_NAME PARENT_SOURCE_BUSINESS_NAME, OPB_SRC.SRC_ID PARENT_SOURCE_ID, OPB_SRC.SRC_DESC PARENT_SOURCE_DESCRIPTION, OPB_SRC.VERSION_NUMBER PARENT_SOURCE_VERSION_NUMBER, OPB_SRC.VERSION_STATUS PARENT_SOURCE_VERSION_STATUS, OPB_SRC.UTC_CHECKIN PARENT_SOURCE_UTC_CHECKIN, OPB_SRC.UTC_LAST_SAVED PARENT_SOURCE_UTC_LAST_SAVED, OPB_SRC.LAST_SAVED PARENT_SOURCE_LAST_SAVED, OPB_SRC.FILE_NAME PARENT_SOURCE_SCHEMA_NAME, OPB_SRC.FLDID PARENT_SOURCE_FIRST_FIELD_ID, OPB_SRC.SELID PARENT_SOURCE_SELECT_INFO_ID, OPB_SRC.FDSIZ PARENT_SOURCE_DISPLAY_SIZE, OPB_SRC.PFDSIZ PARENT_SOURCE_PHYSICAL_SIZE, OPB_SRC.PFDSIZ_MIN PARENT_SRC_MIN_PHYSICAL_SIZE, OPB_DBD.DBDNAM PARENT_SOURCE_DATABASE_NAME, OPB_DBD.SRCTYPE PARENT_SOURCE_TYPE, OPB_MMD_DBTYPE.DBTYPE_NAME PARENT_SOURCE_DATABASE_TYPE, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME SOURCE_NAME, OPB_SHORTCUT.OBJECT_ID SOURCE_ID, OPB_SHORTCUT.COMMENTS SOURCE_DESCRIPTION, OPB_SHORTCUT.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS SOURCE_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN SOURCE_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED SOURCE_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME SOURCE_LAST_SAVED, DBD.SHORTCUT_NAME SOURCE_DATABASE_NAME, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_SHORTCUT, 0 IS_GLOBAL_SHORTCUT FROM OPB_SHORTCUT, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD, OPB_SRC, OPB_DBD, OPB_MMD_DBTYPE, OPB_SHORTCUT DBD WHERE OPB_SHORTCUT.SUBJECT_ID = CHILD.SUBJ_ID AND OPB_SHORTCUT.OBJECT_ID = OPB_SRC.SRC_ID AND OPB_SHORTCUT.OBJECT_TYPE = 25 AND OPB_SHORTCUT.REFERENCE_TYPE = 1 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SRC.SUBJ_ID = PARENT.SUBJ_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 AND OPB_SHORTCUT.PARENT_ID = DBD.OBJECT_ID AND OPB_SHORTCUT.SUBJECT_ID = DBD.SUBJECT_ID AND OPB_SHORTCUT.VERSION_NUMBER = DBD.VERSION_NUMBER AND NOT (OPB_SHORTCUT.SHORTCUT_NAME = DBD.SHORTCUT_NAME) AND DBD.OBJECT_TYPE = 22

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:100/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, NULL PARENT_SOURCE_NAME, NULL PARENT_SOURCE_BUSINESS_NAME, 0 PARENT_SOURCE_ID, NULL PARENT_SOURCE_DESCRIPTION, 0 PARENT_SOURCE_VERSION_NUMBER, 0 PARENT_SOURCE_VERSION_STATUS, 0 PARENT_SOURCE_UTC_CHECKIN, 0 PARENT_SOURCE_UTC_LAST_SAVED, NULL PARENT_SOURCE_LAST_SAVED, NULL PARENT_SOURCE_SCHEMA_NAME, 0 PARENT_SOURCE_FIRST_FIELD_ID, 0 PARENT_SOURCE_SELECT_INFO_ID, 0 PARENT_SOURCE_DISPLAY_SIZE, 0 PARENT_SOURCE_PHYSICAL_SIZE, 0 PARENT_SRC_MIN_PHYSICAL_SIZE, NULL PARENT_SOURCE_DATABASE_NAME, 0 PARENT_SOURCE_TYPE, NULL PARENT_SOURCE_DATABASE_TYPE, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME SOURCE_NAME, OPB_SHORTCUT.OBJECT_ID SOURCE_ID, OPB_SHORTCUT.COMMENTS SOURCE_DESCRIPTION, OPB_SHORTCUT.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS SOURCE_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN SOURCE_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED SOURCE_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME SOURCE_LAST_SAVED, DBD.SHORTCUT_NAME SOURCE_DATABASE_NAME, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_SHORTCUT, 1 IS_GLOBAL_SHORTCUT FROM OPB_SHORTCUT, OPB_SUBJECT, OPB_SHORTCUT DBD WHERE OPB_SHORTCUT.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.OBJECT_TYPE = 25 AND OPB_SHORTCUT.REFERENCE_TYPE = 2 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.PARENT_ID = DBD.OBJECT_ID AND OPB_SHORTCUT.SUBJECT_ID = DBD.SUBJECT_ID AND OPB_SHORTCUT.VERSION_NUMBER = DBD.VERSION_NUMBER AND NOT (OPB_SHORTCUT.SHORTCUT_NAME = DBD.SHORTCUT_NAME) AND DBD.OBJECT_TYPE = 22 CREATE VIEW REP_ALL_SOURCE_FLDS AS SELECT OPB_SUBJECT.SUBJ_NAME PARENT_SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SRC.SOURCE_NAME PARENT_SOURCE_NAME, OPB_SRC.BUSINESS_NAME PARENT_SOURCE_BUSINESS_NAME, OPB_SRC.SRC_ID PARENT_SOURCE_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:101/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SRC.SRC_DESC OPB_SRC.VERSION_NUMBER OPB_SRC.VERSION_STATUS OPB_SRC.UTC_CHECKIN OPB_SRC.UTC_LAST_SAVED OPB_SRC.LAST_SAVED OPB_DBD.SRCTYPE OPB_DBD.DBDNAM OPB_MMD_DBTYPE.DBTYPE_NAME OPB_SUBJECT.SUBJ_NAME OPB_SUBJECT.SUBJ_ID OPB_SRC.SOURCE_NAME OPB_SRC.SRC_ID OPB_SRC.SRC_DESC OPB_SRC.VERSION_NUMBER OPB_SRC.VERSION_STATUS OPB_SRC.UTC_CHECKIN OPB_SRC.UTC_LAST_SAVED OPB_SRC.LAST_SAVED OPB_DBD.DBDNAM OPB_SRC_FLD.SRC_NAME OPB_SRC_FLD.BUSINESS_NAME OPB_SRC_FLD.FLDID OPB_SRC_FLD.SRC_DESC OPB_SRC_FLD.FLDNO OPB_SRC_FLD.NXTSIBID OPB_SRC_FLD.FLDLVL OPB_SRC_FLD.PICTXT OPB_SRC_FLD.OCCTIMES OPB_SRC_FLD.REDFNAME OPB_SRC_FLD.OFFS OPB_SRC_FLD.LEN OPB_SRC_FLD.POFFS OPB_SRC_FLD.PLEN OPB_SRC_FLD.NXTCHLDID REP_SRC_KEY_TYPES.KEYTYPE_NAME REP_FLD_DATATYPE.DTYPE_NAME OPB_PICDSC.SRC_PREC OPB_PICDSC.SRC_SCALE REP_PIC_USAGE.USAGE_NAME OPB_SRC_FLD.NULLTYPE NULL 0 0 FROM

PARENT_SOURCE_DESCRIPTION, PARENT_SOURCE_VERSION_NUMBER, PARENT_SOURCE_VERSION_STATUS, PARENT_SOURCE_UTC_CHECKIN, PARENT_SOURCE_UTC_LAST_SAVED, PARENT_SOURCE_LAST_SAVED, PARENT_SOURCE_TYPE, PARENT_SOURCE_DATABASE_NAME, PARENT_SOURCE_DATABASE_TYPE, SUBJECT_AREA, SUBJECT_ID, SOURCE_NAME, SOURCE_ID, SOURCE_DESCRIPTION, SOURCE_VERSION_NUMBER, SOURCE_VERSION_STATUS, SOURCE_UTC_CHECKIN, SOURCE_UTC_LAST_SAVED, SOURCE_LAST_SAVED, SOURCE_DATABASE_NAME, SOURCE_FIELD_NAME, SOURCE_FIELD_BUSINESS_NAME, SOURCE_FIELD_ID, SOURCE_FIELD_DESCRIPTION, SOURCE_FIELD_NUMBER, SOURCE_FIELD_NEXT_FIELD_ID, SOURCE_FIELD_LEVEL, SOURCE_FIELD_PICTURE_TEXT, SOURCE_FIELD_OCCURS_TIMES, SOURCE_FIELD_REDEFINES_FIELD, SOURCE_FIELD_DISPLAY_OFFSET, SOURCE_FIELD_DISPLAY_LENGTH, SOURCE_FIELD_PHYSICAL_OFFSET, SOURCE_FIELD_PHYSICAL_LENGTH, SOURCE_FIELD_CHILD_FIELD_ID, SOURCE_FIELD_KEY_TYPE, SOURCE_FIELD_DATATYPE, SOURCE_FIELD_PRECISION, SOURCE_FIELD_SCALE, SOURCE_FIELD_PIC_USAGE_NAME, SOURCE_FIELD_NULLTYPE, REPOSITORY_NAME, IS_SHORTCUT, IS_GLOBAL_SHORTCUT

OPB_SUBJECT, OPB_SRC, OPB_DBD, OPB_MMD_DBTYPE, OPB_SRC_FLD, REP_FLD_DATATYPE, OPB_PICDSC, REP_SRC_KEY_TYPES, REP_PIC_USAGE WHERE OPB_SRC.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SRC.SUBJ_ID = OPB_DBD.SUBJ_ID AND OPB_SRC.SRC_ID = OPB_SRC_FLD.SRC_ID AND OPB_SRC_FLD.PICID = OPB_PICDSC.PICID AND OPB_SRC_FLD.KEYTYPE = REP_SRC_KEY_TYPES.KEYTYPE_NUM AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_SRC_FLD.IS_HIDDEN = 0

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:102/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_PICDSC.SRC_NTYPE = REP_FLD_DATATYPE.DTYPE_NUM AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_SRC_FLD.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_PICDSC.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 AND MOD(OPB_PICDSC.PIC_USAGE, 16) = REP_PIC_USAGE.USAGE_NUM AND NOT EXISTS (SELECT '1' FROM OPB_SHORTCUT, OPB_SHORTCUT DBD WHERE OPB_SRC.SRC_ID = OPB_SHORTCUT.OBJECT_ID AND OPB_SRC.SUBJ_ID = OPB_SHORTCUT.SUBJECT_ID AND OPB_SHORTCUT.OBJECT_TYPE = 25 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.PARENT_ID = DBD.OBJECT_ID AND OPB_SHORTCUT.SUBJECT_ID = DBD.SUBJECT_ID AND OPB_SHORTCUT.VERSION_NUMBER = DBD.VERSION_NUMBER AND NOT (OPB_SHORTCUT.SHORTCUT_NAME = DBD.SHORTCUT_NAME) AND DBD.OBJECT_TYPE = 22) UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SRC.SOURCE_NAME PARENT_SOURCE_NAME, OPB_SRC.BUSINESS_NAME PARENT_SOURCE_BUSINESS_NAME, OPB_SRC.SRC_ID PARENT_SOURCE_ID, OPB_SRC.SRC_DESC PARENT_SOURCE_DESCRIPTION, OPB_SRC.VERSION_NUMBER PARENT_SOURCE_VERSION_NUMBER, OPB_SRC.VERSION_STATUS PARENT_SOURCE_VERSION_STATUS, OPB_SRC.UTC_CHECKIN PARENT_SOURCE_UTC_CHECKIN, OPB_SRC.UTC_LAST_SAVED PARENT_SOURCE_UTC_LAST_SAVED, OPB_SRC.LAST_SAVED PARENT_SOURCE_LAST_SAVED, OPB_DBD.SRCTYPE PARENT_SOURCE_TYPE, OPB_DBD.DBDNAM PARENT_SOURCE_DATABASE_NAME, OPB_MMD_DBTYPE.DBTYPE_NAME PARENT_SOURCE_DATABASE_TYPE, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME SOURCE_NAME, OPB_SHORTCUT.OBJECT_ID SOURCE_ID, OPB_SHORTCUT.COMMENTS SOURCE_DESCRIPTION, OPB_SHORTCUT.VERSION_NUMBER SOURCE_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS SOURCE_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN SOURCE_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED SOURCE_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME SOURCE_LAST_SAVED, DBD.SHORTCUT_NAME SOURCE_DATABASE_NAME, OPB_SRC_FLD.SRC_NAME SOURCE_FIELD_NAME, OPB_SRC_FLD.BUSINESS_NAME SOURCE_FIELD_BUSINESS_NAME, OPB_SRC_FLD.FLDID SOURCE_FIELD_ID, OPB_SRC_FLD.SRC_DESC SOURCE_FIELD_DESCRIPTION, OPB_SRC_FLD.FLDNO SOURCE_FIELD_NUMBER, OPB_SRC_FLD.NXTSIBID SOURCE_FIELD_NEXT_FIELD_ID, OPB_SRC_FLD.FLDLVL SOURCE_FIELD_LEVEL, OPB_SRC_FLD.PICTXT SOURCE_FIELD_PICTURE_TEXT, OPB_SRC_FLD.OCCTIMES SOURCE_FIELD_OCCURS_TIMES, OPB_SRC_FLD.REDFNAME SOURCE_FIELD_REDEFINES_FIELD, OPB_SRC_FLD.OFFS SOURCE_FIELD_DISPLAY_OFFSET, OPB_SRC_FLD.LEN SOURCE_FIELD_DISPLAY_LENGTH, OPB_SRC_FLD.POFFS SOURCE_FIELD_PHYSICAL_OFFSET,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:103/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SRC_FLD.PLEN OPB_SRC_FLD.NXTCHLDID REP_SRC_KEY_TYPES.KEYTYPE_NAME REP_FLD_DATATYPE.DTYPE_NAME OPB_PICDSC.SRC_PREC OPB_PICDSC.SRC_SCALE REP_PIC_USAGE.USAGE_NAME OPB_SRC_FLD.NULLTYPE OPB_SHORTCUT.REPOSITORY_NAME 1 0 FROM

SOURCE_FIELD_PHYSICAL_LENGTH, SOURCE_FIELD_CHILD_FIELD_ID, SOURCE_FIELD_KEY_TYPE, SOURCE_FIELD_DATATYPE, SOURCE_FIELD_PRECISION, SOURCE_FIELD_SCALE, SOURCE_FIELD_PIC_USAGE_NAME, SOURCE_FIELD_NULLTYPE, REPOSITORY_NAME, IS_SHORTCUT, IS_GLOBAL_SHORTCUT

OPB_SHORTCUT, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD, OPB_SRC, OPB_DBD, OPB_MMD_DBTYPE, OPB_SRC_FLD, REP_FLD_DATATYPE, OPB_PICDSC, REP_SRC_KEY_TYPES, OPB_SHORTCUT DBD, REP_PIC_USAGE WHERE OPB_SHORTCUT.OBJECT_ID = OPB_SRC.SRC_ID AND OPB_SHORTCUT.SUBJECT_ID = CHILD.SUBJ_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 1 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.OBJECT_TYPE = 25 AND OPB_SRC.SUBJ_ID = PARENT.SUBJ_ID AND OPB_SRC.SRC_ID = OPB_SRC_FLD.SRC_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_SRC_FLD.PICID = OPB_PICDSC.PICID AND OPB_SRC_FLD.KEYTYPE = REP_SRC_KEY_TYPES.KEYTYPE_NUM AND OPB_SRC_FLD.IS_HIDDEN = 0 AND OPB_PICDSC.SRC_NTYPE = REP_FLD_DATATYPE.DTYPE_NUM AND OPB_DBD.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_SRC_FLD.VERSION_NUMBER AND OPB_SRC.VERSION_NUMBER = OPB_PICDSC.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 AND MOD(OPB_PICDSC.PIC_USAGE, 16) = REP_PIC_USAGE.USAGE_NUM AND OPB_SHORTCUT.PARENT_ID = DBD.OBJECT_ID AND OPB_SHORTCUT.SUBJECT_ID = DBD.SUBJECT_ID AND OPB_SHORTCUT.VERSION_NUMBER = DBD.VERSION_NUMBER AND NOT (OPB_SHORTCUT.SHORTCUT_NAME = DBD.SHORTCUT_NAME) AND DBD.OBJECT_TYPE = 22 UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, NULL PARENT_SOURCE_NAME, NULL PARENT_SOURCE_BUSINESS_NAME, 0 PARENT_SOURCE_ID, NULL PARENT_SOURCE_DESCRIPTION, 0 PARENT_SOURCE_VERSION_NUMBER, 0 PARENT_SOURCE_VERSION_STATUS, 0 PARENT_SOURCE_UTC_CHECKIN, 0 PARENT_SOURCE_UTC_LAST_SAVED, NULL PARENT_SOURCE_LAST_SAVED, 0 PARENT_SOURCE_TYPE, NULL PARENT_SOURCE_DATABASE_NAME, NULL PARENT_SOURCE_DATABASE_TYPE, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:104/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SUBJECT.SUBJ_ID OPB_SHORTCUT.SHORTCUT_NAME OPB_SHORTCUT.OBJECT_ID OPB_SHORTCUT.COMMENTS OPB_SHORTCUT.VERSION_NUMBER OPB_SHORTCUT.VERSION_STATUS OPB_SHORTCUT.UTC_CHECKIN OPB_SHORTCUT.UTC_LAST_SAVED OPB_SHORTCUT.CREATION_TIME DBD.SHORTCUT_NAME NULL NULL 0 NULL 0 0 0 NULL 0 NULL 0 0 0 0 0 NULL NULL 0 0 NULL 0 OPB_SHORTCUT.REPOSITORY_NAME 1 1 FROM

SUBJECT_ID, SOURCE_NAME, SOURCE_ID, SOURCE_DESCRIPTION, SOURCE_VERSION_NUMBER, SOURCE_VERSION_STATUS, SOURCE_UTC_CHECKIN, SOURCE_UTC_LAST_SAVED, SOURCE_LAST_SAVED, SOURCE_DATABASE_NAME, SOURCE_FIELD_NAME, SOURCE_FIELD_BUSINESS_NAME, SOURCE_FIELD_ID, SOURCE_FIELD_DESCRIPTION, SOURCE_FIELD_NUMBER, SOURCE_FIELD_NEXT_FIELD_ID, SOURCE_FIELD_LEVEL, SOURCE_FIELD_PICTURE_TEXT, SOURCE_FIELD_OCCURS_TIMES, SOURCE_FIELD_REDEFINES_FIELD, SOURCE_FIELD_DISPLAY_OFFSET, SOURCE_FIELD_DISPLAY_LENGTH, SOURCE_FIELD_PHYSICAL_OFFSET, SOURCE_FIELD_PHYSICAL_LENGTH, SOURCE_FIELD_CHILD_FIELD_ID, SOURCE_FIELD_KEY_TYPE, SOURCE_FIELD_DATATYPE, SOURCE_FIELD_PRECISION, SOURCE_FIELD_SCALE, SOURCE_FIELD_PIC_USAGE_NAME, SOURCE_FIELD_NULLTYPE, REPOSITORY_NAME, IS_SHORTCUT, IS_GLOBAL_SHORTCUT

OPB_SHORTCUT, OPB_SUBJECT, OPB_SHORTCUT DBD WHERE OPB_SHORTCUT.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 2 AND OPB_SHORTCUT.OBJECT_TYPE = 25 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.PARENT_ID = DBD.OBJECT_ID AND OPB_SHORTCUT.SUBJECT_ID = DBD.SUBJECT_ID AND OPB_SHORTCUT.VERSION_NUMBER = DBD.VERSION_NUMBER AND NOT (OPB_SHORTCUT.SHORTCUT_NAME = DBD.SHORTCUT_NAME) AND DBD.OBJECT_TYPE = 22 CREATE VIEW REP_ALL_TARGETS AS SELECT OPB_SUBJECT.SUBJ_NAME OPB_SUBJECT.SUBJ_ID OPB_TARG.TARGET_NAME OPB_TARG.BUSINESS_NAME OPB_TARG.TARGET_ID OPB_TARG.TARGET_DESC OPB_TARG.VERSION_NUMBER

PARENT_SUBJECT_AREA, PARENT_SUBJECT_ID, PARENT_TARGET_NAME, PARENT_TARGET_BUSINESS_NAME, PARENT_TARGET_ID, PARENT_TARGET_DESCRIPTION, PARENT_TARGET_VERSION_NUMBER,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:105/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TARG.VERSION_STATUS OPB_TARG.UTC_CHECKIN OPB_TARG.UTC_LAST_SAVED OPB_TARG.LAST_SAVED OPB_TARG.FLDID OPB_TARG.CONSTR OPB_TARG.TBL_OPTIONS OPB_TARG.INDEXID OPB_TARG.FILE_ID OPB_MMD_DBTYPE.DBTYPE_NAME OPB_SUBJECT.SUBJ_NAME OPB_SUBJECT.SUBJ_ID OPB_TARG.TARGET_NAME OPB_TARG.TARGET_ID OPB_TARG.TARGET_DESC OPB_TARG.VERSION_NUMBER OPB_TARG.VERSION_STATUS OPB_TARG.UTC_CHECKIN OPB_TARG.UTC_LAST_SAVED OPB_TARG.LAST_SAVED NULL 0 0 FROM

PARENT_TARGET_VERSION_STATUS, PARENT_TARGET_UTC_CHECKIN, PARENT_TARGET_UTC_LAST_SAVED, PARENT_TARGET_LAST_SAVED, PARENT_TARGET_FIRST_FIELD_ID, PARENT_TARGET_CONSTRAINT, PARENT_TARGET_CREATE_OPTIONS, PARENT_TARGET_FIRST_INDEX_ID, PARENT_TARGET_FILE_ID, PARENT_TARGET_DATABASE_TYPE, SUBJECT_AREA, SUBJECT_ID, TARGET_NAME, TARGET_ID, TARGET_DESCRIPTION, TARGET_VERSION_NUMBER, TARGET_VERSION_STATUS, TARGET_UTC_CHECKIN, TARGET_UTC_LAST_SAVED, TARGET_LAST_SAVED, REPOSITORY_NAME, IS_SHORTCUT, IS_GLOBAL_SHORTCUT

OPB_SUBJECT, OPB_MMD_DBTYPE, OPB_TARG WHERE OPB_TARG.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TARG.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_TARG.IS_VISIBLE = 1 AND NOT EXISTS (SELECT '1' FROM OPB_SHORTCUT WHERE OPB_TARG.TARGET_ID = OPB_SHORTCUT.OBJECT_ID AND OPB_TARG.SUBJ_ID = OPB_SHORTCUT.SUBJECT_ID AND OPB_SHORTCUT.OBJECT_TYPE = 24 AND OPB_SHORTCUT.IS_VISIBLE = 1) UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, OPB_TARG.TARGET_NAME PARENT_TARGET_NAME, OPB_TARG.BUSINESS_NAME PARENT_TARGET_BUSINESS_NAME, OPB_TARG.TARGET_ID PARENT_TARGET_ID, OPB_TARG.TARGET_DESC PARENT_TARGET_DESCRIPTION, OPB_TARG.VERSION_NUMBER PARENT_TARGET_VERSION_NUMBER, OPB_TARG.VERSION_STATUS PARENT_TARGET_VERSION_STATUS, OPB_TARG.UTC_CHECKIN PARENT_TARGET_UTC_CHECKIN, OPB_TARG.UTC_LAST_SAVED PARENT_TARGET_UTC_LAST_SAVED, OPB_TARG.LAST_SAVED PARENT_TARGET_LAST_SAVED, OPB_TARG.FLDID PARENT_TARGET_FIRST_FIELD_ID, OPB_TARG.CONSTR PARENT_TARGET_CONSTRAINT, OPB_TARG.TBL_OPTIONS PARENT_TARGET_CREATE_OPTIONS, OPB_TARG.INDEXID PARENT_TARGET_FIRST_INDEX_ID, OPB_TARG.FILE_ID PARENT_TARGET_FILE_ID, OPB_MMD_DBTYPE.DBTYPE_NAME PARENT_TARGET_DATABASE_TYPE, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME TARGET_NAME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:106/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SHORTCUT.OBJECT_ID OPB_SHORTCUT.COMMENTS OPB_SHORTCUT.VERSION_NUMBER OPB_SHORTCUT.VERSION_STATUS OPB_SHORTCUT.UTC_CHECKIN OPB_SHORTCUT.UTC_LAST_SAVED OPB_SHORTCUT.CREATION_TIME OPB_SHORTCUT.REPOSITORY_NAME 1 0 FROM

TARGET_ID, TARGET_DESCRIPTION, TARGET_VERSION_NUMBER, TARGET_VERSION_STATUS, TARGET_UTC_CHECKIN, TARGET_UTC_LAST_SAVED, TARGET_LAST_SAVED, REPOSITORY_NAME, IS_SHORTCUT, IS_GLOBAL_SHORTCUT

OPB_SHORTCUT, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD, OPB_MMD_DBTYPE, OPB_TARG WHERE OPB_SHORTCUT.SUBJECT_ID = CHILD.SUBJ_ID AND OPB_SHORTCUT.OBJECT_TYPE = 24 AND OPB_SHORTCUT.REFERENCE_TYPE = 1 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.OBJECT_ID = OPB_TARG.TARGET_ID AND OPB_TARG.SUBJ_ID = PARENT.SUBJ_ID AND OPB_TARG.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_TARG.IS_VISIBLE = 1 UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, NULL PARENT_TARGET_NAME, NULL PARENT_TARGET_BUSINESS_NAME, 0 PARENT_TARGET_ID, NULL PARENT_TARGET_DESCRIPTION, 0 PARENT_TARGET_VERSION_NUMBER, 0 PARENT_TARGET_VERSION_STATUS, 0 PARENT_TARGET_UTC_CHECKIN, 0 PARENT_TARGET_UTC_LAST_SAVED, NULL PARENT_TARGET_LAST_SAVED, 0 PARENT_TARGET_FIRST_FIELD_ID, NULL PARENT_TARGET_CONSTRAINT, NULL PARENT_TARGET_CREATE_OPTIONS, 0 PARENT_TARGET_FIRST_INDEX_ID, 0 PARENT_TARGET_FILE_ID, NULL PARENT_TARGET_DATABASE_TYPE, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME TARGET_NAME, OPB_SHORTCUT.OBJECT_ID TARGET_ID, OPB_SHORTCUT.COMMENTS TARGET_DESCRIPTION, OPB_SHORTCUT.VERSION_NUMBER TARGET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS TARGET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN TARGET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED TARGET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME TARGET_LAST_SAVED, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_SHORTCUT, 1 IS_GLOBAL_SHORTCUT FROM OPB_SHORTCUT, OPB_SUBJECT WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:107/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SHORTCUT.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.OBJECT_TYPE = 24 AND OPB_SHORTCUT.REFERENCE_TYPE = 2 AND OPB_SHORTCUT.IS_VISIBLE = 1 CREATE VIEW REP_ALL_TARGET_FLDS AS SELECT OPB_SUBJECT.SUBJ_NAME PARENT_SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID PARENT_SUBJECT_ID, OPB_TARG.TARGET_NAME PARENT_TARGET_NAME, OPB_TARG.BUSINESS_NAME PARENT_TARGET_BUSINESS_NAME, OPB_TARG.TARGET_ID PARENT_TARGET_ID, OPB_TARG.TARGET_DESC PARENT_TARGET_DESCRIPTION, OPB_TARG.VERSION_NUMBER PARENT_TARGET_VERSION_NUMBER, OPB_TARG.VERSION_STATUS PARENT_TARGET_VERSION_STATUS, OPB_TARG.UTC_CHECKIN PARENT_TARGET_UTC_CHECKIN, OPB_TARG.UTC_LAST_SAVED PARENT_TARGET_UTC_LAST_SAVED, OPB_TARG.LAST_SAVED PARENT_TARGET_LAST_SAVED, OPB_TARG.FILE_ID PARENT_TARGET_FILE_ID, OPB_MMD_DBTYPE.DBTYPE_NAME PARENT_TARGET_DATABASE_TYPE, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_TARG.TARGET_NAME TARGET_NAME, OPB_TARG.TARGET_ID TARGET_ID, OPB_TARG.TARGET_DESC TARGET_DESCRIPTION, OPB_TARG.VERSION_NUMBER TARGET_VERSION_NUMBER, OPB_TARG.VERSION_STATUS TARGET_VERSION_STATUS, OPB_TARG.UTC_CHECKIN TARGET_UTC_CHECKIN, OPB_TARG.UTC_LAST_SAVED TARGET_UTC_LAST_SAVED, OPB_TARG.LAST_SAVED TARGET_LAST_SAVED, OPB_TARG_FLD.TARGET_NAME TARGET_FIELD_NAME, OPB_TARG_FLD.BUSINESS_NAME TARGET_FIELD_BUSINESS_NAME, OPB_TARG_FLD.FLDID TARGET_FIELD_ID, OPB_TARG_FLD.TARGET_DESC TARGET_FIELD_DESCRIPTION, OPB_TARG_FLD.FLDNO TARGET_FIELD_NUMBER, OPB_TARG_FLD.NXTFLDID TARGET_FIELD_NEXT_FIELD_ID, OPB_TARG_FLD.PICTXT TARGET_FIELD_PICTURE_TEXT, OPB_TARG_FLD.NULLTYPE TARGET_FIELD_IS_NULLABLE, OPB_TARG_FLD.DFLDID TARGET_FIELD_SOURCE_FIELD_ID, REP_TARG_KEY_TYPES.KEYTYPE_NAME TARGET_FIELD_KEY_TYPE, REP_FLD_DATATYPE.DTYPE_NAME TARGET_FIELD_DATATYPE, REP_FLD_DATATYPE.DTYPE_GROUP_CODE TARGET_FIELD_DATATYPE_GROUP, OPB_TARG_FLD.DPREC TARGET_FIELD_PRECISION, OPB_TARG_FLD.DSCALE TARGET_FIELD_SCALE, NULL REPOSITORY_NAME, 0 IS_SHORTCUT, 0 IS_GLOBAL_SHORTCUT FROM OPB_MMD_DBTYPE, OPB_TARG_FLD, REP_TARG_KEY_TYPES, REP_FLD_DATATYPE, OPB_TARG, OPB_SUBJECT WHERE OPB_TARG.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TARG.TARGET_ID = OPB_TARG_FLD.TARGET_ID AND OPB_TARG_FLD.NDTYPE = REP_FLD_DATATYPE.DTYPE_NUM AND OPB_TARG_FLD.KEYTYPE = REP_TARG_KEY_TYPES.KEYTYPE_NUM AND OPB_TARG.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:108/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_TARG.VERSION_NUMBER = OPB_TARG_FLD.VERSION_NUMBER AND OPB_TARG.IS_VISIBLE = 1 AND NOT EXISTS (SELECT '1' FROM OPB_SHORTCUT WHERE OPB_TARG.TARGET_ID = OPB_SHORTCUT.OBJECT_ID AND OPB_TARG.SUBJ_ID = OPB_SHORTCUT.SUBJECT_ID AND OPB_SHORTCUT.OBJECT_TYPE = 24 AND OPB_SHORTCUT.IS_VISIBLE = 1) UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, OPB_TARG.TARGET_NAME PARENT_TARGET_NAME, OPB_TARG.BUSINESS_NAME PARENT_TARGET_BUSINESS_NAME, OPB_TARG.TARGET_ID PARENT_TARGET_ID, OPB_TARG.TARGET_DESC PARENT_TARGET_DESCRIPTION, OPB_TARG.VERSION_NUMBER PARENT_TARGET_VERSION_NUMBER, OPB_TARG.VERSION_STATUS PARENT_TARGET_VERSION_STATUS, OPB_TARG.UTC_CHECKIN PARENT_TARGET_UTC_CHECKIN, OPB_TARG.UTC_LAST_SAVED PARENT_TARGET_UTC_LAST_SAVED, OPB_TARG.LAST_SAVED PARENT_TARGET_LAST_SAVED, OPB_TARG.FILE_ID PARENT_TARGET_FILE_ID, OPB_MMD_DBTYPE.DBTYPE_NAME PARENT_TARGET_DATABASE_TYPE, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME TARGET_NAME, OPB_SHORTCUT.OBJECT_ID TARGET_ID, OPB_SHORTCUT.COMMENTS TARGET_DESCRIPTION, OPB_SHORTCUT.VERSION_NUMBER TARGET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS TARGET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN TARGET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED TARGET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME TARGET_LAST_SAVED, OPB_TARG_FLD.TARGET_NAME TARGET_FIELD_NAME, OPB_TARG_FLD.BUSINESS_NAME TARGET_FIELD_BUSINESS_NAME, OPB_TARG_FLD.FLDID TARGET_FIELD_ID, OPB_TARG_FLD.TARGET_DESC TARGET_FIELD_DESCRIPTION, OPB_TARG_FLD.FLDNO TARGET_FIELD_NUMBER, OPB_TARG_FLD.NXTFLDID TARGET_FIELD_NEXT_FIELD_ID, OPB_TARG_FLD.PICTXT TARGET_FIELD_PICTURE_TEXT, OPB_TARG_FLD.NULLTYPE TARGET_FIELD_IS_NULLABLE, OPB_TARG_FLD.DFLDID TARGET_FIELD_SOURCE_FIELD_ID, REP_TARG_KEY_TYPES.KEYTYPE_NAME TARGET_FIELD_KEY_TYPE, REP_FLD_DATATYPE.DTYPE_NAME TARGET_FIELD_DATATYPE, REP_FLD_DATATYPE.DTYPE_GROUP_CODE TARGET_FIELD_DATATYPE_GROUP, OPB_TARG_FLD.DPREC TARGET_FIELD_PRECISION, OPB_TARG_FLD.DSCALE TARGET_FIELD_SCALE, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_SHORTCUT, 0 IS_GLOBAL_SHORTCUT FROM OPB_SHORTCUT, OPB_MMD_DBTYPE, OPB_TARG_FLD, REP_TARG_KEY_TYPES, REP_FLD_DATATYPE, OPB_TARG, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD WHERE OPB_SHORTCUT.SUBJECT_ID=CHILD.SUBJ_ID AND OPB_SHORTCUT.OBJECT_ID = OPB_TARG.TARGET_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 1

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:109/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_SHORTCUT.OBJECT_TYPE = 24 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_TARG.SUBJ_ID = PARENT.SUBJ_ID AND OPB_TARG.TARGET_ID = OPB_TARG_FLD.TARGET_ID AND OPB_TARG_FLD.NDTYPE = REP_FLD_DATATYPE.DTYPE_NUM AND OPB_TARG_FLD.KEYTYPE = REP_TARG_KEY_TYPES.KEYTYPE_NUM AND OPB_TARG.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_TARG.VERSION_NUMBER = OPB_TARG_FLD.VERSION_NUMBER AND OPB_TARG.IS_VISIBLE = 1 UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, NULL PARENT_TARGET_NAME, NULL PARENT_TARGET_BUSINESS_NAME, 0 PARENT_TARGET_ID, NULL PARENT_TARGET_DESCRIPTION, 0 PARENT_TARGET_VERSION_NUMBER, 0 PARENT_TARGET_VERSION_STATUS, 0 PARENT_TARGET_UTC_CHECKIN, 0 PARENT_TARGET_UTC_LAST_SAVED, NULL PARENT_TARGET_LAST_SAVED, 0 PARENT_TARGET_FILE_ID, NULL PARENT_TARGET_DATABASE_TYPE, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SHORTCUT.SHORTCUT_NAME TARGET_NAME, OPB_SHORTCUT.OBJECT_ID TARGET_ID, OPB_SHORTCUT.COMMENTS TARGET_DESCRIPTION, OPB_SHORTCUT.VERSION_NUMBER TARGET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS TARGET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN TARGET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED TARGET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME TARGET_LAST_SAVED, NULL TARGET_FIELD_NAME, NULL TARGET_FIELD_BUSINESS_NAME, 0 TARGET_FIELD_ID, NULL TARGET_FIELD_DESCRIPTION, 0 TARGET_FIELD_NUMBER, 0 TARGET_FIELD_NEXT_FIELD_ID, NULL TARGET_FIELD_PICTURE_TEXT, 9999999 TARGET_FIELD_IS_NULLABLE, 0 TARGET_FIELD_SOURCE_FIELD_ID, NULL TARGET_FIELD_KEY_TYPE, NULL TARGET_FIELD_DATATYPE, NULL TARGET_FIELD_DATATYPE_GROUP, 0 TARGET_FIELD_PRECISION, 0 TARGET_FIELD_SCALE, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_SHORTCUT, 1 IS_GLOBAL_SHORTCUT FROM OPB_SHORTCUT, OPB_SUBJECT WHERE OPB_SHORTCUT.SUBJECT_ID=OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 2

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:110/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_SHORTCUT.OBJECT_TYPE = 24 AND OPB_SHORTCUT.IS_VISIBLE = 1 CREATE VIEW REP_ALL_MAPPINGS AS SELECT OPB_SUBJECT.SUBJ_NAME PARENT_SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME PARENT_MAPPING_NAME, OPB_MAPPING.MAPPING_ID PARENT_MAPPING_ID, OPB_MAPPING.VERSION_NUMBER PARENT_MAPPING_VERSION_NUMBER, OPB_MAPPING.VERSION_STATUS PARENT_MAPPING_VERSION_STATUS, OPB_MAPPING.UTC_CHECKIN PARENT_MAPPING_UTC_CHECKIN, OPB_MAPPING.UTC_LAST_SAVED PARENT_MAPPING_UTC_LAST_SAVED, OPB_MAPPING.LAST_SAVED PARENT_MAPPING_LAST_SAVED, OPB_MAPPING.IS_VALID PARENT_MAPPING_IS_VALID, OPB_MAPPING.COMMENTS PARENT_MAPPING_DESCRIPTION, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_MAPPING.VERSION_STATUS MAPPING_VERSION_STATUS, OPB_MAPPING.UTC_CHECKIN MAPPING_UTC_CHECKIN, OPB_MAPPING.UTC_LAST_SAVED MAPPING_UTC_LAST_SAVED, OPB_MAPPING.LAST_SAVED MAPPING_LAST_SAVED, OPB_MAPPING.COMMENTS MAPPING_DESCRIPTION, NULL REPOSITORY_NAME, 0 IS_GLOBAL_SHORTCUT, 0 IS_SHORTCUT FROM OPB_MAPPING, OPB_SUBJECT WHERE OPB_MAPPING.REF_WIDGET_ID = 0 AND OPB_MAPPING.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_MAPPING.IS_VISIBLE = 1 UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME PARENT_MAPPING_NAME, OPB_MAPPING.MAPPING_ID PARENT_MAPPING_ID, OPB_MAPPING.VERSION_NUMBER PARENT_MAPPING_VERSION_NUMBER, OPB_MAPPING.VERSION_STATUS PARENT_MAPPING_VERSION_STATUS, OPB_MAPPING.UTC_CHECKIN PARENT_MAPPING_UTC_CHECKIN, OPB_MAPPING.UTC_LAST_SAVED PARENT_MAPPING_UTC_LAST_SAVED, OPB_MAPPING.LAST_SAVED PARENT_MAPPING_LAST_SAVED, OPB_MAPPING.IS_VALID PARENT_MAPPING_IS_VALID, OPB_MAPPING.COMMENTS PARENT_MAPPING_DESCRIPTION, OPB_SHORTCUT.SHORTCUT_NAME MAPPING_NAME, OPB_SHORTCUT.OBJECT_ID MAPPING_ID, OPB_SHORTCUT.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS MAPPING_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN MAPPING_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED MAPPING_UTC_LAST_SAVED,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:111/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SHORTCUT.CREATION_TIME MAPPING_LAST_SAVED, OPB_SHORTCUT.COMMENTS MAPPING_DESCRIPTION, NULL REPOSITORY_NAME, 0 IS_GLOBAL_SHORTCUT, 1 IS_SHORTCUT FROM OPB_SHORTCUT, OPB_MAPPING, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD WHERE OPB_SHORTCUT.SUBJECT_ID = CHILD.SUBJ_ID AND OPB_SHORTCUT.OBJECT_ID = OPB_MAPPING.MAPPING_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 1 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_SHORTCUT.OBJECT_TYPE=21 AND OPB_MAPPING.SUBJECT_ID = PARENT.SUBJ_ID AND OPB_MAPPING.IS_VISIBLE = 1 UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL PARENT_MAPPING_NAME, 0 PARENT_MAPPING_ID, 0 PARENT_MAPPING_VERSION_NUMBER, 0 PARENT_MAPPING_VERSION_STATUS, 0 PARENT_MAPPING_UTC_CHECKIN, 0 PARENT_MAPPING_UTC_LAST_SAVED, NULL PARENT_MAPPING_LAST_SAVED, 9999999 PARENT_MAPPING_IS_VALID, NULL PARENT_MAPPING_DESCRIPTION, OPB_SHORTCUT.SHORTCUT_NAME MAPPING_NAME, OPB_SHORTCUT.OBJECT_ID MAPPING_ID, OPB_SHORTCUT.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS MAPPING_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN MAPPING_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED MAPPING_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME MAPPING_LAST_SAVED, OPB_SHORTCUT.COMMENTS MAPPING_DESCRIPTION, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_GLOBAL_SHORTCUT, 1 IS_SHORTCUT FROM OPB_SHORTCUT, OPB_SUBJECT WHERE OPB_SHORTCUT.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 2 AND OPB_SHORTCUT.OBJECT_TYPE = 21 AND OPB_SHORTCUT.IS_VISIBLE = 1 CREATE VIEW REP_ALL_MAPPLETS AS SELECT OPB_SUBJECT.SUBJ_NAME PARENT_SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME PARENT_MAPPLET_NAME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:112/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MAPPING.MAPPING_ID PARENT_MAPPLET_ID, OPB_MAPPING.VERSION_NUMBER PARENT_MAPPLET_VERSION_NUMBER, OPB_MAPPING.VERSION_STATUS PARENT_MAPPLET_VERSION_STATUS, OPB_MAPPING.UTC_CHECKIN PARENT_MAPPLET_UTC_CHECKIN, OPB_MAPPING.UTC_LAST_SAVED PARENT_MAPPLET_UTC_LAST_SAVED, OPB_MAPPING.LAST_SAVED PARENT_MAPPLET_LAST_SAVED, OPB_MAPPING.IS_VALID PARENT_MAPPLET_IS_VALID, OPB_MAPPING.COMMENTS PARENT_MAPPLET_DESCRIPTION, OPB_MAPPING.MAPPING_NAME MAPPLET_NAME, OPB_MAPPING.MAPPING_ID MAPPLET_ID, OPB_MAPPING.VERSION_NUMBER MAPPLET_VERSION_NUMBER, OPB_MAPPING.VERSION_STATUS MAPPLET_VERSION_STATUS, OPB_MAPPING.UTC_CHECKIN MAPPLET_UTC_CHECKIN, OPB_MAPPING.UTC_LAST_SAVED MAPPLET_UTC_LAST_SAVED, OPB_MAPPING.LAST_SAVED MAPPLET_LAST_SAVED, OPB_MAPPING.COMMENTS MAPPLET_DESCRIPTION, OPB_MAPPING.REF_WIDGET_ID, NULL REPOSITORY_NAME, 0 IS_GLOBAL_SHORTCUT, 0 IS_SHORTCUT FROM OPB_MAPPING, OPB_SUBJECT WHERE OPB_MAPPING.REF_WIDGET_ID != 0 AND OPB_MAPPING.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_MAPPING.IS_VISIBLE = 1 UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME PARENT_MAPPLET_NAME, OPB_MAPPING.MAPPING_ID PARENT_MAPPLET_ID, OPB_MAPPING.VERSION_NUMBER PARENT_MAPPLET_VERSION_NUMBER, OPB_MAPPING.VERSION_STATUS PARENT_MAPPLET_VERSION_STATUS, OPB_MAPPING.UTC_CHECKIN PARENT_MAPPLET_UTC_CHECKIN, OPB_MAPPING.UTC_LAST_SAVED PARENT_MAPPLET_UTC_LAST_SAVED, OPB_MAPPING.LAST_SAVED PARENT_MAPPLET_LAST_SAVED, OPB_MAPPING.IS_VALID PARENT_MAPPLET_IS_VALID, OPB_MAPPING.COMMENTS PARENT_MAPPLET_DESCRIPTION, OPB_SHORTCUT.SHORTCUT_NAME MAPPLET_NAME, OPB_SHORTCUT.OBJECT_ID MAPPLET_ID, OPB_SHORTCUT.VERSION_NUMBER MAPPLET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS MAPPLET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN MAPPLET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED MAPPLET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME MAPPLET_LAST_SAVED, OPB_SHORTCUT.COMMENTS MAPPLET_DESCRIPTION, OPB_MAPPING.REF_WIDGET_ID, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 0 IS_GLOBAL_SHORTCUT, 1 IS_SHORTCUT FROM OPB_WIDGET, OPB_SHORTCUT, OPB_MAPPING, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:113/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET.WIDGET_ID = OPB_SHORTCUT.OBJECT_ID AND OPB_WIDGET.WIDGET_ID = OPB_MAPPING.REF_WIDGET_ID AND OPB_WIDGET.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_MAPPING.SUBJECT_ID = PARENT.SUBJ_ID AND OPB_SHORTCUT.SUBJECT_ID = CHILD.SUBJ_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 1 AND OPB_SHORTCUT.OBJECT_TYPE = 44 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_WIDGET.IS_VISIBLE = 1 UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL PARENT_MAPPLET_NAME, 0 PARENT_MAPPLET_ID, 0 PARENT_MAPPLET_VERSION_NUMBER, 0 PARENT_MAPPLET_VERSION_STATUS, 0 PARENT_MAPPLET_UTC_CHECKIN, 0 PARENT_MAPPLET_UTC_LAST_SAVED, NULL PARENT_MAPPLET_LAST_SAVED, 9999999 PARENT_MAPPLET_IS_VALID, NULL PARENT_MAPPLET_DESCRIPTION, OPB_SHORTCUT.SHORTCUT_NAME MAPPLET_NAME, OPB_SHORTCUT.OBJECT_ID MAPPLET_ID, OPB_SHORTCUT.VERSION_NUMBER MAPPLET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS MAPPLET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN MAPPLET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED MAPPLET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME MAPPLET_LAST_SAVED, OPB_SHORTCUT.COMMENTS MAPPLET_DESCRIPTION, 0 REF_WIDGET_ID, OPB_SHORTCUT.REPOSITORY_NAME REPOSITORY_NAME, 1 IS_GLOBAL_SHORTCUT, 1 IS_SHORTCUT FROM OPB_SHORTCUT, OPB_SUBJECT WHERE OPB_SHORTCUT.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 2 AND OPB_SHORTCUT.OBJECT_TYPE = 44 AND OPB_SHORTCUT.IS_VISIBLE = 1 CREATE VIEW REP_ALL_TRANSFORMS AS SELECT OPB_SUBJECT.SUBJ_NAME PARENT_SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID PARENT_SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_WIDGET.WIDGET_NAME PARENT_WIDGET_NAME, OPB_WIDGET.WIDGET_ID PARENT_WIDGET_ID, OPB_WIDGET.VERSION_NUMBER PARENT_WIDGET_VERSION_NUMBER, OPB_WIDGET.VERSION_STATUS PARENT_WIDGET_VERSION_STATUS, OPB_WIDGET.UTC_CHECKIN PARENT_WIDGET_UTC_CHECKIN,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:114/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET.UTC_LAST_SAVED PARENT_WIDGET_UTC_LAST_SAVED, OPB_WIDGET.LAST_SAVED PARENT_WIDGET_LAST_SAVED, OPB_WIDGET.IS_REUSABLE PARENT_WIDGET_IS_REUSABLE, OPB_WIDGET.COMMENTS PARENT_WIDGET_DESCRIPTION, OPB_WIDGET.WIDGET_NAME WIDGET_NAME, OPB_WIDGET.WIDGET_ID WIDGET_ID, OPB_WIDGET.VERSION_NUMBER WIDGET_VERSION_NUMBER, OPB_WIDGET.VERSION_STATUS WIDGET_VERSION_STATUS, OPB_WIDGET.UTC_CHECKIN WIDGET_UTC_CHECKIN, OPB_WIDGET.UTC_LAST_SAVED WIDGET_UTC_LAST_SAVED, OPB_WIDGET.LAST_SAVED WIDGET_LAST_SAVED, OPB_WIDGET.WIDGET_TYPE WIDGET_TYPE_ID, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME WIDGET_TYPE_NAME, OPB_WIDGET.COMMENTS WIDGET_DESCRIPTION, NULL REPOSITORY_NAME, 0 IS_GLOBAL_SHORTCUT, 0 IS_SHORTCUT FROM OPB_WIDGET, OPB_OBJECT_TYPE, OPB_SUBJECT WHERE OPB_WIDGET.WIDGET_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_WIDGET.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_WIDGET.WIDGET_TYPE != 44 AND OPB_WIDGET.IS_VISIBLE = 1 UNION ALL SELECT PARENT.SUBJ_NAME PARENT_SUBJECT_AREA, PARENT.SUBJ_ID PARENT_SUBJECT_ID, CHILD.SUBJ_NAME SUBJECT_AREA, CHILD.SUBJ_ID SUBJECT_ID, OPB_WIDGET.WIDGET_NAME PARENT_WIDGET_NAME, OPB_WIDGET.WIDGET_ID PARENT_WIDGET_ID, OPB_WIDGET.VERSION_NUMBER PARENT_WIDGET_VERSION_NUMBER, OPB_WIDGET.VERSION_STATUS PARENT_WIDGET_VERSION_STATUS, OPB_WIDGET.UTC_CHECKIN PARENT_WIDGET_UTC_CHECKIN, OPB_WIDGET.UTC_LAST_SAVED PARENT_WIDGET_UTC_LAST_SAVED, OPB_WIDGET.LAST_SAVED PARENT_WIDGET_LAST_SAVED, OPB_WIDGET.IS_REUSABLE PARENT_WIDGET_IS_REUSABLE, OPB_WIDGET.COMMENTS PARENT_WIDGET_DESCRIPTION, OPB_SHORTCUT.SHORTCUT_NAME WIDGET_NAME, OPB_SHORTCUT.OBJECT_ID WIDGET_ID, OPB_SHORTCUT.VERSION_NUMBER WIDGET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS WIDGET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN WIDGET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED WIDGET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME WIDGET_LAST_SAVED, OPB_SHORTCUT.OBJECT_SUBTYPE WIDGET_TYPE_ID, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME WIDGET_TYPE_NAME, OPB_SHORTCUT.COMMENTS WIDGET_DESCRIPTION, OPB_SHORTCUT.REPOSITORY_NAME, 0 IS_GLOBAL_SHORTCUT, 1 IS_SHORTCUT FROM OPB_WIDGET, OPB_SHORTCUT, OPB_OBJECT_TYPE, OPB_SUBJECT PARENT, OPB_SUBJECT CHILD WHERE OPB_WIDGET.WIDGET_ID = OPB_SHORTCUT.OBJECT_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:115/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_WIDGET.SUBJECT_ID = PARENT.SUBJ_ID AND OPB_SHORTCUT.SUBJECT_ID = CHILD.SUBJ_ID AND OPB_SHORTCUT.OBJECT_SUBTYPE=OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 1 AND OPB_SHORTCUT.OBJECT_TYPE = 23 AND OPB_SHORTCUT.IS_VISIBLE = 1 AND OPB_WIDGET.IS_VISIBLE = 1 UNION ALL SELECT NULL PARENT_SUBJECT_AREA, 0 PARENT_SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, NULL PARENT_WIDGET_NAME, 0 PARENT_WIDGET_ID, 0 PARENT_WIDGET_VERSION_NUMBER, 0 PARENT_WIDGET_VERSION_STATUS, 0 PARENT_WIDGET_UTC_CHECKIN, 0 PARENT_WIDGET_UTC_LAST_SAVED, NULL PARENT_WIDGET_LAST_SAVED, 9999999 PARENT_WIDGET_IS_REUSABLE, NULL PARENT_WIDGET_DESCRIPTION, OPB_SHORTCUT.SHORTCUT_NAME WIDGET_NAME, OPB_SHORTCUT.OBJECT_ID WIDGET_ID, OPB_SHORTCUT.VERSION_NUMBER WIDGET_VERSION_NUMBER, OPB_SHORTCUT.VERSION_STATUS WIDGET_VERSION_STATUS, OPB_SHORTCUT.UTC_CHECKIN WIDGET_UTC_CHECKIN, OPB_SHORTCUT.UTC_LAST_SAVED WIDGET_UTC_LAST_SAVED, OPB_SHORTCUT.CREATION_TIME WIDGET_LAST_SAVED, OPB_SHORTCUT.OBJECT_SUBTYPE WIDGET_TYPE_ID, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME WIDGET_TYPE_NAME, OPB_SHORTCUT.COMMENTS WIDGET_DESCRIPTION, OPB_SHORTCUT.REPOSITORY_NAME, 1 IS_GLOBAL_SHORTCUT, 1 IS_SHORTCUT FROM OPB_SHORTCUT, OPB_OBJECT_TYPE, OPB_SUBJECT WHERE OPB_SHORTCUT.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SHORTCUT.OBJECT_SUBTYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_SHORTCUT.REFERENCE_TYPE = 2 AND OPB_SHORTCUT.OBJECT_TYPE=23 AND OPB_SHORTCUT.IS_VISIBLE = 1 CREATE VIEW REP_WIDGET_INST AS SELECT OPB_WIDGET_INST.MAPPING_ID, OPB_WIDGET_INST.WIDGET_ID, OPB_WIDGET_INST.WIDGET_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME WIDGET_TYPE_NAME, OPB_WIDGET_INST.INSTANCE_ID, OPB_WIDGET_INST.INSTANCE_NAME, OPB_WIDGET_INST.COMMENTS DESCRIPTION, OPB_WIDGET_INST.VERSION_NUMBER, OPB_MAPPING.REF_WIDGET_ID, OPB_MAPPING.SUBJECT_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:116/334
Last modification: 3/12/2010 5:51:38 PM

FROM OPB_WIDGET_INST, OPB_OBJECT_TYPE, OPB_MAPPING WHERE OPB_WIDGET_INST.WIDGET_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_WIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER CREATE VIEW REP_WIDGET_DEP AS SELECT OPB_WIDGET_DEP.MAPPING_ID, OPB_WIDGET_DEP.FROM_INSTANCE_ID, OPB_WIDGET_DEP.FROM_FIELD_ID, OPB_WIDGET_DEP.TO_INSTANCE_ID, OPB_WIDGET_DEP.TO_FIELD_ID, OPB_WIDGET_DEP.VERSION_NUMBER FROM OPB_WIDGET_DEP CREATE VIEW REP_WIDGET_ATTR AS SELECT OPB_WIDGET_ATTR.WIDGET_ID, OPB_WIDGET_ATTR.WIDGET_TYPE, OPB_WIDGET_ATTR.MAPPING_ID, OPB_WIDGET_ATTR.INSTANCE_ID, OPB_WIDGET_ATTR.ATTR_ID, OPB_ATTR.ATTR_COMMENT ATTR_DESCRIPTION, OPB_ATTR.ATTR_DATATYPE ATTR_DATATYPE, OPB_ATTR.ATTR_NAME ATTR_NAME, OPB_ATTR.ATTR_TYPE ATTR_TYPE, OPB_WIDGET_ATTR.LINE_NO, OPB_WIDGET_ATTR.ATTR_VALUE, OPB_WIDGET_ATTR.PARTITION_ID, OPB_WIDGET_ATTR.SESSION_TASK_ID, OPB_WIDGET_ATTR.VERSION_NUMBER FROM OPB_WIDGET_ATTR, OPB_ATTR WHERE OPB_WIDGET_ATTR.WIDGET_TYPE = OPB_ATTR.OBJECT_TYPE_ID AND OPB_WIDGET_ATTR.ATTR_ID = OPB_ATTR.ATTR_ID CREATE VIEW REP_WIDGET_FIELD AS SELECT OPB_WIDGET_FIELD.WIDGET_ID, OPB_WIDGET_FIELD.FIELD_NAME, OPB_WIDGET_FIELD.FIELD_ID, OPB_WIDGET_FIELD.WGT_PREC, OPB_WIDGET_FIELD.WGT_SCALE, OPB_WIDGET_FIELD.WGT_DATATYPE, OPB_WIDGET_FIELD.PORTTYPE, OPB_WIDGET_FIELD.FIELD_ORDER, OPB_WIDGET_FIELD.COMMENTS DESCRIPTION, OPB_WIDGET_FIELD.WIDGET_FLD_PROP PROPERTY, OPB_WIDGET_FIELD.DEFAULT_VALUE, OPB_WIDGET_FIELD.SRC_FIELD_ID, OPB_WIDGET_FIELD.GROUP_ID, OPB_WIDGET_FIELD.VERSION_NUMBER, REP_FLD_DATATYPE.DTYPE_NUM DATATYPE_NUM,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:117/334
Last modification: 3/12/2010 5:51:38 PM

REP_FLD_DATATYPE.DTYPE_NAME DATATYPE, REP_FLD_DATATYPE.DTYPE_GROUP_CODE DATATYPE_GROUP_CODE, REP_FLD_DATATYPE.DTYPE_DATABASE DATABASE_TYPE, OPB_EXPRESSION.EXPRESSION EXPRESSION, OPB_WIDGET_EXPR.COMMENTS EXPR_DESCRIPTION, OPB_WIDGET_EXPR.EXPR_TYPE FROM OPB_WIDGET_EXPR, OPB_EXPRESSION, OPB_WIDGET_FIELD, REP_FLD_DATATYPE, OPB_WIDGET WHERE OPB_WIDGET_FIELD.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND OPB_WIDGET_FIELD.VERSION_NUMBER = OPB_WIDGET.VERSION_NUMBER AND OPB_WIDGET.IS_VISIBLE = 1 AND OPB_WIDGET_FIELD.WGT_DATATYPE= REP_FLD_DATATYPE.DTYPE_NUM AND REP_FLD_DATATYPE.DTYPE_DATABASE = 'INFORMATICA' AND OPB_WIDGET_FIELD.WIDGET_ID= OPB_WIDGET_EXPR.WIDGET_ID AND OPB_WIDGET_FIELD.FIELD_ID= OPB_WIDGET_EXPR.OUTPUT_FIELD_ID AND OPB_WIDGET_EXPR.WIDGET_ID=OPB_EXPRESSION.WIDGET_ID AND OPB_WIDGET_EXPR.EXPR_ID=OPB_EXPRESSION.EXPR_ID AND OPB_EXPRESSION.LINE_NO = 1 AND OPB_WIDGET_EXPR.VERSION_NUMBER = OPB_EXPRESSION.VERSION_NUMBER AND OPB_WIDGET_EXPR.VERSION_NUMBER = OPB_WIDGET_FIELD.VERSION_NUMBER UNION ALL SELECT OPB_WIDGET_FIELD.WIDGET_ID, OPB_WIDGET_FIELD.FIELD_NAME, OPB_WIDGET_FIELD.FIELD_ID, OPB_WIDGET_FIELD.WGT_PREC, OPB_WIDGET_FIELD.WGT_SCALE, OPB_WIDGET_FIELD.WGT_DATATYPE, OPB_WIDGET_FIELD.PORTTYPE, OPB_WIDGET_FIELD.FIELD_ORDER, OPB_WIDGET_FIELD.COMMENTS DESCRIPTION, OPB_WIDGET_FIELD.WIDGET_FLD_PROP PROPERTY, OPB_WIDGET_FIELD.DEFAULT_VALUE, OPB_WIDGET_FIELD.SRC_FIELD_ID, OPB_WIDGET_FIELD.GROUP_ID, OPB_WIDGET_FIELD.VERSION_NUMBER, REP_FLD_DATATYPE.DTYPE_NUM DATATYPE_NUM, REP_FLD_DATATYPE.DTYPE_NAME DATATYPE, REP_FLD_DATATYPE.DTYPE_GROUP_CODE DATATYPE_GROUP_CODE, REP_FLD_DATATYPE.DTYPE_DATABASE DATABASE_TYPE, NULL EXPRESSION, NULL EXPR_DESCRIPTION, 0 EXPR_TYPE FROM OPB_WIDGET_FIELD, REP_FLD_DATATYPE, OPB_WIDGET WHERE OPB_WIDGET_FIELD.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND OPB_WIDGET_FIELD.VERSION_NUMBER = OPB_WIDGET.VERSION_NUMBER AND OPB_WIDGET.IS_VISIBLE = 1 AND OPB_WIDGET_FIELD.WGT_DATATYPE= REP_FLD_DATATYPE.DTYPE_NUM AND REP_FLD_DATATYPE.DTYPE_DATABASE = 'INFORMATICA' AND NOT EXISTS (SELECT '1' FROM OPB_WIDGET_EXPR WHERE OPB_WIDGET_FIELD.WIDGET_ID= OPB_WIDGET_EXPR.WIDGET_ID AND OPB_WIDGET_FIELD.VERSION_NUMBER = OPB_WIDGET_EXPR.VERSION_NUMBER AND OPB_WIDGET_FIELD.FIELD_ID= OPB_WIDGET_EXPR.OUTPUT_FIELD_ID)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:118/334
Last modification: 3/12/2010 5:51:38 PM

CREATE VIEW REP_MAPPING_UNCONN_PORTS AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_WIDGET_INST.INSTANCE_NAME OBJECT_INSTANCE_NAME, OPB_WIDGET_INST.INSTANCE_ID OBJECT_INSTANCE_ID, OPB_WIDGET_INST.WIDGET_TYPE OBJECT_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, OPB_SRC_FLD.FLDID FIELD_ID, OPB_SRC_FLD.SRC_NAME FIELD_NAME, OPB_SRC.VERSION_NUMBER OBJECT_VERSION_NUMBER FROM OPB_WIDGET_INST, OPB_MAPPING, OPB_SUBJECT, OPB_SRC_FLD, OPB_SRC , OPB_OBJECT_TYPE WHERE OPB_WIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_INST.WIDGET_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_SRC_FLD.SRC_ID = OPB_SRC.SRC_ID AND OPB_SRC_FLD.VERSION_NUMBER = OPB_SRC.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 AND OPB_WIDGET_INST.WIDGET_ID = OPB_SRC_FLD.SRC_ID AND OPB_WIDGET_INST.WIDGET_TYPE = 1 AND OPB_MAPPING.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_MAPPING.REF_WIDGET_ID = 0 AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_DEP WHERE OPB_WIDGET_DEP.MAPPING_ID= OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND ((OPB_WIDGET_DEP.FROM_INSTANCE_ID = OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.FROM_FIELD_ID=OPB_SRC_FLD.FLDID) OR (OPB_WIDGET_DEP.TO_INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.TO_FIELD_ID=OPB_SRC_FLD.FLDID))) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_WIDGET_INST.INSTANCE_NAME OBJECT_INSTANCE_NAME, OPB_WIDGET_INST.INSTANCE_ID OBJECT_INSTANCE_ID, OPB_WIDGET_INST.WIDGET_TYPE OBJECT_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, OPB_TARG_FLD.FLDID FIELD_ID, OPB_TARG_FLD.TARGET_NAME FIELD_NAME, OPB_TARG.VERSION_NUMBER OBJECT_VERSION_NUMBER FROM OPB_WIDGET_INST, OPB_MAPPING, OPB_TARG_FLD, OPB_SUBJECT, OPB_TARG, OPB_OBJECT_TYPE WHERE OPB_WIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:119/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_WIDGET_INST.WIDGET_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_WIDGET_INST.WIDGET_ID = OPB_TARG_FLD.TARGET_ID AND OPB_TARG_FLD.TARGET_ID = OPB_TARG.TARGET_ID AND OPB_TARG_FLD.VERSION_NUMBER = OPB_TARG.VERSION_NUMBER AND OPB_TARG.IS_VISIBLE = 1 AND OPB_WIDGET_INST.WIDGET_TYPE = 2 AND OPB_MAPPING.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_MAPPING.REF_WIDGET_ID = 0 AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_DEP WHERE OPB_WIDGET_DEP.MAPPING_ID= OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER=OPB_WIDGET_INST.VERSION_NUMBER AND OPB_WIDGET_DEP.VERSION_NUMBER=OPB_MAPPING.VERSION_NUMBER AND ((OPB_WIDGET_DEP.FROM_INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.FROM_FIELD_ID=OPB_TARG_FLD.FLDID) OR (OPB_WIDGET_DEP.TO_INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.TO_FIELD_ID=OPB_TARG_FLD.FLDID))) UNION ALL SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, OPB_WIDGET_INST.INSTANCE_NAME OBJECT_INSTANCE_NAME, OPB_WIDGET_INST.INSTANCE_ID OBJECT_INSTANCE_ID, OPB_WIDGET_INST.WIDGET_TYPE OBJECT_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, OPB_WIDGET_FIELD.FIELD_ID FIELD_ID, OPB_WIDGET_FIELD.FIELD_NAME FIELD_NAME, OPB_WIDGET_FIELD.VERSION_NUMBER OBJECT_VERSION_NUMBER FROM OPB_WIDGET_INST, OPB_MAPPING, OPB_WIDGET_FIELD, OPB_SUBJECT, OPB_WIDGET, OPB_OBJECT_TYPE WHERE OPB_WIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_INST.WIDGET_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_WIDGET_INST.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET.IS_VISIBLE = 1 AND OPB_WIDGET_INST.WIDGET_ID = OPB_WIDGET_FIELD.WIDGET_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_WIDGET_FIELD.VERSION_NUMBER AND OPB_WIDGET_INST.WIDGET_TYPE NOT IN (1,2) AND OPB_MAPPING.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_MAPPING.REF_WIDGET_ID = 0 AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_DEP WHERE OPB_WIDGET_DEP.MAPPING_ID= OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_WIDGET_FIELD.VERSION_NUMBER AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND ((OPB_WIDGET_DEP.FROM_INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.FROM_FIELD_ID=OPB_WIDGET_FIELD.FIELD_ID) OR (OPB_WIDGET_DEP.TO_INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND OPB_WIDGET_DEP.TO_FIELD_ID=OPB_WIDGET_FIELD.FIELD_ID)))

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:120/334
Last modification: 3/12/2010 5:51:38 PM

CREATE VIEW REP_MAPPING_CONN_PORTS AS SELECT OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, INST_FROM.WIDGET_ID FROM_OBJECT_ID, INST_FROM.WIDGET_TYPE FROM_OBJECT_TYPE, FROM_OBJECT_TYPE.OBJECT_TYPE_NAME FROM_OBJECT_TYPE_NAME, INST_FROM.INSTANCE_NAME FROM_OBJECT_NAME, OPB_WIDGET_DEP.FROM_INSTANCE_ID FROM_OBJECT_INSTANCE_ID, OPB_SRC_FLD.SRC_NAME FROM_OBJECT_FIELD_NAME, OPB_SRC_FLD.VERSION_NUMBER FROM_OBJECT_VERSION_NUMBER, INST_TO.WIDGET_ID TO_OBJECT_ID, INST_TO.WIDGET_TYPE TO_OBJECT_TYPE, TO_OBJECT_TYPE.OBJECT_TYPE_NAME TO_OBJECT_TYPE_NAME, INST_TO.INSTANCE_NAME TO_OBJECT_NAME, OPB_WIDGET_DEP.TO_INSTANCE_ID TO_OBJECT_INSTANCE_ID, OPB_WIDGET_FIELD.FIELD_NAME TO_OBJECT_FIELD_NAME, OPB_WIDGET_FIELD.VERSION_NUMBER TO_OBJECT_VERSION_NUMBER FROM OPB_WIDGET_INST INST_FROM, OPB_WIDGET_INST INST_TO, OPB_WIDGET_DEP, OPB_SRC_FLD, OPB_WIDGET_FIELD, OPB_MAPPING, OPB_SUBJECT, OPB_SRC, OPB_OBJECT_TYPE FROM_OBJECT_TYPE, OPB_OBJECT_TYPE TO_OBJECT_TYPE, OPB_WIDGET WHERE INST_FROM.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND INST_FROM.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND INST_FROM.WIDGET_TYPE=1 AND INST_FROM.WIDGET_ID= OPB_SRC_FLD.SRC_ID AND OPB_SRC_FLD.SRC_ID = OPB_SRC.SRC_ID AND OPB_SRC_FLD.VERSION_NUMBER = OPB_SRC.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 AND INST_FROM.INSTANCE_ID = OPB_WIDGET_DEP.FROM_INSTANCE_ID AND INST_FROM.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND INST_TO.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND INST_TO.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND INST_TO.WIDGET_TYPE != 1 AND INST_TO.WIDGET_TYPE!=2 AND INST_TO.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND INST_TO.WIDGET_ID = OPB_WIDGET_FIELD.WIDGET_ID AND OPB_WIDGET.VERSION_NUMBER = OPB_WIDGET_FIELD.VERSION_NUMBER AND OPB_WIDGET.IS_VISIBLE = 1 AND INST_TO.INSTANCE_ID= OPB_WIDGET_DEP.TO_INSTANCE_ID AND INST_TO.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND OPB_WIDGET_DEP.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_DEP.FROM_FIELD_ID= OPB_SRC_FLD.FLDID AND OPB_WIDGET_DEP.TO_FIELD_ID = OPB_WIDGET_FIELD.FIELD_ID AND OPB_SUBJECT.SUBJ_ID = OPB_MAPPING.SUBJECT_ID AND INST_FROM.WIDGET_TYPE = FROM_OBJECT_TYPE.OBJECT_TYPE_ID AND INST_TO.WIDGET_TYPE = TO_OBJECT_TYPE.OBJECT_TYPE_ID UNION ALL SELECT

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:121/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, INST_FROM.WIDGET_ID FROM_OBJECT_ID, INST_FROM.WIDGET_TYPE FROM_OBJECT_TYPE, FROM_OBJECT_TYPE.OBJECT_TYPE_NAME FROM_OBJECT_TYPE_NAME, INST_FROM.INSTANCE_NAME FROM_OBJECT_NAME, OPB_WIDGET_DEP.FROM_INSTANCE_ID FROM_OBJECT_INSTANCE_ID, FIELDS_FROM.FIELD_NAME FROM_OBJECT_FIELD_NAME, FIELDS_FROM.VERSION_NUMBER FROM_OBJECT_VERSION_NUMBER, INST_TO.WIDGET_ID TO_OBJECT_ID, INST_TO.WIDGET_TYPE TO_OBJECT_TYPE, TO_OBJECT_TYPE.OBJECT_TYPE_NAME TO_OBJECT_TYPE_NAME, INST_TO.INSTANCE_NAME TO_OBJECT_NAME, OPB_WIDGET_DEP.TO_INSTANCE_ID TO_OBJECT_INSTANCE_ID, FIELDS_TO.FIELD_NAME TO_OBJECT_FIELD_NAME, FIELDS_TO.VERSION_NUMBER TO_OBJECT_VERSION_NUMBER FROM OPB_WIDGET_INST INST_FROM, OPB_WIDGET_INST INST_TO, OPB_WIDGET_FIELD FIELDS_FROM, OPB_WIDGET_FIELD FIELDS_TO, OPB_WIDGET_DEP, OPB_MAPPING, OPB_SUBJECT, OPB_OBJECT_TYPE FROM_OBJECT_TYPE, OPB_OBJECT_TYPE TO_OBJECT_TYPE, OPB_WIDGET WIDGET_FROM, OPB_WIDGET WIDGET_TO WHERE INST_FROM.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND INST_FROM.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND INST_FROM.WIDGET_TYPE != 1 AND INST_FROM.WIDGET_TYPE!=2 AND INST_FROM.WIDGET_ID=FIELDS_FROM.WIDGET_ID AND INST_FROM.WIDGET_ID=WIDGET_FROM.WIDGET_ID AND WIDGET_FROM.VERSION_NUMBER = FIELDS_FROM.VERSION_NUMBER AND WIDGET_FROM.IS_VISIBLE = 1 AND INST_FROM.INSTANCE_ID = OPB_WIDGET_DEP.FROM_INSTANCE_ID AND INST_FROM.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND INST_TO.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND INST_TO.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND INST_TO.WIDGET_TYPE != 1 AND INST_TO.WIDGET_TYPE!=2 AND INST_TO.WIDGET_ID= FIELDS_TO.WIDGET_ID AND INST_TO.WIDGET_ID=WIDGET_TO.WIDGET_ID AND WIDGET_TO.VERSION_NUMBER = FIELDS_TO.VERSION_NUMBER AND INST_TO.INSTANCE_ID= OPB_WIDGET_DEP.TO_INSTANCE_ID AND INST_TO.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND WIDGET_TO.IS_VISIBLE = 1 AND OPB_WIDGET_DEP.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_DEP.FROM_FIELD_ID = FIELDS_FROM.FIELD_ID AND OPB_WIDGET_DEP.TO_FIELD_ID = FIELDS_TO.FIELD_ID AND OPB_SUBJECT.SUBJ_ID = OPB_MAPPING.SUBJECT_ID AND INST_FROM.WIDGET_TYPE = FROM_OBJECT_TYPE.OBJECT_TYPE_ID AND INST_TO.WIDGET_TYPE = TO_OBJECT_TYPE.OBJECT_TYPE_ID UNION ALL SELECT OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:122/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MAPPING.MAPPING_ID MAPPING_ID, OPB_MAPPING.MAPPING_NAME MAPPING_NAME, OPB_MAPPING.VERSION_NUMBER MAPPING_VERSION_NUMBER, INST_FROM.WIDGET_ID FROM_OBJECT_ID, INST_FROM.WIDGET_TYPE FROM_OBJECT_TYPE, FROM_OBJECT_TYPE.OBJECT_TYPE_NAME FROM_OBJECT_TYPE_NAME, INST_FROM.INSTANCE_NAME FROM_OBJECT_NAME, OPB_WIDGET_DEP.FROM_INSTANCE_ID FROM_OBJECT_INSTANCE_ID, OPB_WIDGET_FIELD.FIELD_NAME FROM_OBJECT_FIELD_NAME, OPB_WIDGET_FIELD.VERSION_NUMBER FROM_OBJECT_VERSION_NUMBER, INST_TO.WIDGET_ID TO_OBJECT_ID, INST_TO.WIDGET_TYPE TO_OBJECT_TYPE, TO_OBJECT_TYPE.OBJECT_TYPE_NAME TO_OBJECT_TYPE_NAME, INST_TO.INSTANCE_NAME TO_OBJECT_NAME, OPB_WIDGET_DEP.TO_INSTANCE_ID TO_OBJECT_INSTANCE_ID, OPB_TARG_FLD.TARGET_NAME TO_OBJECT_FIELD_NAME, OPB_TARG_FLD.VERSION_NUMBER TO_OBJECT_VERSION_NUMBER FROM OPB_WIDGET_INST INST_FROM, OPB_WIDGET_INST INST_TO, OPB_WIDGET_DEP, OPB_WIDGET_FIELD, OPB_TARG_FLD, OPB_MAPPING, OPB_SUBJECT, OPB_TARG, OPB_OBJECT_TYPE FROM_OBJECT_TYPE, OPB_OBJECT_TYPE TO_OBJECT_TYPE, OPB_WIDGET WHERE INST_FROM.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND INST_FROM.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_WIDGET.IS_VISIBLE = 1 AND INST_FROM.WIDGET_TYPE != 1 AND INST_FROM.WIDGET_TYPE != 2 AND INST_FROM.WIDGET_ID = OPB_WIDGET_FIELD.WIDGET_ID AND INST_FROM.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND OPB_WIDGET.VERSION_NUMBER = OPB_WIDGET_FIELD.VERSION_NUMBER AND INST_FROM.INSTANCE_ID= OPB_WIDGET_DEP.FROM_INSTANCE_ID AND INST_FROM.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND INST_TO.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND INST_TO.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND INST_TO.WIDGET_TYPE = 2 AND INST_TO.WIDGET_ID = OPB_TARG_FLD.TARGET_ID AND OPB_TARG_FLD.TARGET_ID = OPB_TARG.TARGET_ID AND OPB_TARG_FLD.VERSION_NUMBER = OPB_TARG.VERSION_NUMBER AND OPB_TARG.IS_VISIBLE = 1 AND INST_TO.INSTANCE_ID = OPB_WIDGET_DEP.TO_INSTANCE_ID AND INST_TO.VERSION_NUMBER = OPB_WIDGET_DEP.VERSION_NUMBER AND OPB_WIDGET_DEP.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_DEP.FROM_FIELD_ID = OPB_WIDGET_FIELD.FIELD_ID AND OPB_WIDGET_DEP.TO_FIELD_ID = OPB_TARG_FLD.FLDID AND OPB_SUBJECT.SUBJ_ID = OPB_MAPPING.SUBJECT_ID AND INST_FROM.WIDGET_TYPE = FROM_OBJECT_TYPE.OBJECT_TYPE_ID AND INST_TO.WIDGET_TYPE = TO_OBJECT_TYPE.OBJECT_TYPE_ID CREATE VIEW REP_METADATA_EXTNS AS SELECT OPB_METAEXT_VAL.SUBJECT_ID, OPB_METAEXT_VAL.METAEXT_NAME METADATA_EXTN_NAME, OPB_METAEXT_VAL.OBJECT_TYPE METADATA_EXTN_OBJECT_TYPE, OPB_METAEXT_VAL.OBJECT_ID METADATA_EXTN_OBJECT_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:123/334
Last modification: 3/12/2010 5:51:38 PM

OPB_METAEXT_VAL.DATA_TYPE METADATA_EXTN_DATA_TYPE, OPB_METAEXT_VAL.PERMISSIONS PERMISSIONS, OPB_METAEXT_VAL.PM_VALUE METADATA_EXTN_VALUE, OPB_METAEXT_VAL.LINE_NO, OPB_METAEXT_VAL.METAEXT_DESC METADATA_EXTN_DESCRIPTION, OPB_METAEXT_VAL.VERSION_NUMBER, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME OBJECT_TYPE_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_KEY DOMAIN_KEY, OPB_MMD_DOMAIN.DOMAIN_USAGE DOMAIN_USAGE, OPB_MMD_DOMAIN.DOMAIN_DESC DOMAIN_DESCRIPTION FROM OPB_METAEXT_VAL, OPB_MMD_DOMAIN, OPB_OBJECT_TYPE WHERE OPB_METAEXT_VAL.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_METAEXT_VAL.OBJECT_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID UNION ALL SELECT 0 SUBJECT_ID, NULL METADATA_EXTN_NAME, 0 METADATA_EXTN_OBJECT_TYPE, 0 METADATA_EXTN_OBJECT_ID, 0 METADATA_EXTN_DATA_TYPE, 0 PERMISSIONS, NULL METADATA_EXTN_VALUE, 0 LINE_NO, NULL METADATA_EXTN_DESCRIPTION, 0 VERSION_NUMBER, NULL OBJECT_TYPE_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_KEY DOMAIN_KEY, OPB_MMD_DOMAIN.DOMAIN_USAGE DOMAIN_USAGE, OPB_MMD_DOMAIN.DOMAIN_DESC DOMAIN_DESCRIPTION FROM OPB_MMD_DOMAIN WHERE NOT EXISTS (SELECT 'X' FROM OPB_METAEXT_VAL WHERE OPB_MMD_DOMAIN.DOMAIN_ID = OPB_METAEXT_VAL.DOMAIN_ID) CREATE VIEW REP_METADATA_EXTN_DEFINES AS SELECT OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_METAEXT.METAEXT_NAME, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, OPB_MMD_DBTYPE.DBTYPE_NAME DATABASE_TYPE, OPB_MMD_METAEXT.METAEXT_DESC METADATA_EXTN_DESCRIPTION, OPB_MMD_CATALOG.VENDOR_NAME FROM OPB_MMD_METAEXT, OPB_OBJECT_TYPE, OPB_MMD_DBTYPE, OPB_MMD_DOMAIN, OPB_MMD_CATALOG WHERE OPB_MMD_METAEXT.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_MMD_METAEXT.OBJECT_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:124/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_MMD_METAEXT.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_MMD_METAEXT.OBJECT_TYPE > 0 AND OPB_MMD_METAEXT.DBTYPE >= 0 AND OPB_MMD_METAEXT.VENDOR_ID = OPB_MMD_CATALOG.VENDOR_ID UNION ALL SELECT OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_METAEXT.METAEXT_NAME, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, OPB_MMD_DBTYPE.DBTYPE_NAME DATABASE_TYPE, OPB_MMD_METAEXT.METAEXT_DESC METADATA_EXTN_DESCRIPTION, NULL VENDOR_NAME FROM OPB_MMD_METAEXT, OPB_OBJECT_TYPE, OPB_MMD_DBTYPE, OPB_MMD_DOMAIN WHERE OPB_MMD_METAEXT.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_MMD_METAEXT.OBJECT_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_MMD_METAEXT.DBTYPE = OPB_MMD_DBTYPE.DBTYPE_ID AND OPB_MMD_METAEXT.OBJECT_TYPE > 0 AND OPB_MMD_METAEXT.DBTYPE >= 0 AND NOT EXISTS (SELECT 'X' FROM OPB_MMD_CATALOG WHERE OPB_MMD_CATALOG.VENDOR_ID = OPB_MMD_METAEXT.VENDOR_ID) UNION ALL SELECT OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_METAEXT.METAEXT_NAME, 'ALL' AS OBJECT_TYPE_NAME, 'N/A' AS DATABASE_TYPE, OPB_MMD_METAEXT.METAEXT_DESC METADATA_EXTN_DESCRIPTION, OPB_MMD_CATALOG.VENDOR_NAME FROM OPB_MMD_METAEXT, OPB_MMD_DOMAIN, OPB_MMD_CATALOG WHERE OPB_MMD_METAEXT.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_MMD_METAEXT.OBJECT_TYPE = 0 AND OPB_MMD_METAEXT.VENDOR_ID = OPB_MMD_CATALOG.VENDOR_ID UNION ALL SELECT OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_METAEXT.METAEXT_NAME, 'ALL' AS OBJECT_TYPE_NAME, 'N/A' AS DATABASE_TYPE, OPB_MMD_METAEXT.METAEXT_DESC METADATA_EXTN_DESCRIPTION, NULL VENDOR_NAME FROM OPB_MMD_METAEXT, OPB_MMD_DOMAIN WHERE OPB_MMD_METAEXT.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_MMD_METAEXT.OBJECT_TYPE = 0 AND NOT EXISTS (SELECT 'X' FROM OPB_MMD_CATALOG WHERE OPB_MMD_CATALOG.VENDOR_ID = OPB_MMD_METAEXT.VENDOR_ID) UNION ALL SELECT

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:125/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_METAEXT.METAEXT_NAME, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, 'ALL' AS DATABASE_TYPE, OPB_MMD_METAEXT.METAEXT_DESC METADATA_EXTN_DESCRIPTION, OPB_MMD_CATALOG.VENDOR_NAME FROM OPB_MMD_METAEXT, OPB_OBJECT_TYPE, OPB_MMD_DOMAIN, OPB_MMD_CATALOG WHERE OPB_MMD_METAEXT.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_MMD_METAEXT.OBJECT_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_MMD_METAEXT.OBJECT_TYPE > 0 AND OPB_MMD_METAEXT.DBTYPE = -1 AND OPB_MMD_METAEXT.VENDOR_ID = OPB_MMD_CATALOG.VENDOR_ID UNION ALL SELECT OPB_MMD_DOMAIN.DOMAIN_NAME DOMAIN_NAME, OPB_MMD_DOMAIN.DOMAIN_ID DOMAIN_ID, OPB_MMD_METAEXT.METAEXT_NAME, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, 'ALL' AS DATABASE_TYPE, OPB_MMD_METAEXT.METAEXT_DESC METADATA_EXTN_DESCRIPTION, NULL VENDOR_NAME FROM OPB_MMD_METAEXT, OPB_OBJECT_TYPE, OPB_MMD_DOMAIN WHERE OPB_MMD_METAEXT.DOMAIN_ID = OPB_MMD_DOMAIN.DOMAIN_ID AND OPB_MMD_METAEXT.OBJECT_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_MMD_METAEXT.OBJECT_TYPE > 0 AND OPB_MMD_METAEXT.DBTYPE = -1 AND NOT EXISTS (SELECT 'X' FROM OPB_MMD_CATALOG WHERE OPB_MMD_CATALOG.VENDOR_ID = OPB_MMD_METAEXT.VENDOR_ID) CREATE VIEW REP_ALL_TASKS AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_SUBJECT.SUBJ_ID SUBJECT_ID, OPB_TASK.TASK_NAME, OPB_TASK.TASK_ID, OPB_TASK.IS_VALID, OPB_TASK.LAST_SAVED, OPB_TASK.COMMENTS DESCRIPTION, OPB_TASK.VERSION_NUMBER, OPB_TASK.IS_ENABLED, OPB_TASK.UTC_CHECKIN, OPB_TASK.UTC_LAST_SAVED, OPB_TASK.IS_REUSABLE, OPB_TASK.TASK_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME TASK_TYPE_NAME FROM OPB_TASK, OPB_SUBJECT, OPB_OBJECT_TYPE WHERE OPB_TASK.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID AND OPB_TASK.IS_VISIBLE = 1 AND OPB_TASK.TASK_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:126/334
Last modification: 3/12/2010 5:51:38 PM

CREATE VIEW REP_ALL_SCHEDULERS AS SELECT OPB_SCHEDULER.SUBJECT_ID, OPB_SCHEDULER.SCHEDULER_ID, OPB_SCHEDULER.SCHEDULER_NAME, OPB_SCHEDULER.START_TIME, OPB_SCHEDULER.END_TIME, OPB_SCHEDULER.RUN_OPTIONS, OPB_SCHEDULER.END_OPTIONS, OPB_SCHEDULER.DELTA_VALUE, OPB_SCHEDULER.RUN_COUNT, OPB_SCHEDULER.COMMENTS DESCRIPTION, OPB_SCHEDULER.IS_REUSABLE, OPB_SCHEDULER.LAST_SAVED, OPB_SCHEDULER.VERSION_NUMBER, OPB_SCHEDULER.UTC_LAST_SAVED, OPB_SCHEDULER.UTC_CHECKIN FROM OPB_SCHEDULER WHERE OPB_SCHEDULER.IS_VISIBLE = 1 CREATE VIEW REP_WFLOW_VAR AS SELECT OPB_WFLOW_VAR.SUBJECT_ID, OPB_WFLOW_VAR.WORKFLOW_ID, OPB_WFLOW_VAR.VARIABLE_ID, OPB_WFLOW_VAR.VAR_NAME VARIABLE_NAME, OPB_WFLOW_VAR.VAR_TYPE VARIABLE_TYPE, OPB_WFLOW_VAR.VAR_DESC VARIABLE_DESCRIPTION, OPB_WFLOW_VAR.VAR_DATATYPE VARIABLE_DATATYPE, OPB_WFLOW_VAR.VAR_DEFAULT VARIABLE_DEFAULT_VALUE, OPB_WFLOW_VAR.LAST_SAVED, OPB_WFLOW_VAR.TASK_INST_ID, OPB_WFLOW_VAR.TASK_INST_NAME, OPB_WFLOW_VAR.BIT_OPTIONS, OPB_WFLOW_VAR.VERSION_NUMBER FROM OPB_WFLOW_VAR CREATE VIEW REP_EVENT AS SELECT OPB_EVENT.SUBJECT_ID, OPB_EVENT.WORKFLOW_ID, OPB_EVENT.EVENT_ID, OPB_EVENT.EVENT_NAME, OPB_EVENT.EVENT_TYPE, OPB_EVENT.EVENT_SCOPE, OPB_EVENT.EVENT_DESC EVENT_DESCRIPTION, OPB_EVENT.LAST_SAVED, OPB_EVENT.VERSION_NUMBER FROM OPB_EVENT, OPB_TASK WHERE OPB_EVENT.WORKFLOW_ID = OPB_TASK.TASK_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:127/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_EVENT.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1

= OPB_TASK.VERSION_NUMBER

CREATE VIEW REP_TASK_INST AS SELECT OPB_TASK_INST.WORKFLOW_ID, OPB_TASK_INST.INSTANCE_ID, OPB_TASK_INST.TASK_ID, OPB_TASK_INST.TASK_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME TASK_TYPE_NAME, OPB_TASK_INST.INSTANCE_NAME, OPB_TASK_INST.IS_ENABLED, OPB_TASK_INST.COMMENTS DESCRIPTION, OPB_TASK_INST.IS_VALID, OPB_TASK_INST.VERSION_NUMBER, OPB_TASK_INST.SERVER_ID FROM OPB_TASK_INST, OPB_OBJECT_TYPE, OPB_TASK WHERE OPB_TASK_INST.TASK_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_TASK_INST.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_TASK_INST.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 CREATE VIEW REP_WORKFLOW_DEP AS SELECT OPB_WFLOW_DEP.WORKFLOW_ID, OPB_WFLOW_DEP.FROM_INST_ID FROM_INSTANCE_ID, OPB_WFLOW_DEP.TO_INST_ID TO_INSTANCE_ID, OPB_WFLOW_DEP.CONDITION_ID, OPB_WFLOW_DEP.VERSION_NUMBER, OPB_WFLOW_EXPR.CONDITION FROM OPB_WFLOW_DEP, OPB_WFLOW_EXPR, OPB_TASK WHERE OPB_WFLOW_DEP.WORKFLOW_ID = OPB_WFLOW_EXPR.WORKFLOW_ID AND OPB_WFLOW_DEP.CONDITION_ID = OPB_WFLOW_EXPR.CONDITION_ID AND OPB_WFLOW_DEP.VERSION_NUMBER = OPB_WFLOW_EXPR.VERSION_NUMBER AND OPB_WFLOW_DEP.WORKFLOW_ID = OPB_TASK.TASK_ID AND OPB_WFLOW_DEP.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_WFLOW_EXPR.LINE_NO = 1 CREATE VIEW REP_TASK_ATTR AS SELECT OPB_TASK_ATTR.WORKFLOW_ID, OPB_TASK_ATTR.INSTANCE_ID, OPB_TASK_ATTR.TASK_ID, OPB_TASK_ATTR.TASK_TYPE, OPB_TASK_ATTR.REF_SESSION_ID, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME TASK_TYPE_NAME, OPB_TASK_ATTR.ATTR_ID, OPB_MMD_TASK_ATTR.ATTR_NAME, OPB_TASK_ATTR.ATTR_VALUE, OPB_TASK_ATTR.LINE_NO, OPB_TASK_ATTR.GROUP_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:128/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK_ATTR.VERSION_NUMBER FROM OPB_TASK_ATTR, OPB_OBJECT_TYPE, OPB_MMD_TASK_ATTR WHERE OPB_TASK_ATTR.TASK_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID AND OPB_TASK_ATTR.TASK_TYPE = OPB_MMD_TASK_ATTR.OBJECT_TYPE_ID AND OPB_TASK_ATTR.ATTR_ID = OPB_MMD_TASK_ATTR.ATTR_ID CREATE VIEW REP_SESS_WIDGET_CNXS AS SELECT OPB_SWIDGET_INST.INSTANCE_ID WIDGET_INSTANCE_ID, OPB_SWIDGET_INST.WIDGET_TYPE WIDGET_TYPE, OPB_SWIDGET_INST.INSTANCE_NAME INSTANCE_NAME, OPB_MMD_SESS_EXTNS.OBJECT_NAME READER_WRITER_TYPE, OPB_CNX.OBJECT_NAME CNX_NAME, OPB_SWIDGET_INST.SESSION_ID, OPB_SWIDGET_INST.SESS_WIDG_INST_ID, OPB_SESS_EXTNS.OBJECT_TYPE SESS_EXTN_OBJECT_TYPE, OPB_SESS_EXTNS.OBJECT_SUBTYPE SESS_EXTN_OBJECT_SUBTYPE, OPB_SESS_CNX_REFS.REF_OBJECT_TYPE SESS_CNX_REFS_OBJECT_TYPE, OPB_SESS_CNX_REFS.REF_OBJECT_SUBTYP SESS_CNX_REFS_OBJECT_SUBTYPE, OPB_SESS_CNX_REFS.REF_OBJECT_ID SESS_CNX_REFS_OBJECT_ID, OPB_SESS_CNX_REFS.WORKFLOW_ID WORKFLOW_ID, OPB_SESS_CNX_REFS.SESSION_INST_ID SESSION_INSTANCE_ID, OPB_SWIDGET_INST.VERSION_NUMBER SESSION_VERSION_NUMBER FROM OPB_SWIDGET_INST, OPB_SESS_EXTNS, OPB_MMD_SESS_EXTNS, OPB_SESS_CNX_REFS, OPB_CNX, OPB_TASK WHERE OPB_SWIDGET_INST.WIDGET_TYPE IN (1,2, 3, 56, 45, 55, 84) AND OPB_SWIDGET_INST.SESSION_ID = OPB_SESS_EXTNS.SESSION_ID AND OPB_SWIDGET_INST.SESS_WIDG_INST_ID = OPB_SESS_EXTNS.SESS_WIDG_INST_ID AND OPB_SESS_EXTNS.OBJECT_TYPE = OPB_MMD_SESS_EXTNS.OBJECT_TYPE AND OPB_SESS_EXTNS.OBJECT_SUBTYPE = OPB_MMD_SESS_EXTNS.OBJECT_SUBTYPE AND OPB_SESS_EXTNS.SESSION_ID = OPB_SESS_CNX_REFS.SESSION_ID AND OPB_SESS_CNX_REFS.REF_OBJECT_TYPE = OPB_CNX.OBJECT_TYPE AND OPB_SESS_CNX_REFS.REF_OBJECT_SUBTYP = OPB_CNX.OBJECT_SUBTYPE AND OPB_SESS_CNX_REFS.REF_OBJECT_ID = OPB_CNX.OBJECT_ID AND OPB_SESS_EXTNS.SESS_WIDG_INST_ID = OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_SESS_EXTNS.VERSION_NUMBER AND OPB_SESS_CNX_REFS.WORKFLOW_ID = 0 AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_SESS_CNX_REFS.VERSION_NUMBER AND OPB_SWIDGET_INST.SESSION_ID = OPB_TASK.TASK_ID AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 UNION ALL SELECT OPB_SWIDGET_INST.INSTANCE_ID WIDGET_INSTANCE_ID, OPB_SWIDGET_INST.WIDGET_TYPE WIDGET_TYPE, OPB_SWIDGET_INST.INSTANCE_NAME INSTANCE_NAME, OPB_MMD_SESS_EXTNS.OBJECT_NAME READER_WRITER_TYPE, OPB_SESS_CNX_REFS.REF_OBJECT_VALUE CNX_NAME, OPB_SWIDGET_INST.SESSION_ID, OPB_SWIDGET_INST.SESS_WIDG_INST_ID, OPB_SESS_EXTNS.OBJECT_TYPE SESS_EXTN_OBJECT_TYPE, OPB_SESS_EXTNS.OBJECT_SUBTYPE SESS_EXTN_OBJECT_SUBTYPE, OPB_SESS_CNX_REFS.REF_OBJECT_TYPE SESS_CNX_REFS_OBJECT_TYPE,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:129/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SESS_CNX_REFS.REF_OBJECT_SUBTYP SESS_CNX_REFS_OBJECT_SUBTYPE, OPB_SESS_CNX_REFS.REF_OBJECT_ID SESS_CNX_REFS_OBJECT_ID, OPB_SESS_CNX_REFS.WORKFLOW_ID WORKFLOW_ID, OPB_SESS_CNX_REFS.SESSION_INST_ID, OPB_SWIDGET_INST.VERSION_NUMBER SESSION_VERSION_NUMBER FROM OPB_SWIDGET_INST, OPB_SESS_EXTNS, OPB_MMD_SESS_EXTNS, OPB_SESS_CNX_REFS, OPB_TASK WHERE OPB_SWIDGET_INST.WIDGET_TYPE IN (1,2, 3, 56, 45, 55, 84) AND OPB_SWIDGET_INST.SESSION_ID = OPB_SESS_EXTNS.SESSION_ID AND OPB_SESS_CNX_REFS.SESSION_ID = OPB_SESS_EXTNS.SESSION_ID AND OPB_SWIDGET_INST.SESS_WIDG_INST_ID = OPB_SESS_EXTNS.SESS_WIDG_INST_ID AND OPB_SESS_EXTNS.OBJECT_TYPE = OPB_MMD_SESS_EXTNS.OBJECT_TYPE AND OPB_SESS_EXTNS.OBJECT_SUBTYPE = OPB_MMD_SESS_EXTNS.OBJECT_SUBTYPE AND OPB_SESS_CNX_REFS.REF_OBJECT_ID = 0 AND OPB_SESS_EXTNS.SESS_WIDG_INST_ID = OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_SESS_EXTNS.VERSION_NUMBER AND OPB_SESS_CNX_REFS.WORKFLOW_ID = 0 AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_SESS_CNX_REFS.VERSION_NUMBER AND OPB_SWIDGET_INST.SESSION_ID = OPB_TASK.TASK_ID AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 CREATE VIEW REP_COMPONENT AS SELECT OPB_COMPONENT.WORKFLOW_ID, OPB_COMPONENT.TASK_ID, OPB_COMPONENT.TASK_INST_ID, OPB_COMPONENT.REF_OBJ_ID, OPB_COMPONENT.REF_OBJ_TYPE, OPB_COMPONENT.OBJECT_TYPE, OPB_COMPONENT.OBJECT_SEQ_TYPE, OPB_COMPONENT.VERSION_NUMBER, OPB_TASK_VAL_LIST.PM_VALUE, OPB_TASK_VAL_LIST.VAL_NAME, OPB_TASK_VAL_LIST.DESCRIPTION FROM OPB_COMPONENT, OPB_TASK_VAL_LIST WHERE OPB_COMPONENT.REF_OBJ_ID = OPB_TASK_VAL_LIST.TASK_ID AND OPB_COMPONENT.VERSION_NUMBER = OPB_TASK_VAL_LIST.VERSION_NUMBER AND OPB_COMPONENT.OBJECT_TYPE = OPB_TASK_VAL_LIST.TASK_TYPE AND OPB_TASK_VAL_LIST.LINE_NO = 1 AND OPB_COMPONENT.OBJECT_TYPE NOT IN (72) UNION ALL SELECT OPB_COMPONENT.WORKFLOW_ID, OPB_COMPONENT.TASK_ID, OPB_COMPONENT.TASK_INST_ID, OPB_COMPONENT.REF_OBJ_ID, OPB_COMPONENT.REF_OBJ_TYPE, OPB_COMPONENT.OBJECT_TYPE, OPB_COMPONENT.OBJECT_SEQ_TYPE, OPB_COMPONENT.VERSION_NUMBER, NULL PM_VALUE,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:130/334
Last modification: 3/12/2010 5:51:38 PM

NULL VAL_NAME, NULL DESCRIPTION FROM OPB_COMPONENT WHERE OPB_COMPONENT.OBJECT_TYPE NOT IN (72) AND OPB_COMPONENT.REF_OBJ_ID = 0 CREATE VIEW REP_SESS_PARTITION_DEF AS SELECT OPB_PARTITION_DEF.SESSION_ID, OPB_PARTITION_DEF.SESS_WIDG_INST_ID, OPB_PARTITION_DEF.PARTITION_ID, OPB_PARTITION_DEF.PARTITION_NAME, OPB_PARTITION_DEF.COMMENTS DESCRIPTION, OPB_PARTITION_DEF.LAST_SAVED, OPB_PARTITION_DEF.VERSION_NUMBER, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, OPB_SWIDGET_INST.INSTANCE_ID, OPB_SWIDGET_INST.INSTANCE_NAME, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME TYPE_NAME FROM OPB_PARTITION_DEF, OPB_SWIDGET_INST, OPB_OBJECT_TYPE, OPB_TASK WHERE OPB_PARTITION_DEF.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_PARTITION_DEF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_OBJECT_TYPE.OBJECT_TYPE_ID = OPB_SWIDGET_INST.WIDGET_TYPE AND OPB_PARTITION_DEF.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SWIDGET_INST.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_SWIDGET_INST.SESSION_ID = OPB_TASK.TASK_ID AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.IS_VISIBLE = 1 CREATE VIEW REP_SESS_CONFIG_PARM AS SELECT OPB_CFG_ATTR.SESSION_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, OPB_SESSION_CONFIG.CONFIG_ID, OPB_CFG_ATTR.ATTR_ID, OPB_MMD_CFG_ATTR.ATTR_TYPE, OPB_MMD_CFG_ATTR.ATTR_NAME, OPB_CFG_ATTR.ATTR_VALUE FROM OPB_CFG_ATTR, OPB_MMD_CFG_ATTR, OPB_TASK, OPB_SESSION_CONFIG, OPB_COMPONENT WHERE OPB_CFG_ATTR.ATTR_ID = OPB_MMD_CFG_ATTR.ATTR_ID AND OPB_CFG_ATTR.SESSION_ID > 0 AND OPB_CFG_ATTR.ATTR_ID NOT IN (1,101,201) AND OPB_CFG_ATTR.SESSION_ID = OPB_TASK.TASK_ID AND OPB_CFG_ATTR.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.IS_VISIBLE = 1 AND OPB_CFG_ATTR.SESSION_ID = OPB_COMPONENT.TASK_ID AND OPB_COMPONENT.OBJECT_TYPE = 72

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:131/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_COMPONENT.WORKFLOW_ID = 0 AND OPB_COMPONENT.TASK_INST_ID = 0 AND OPB_COMPONENT.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_COMPONENT.REF_OBJ_ID = OPB_SESSION_CONFIG.CONFIG_ID AND OPB_SESSION_CONFIG.IS_VISIBLE = 1 UNION ALL SELECT OPB_TASK.TASK_ID SESSION_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, OPB_CFG_ATTR.CONFIG_ID, OPB_CFG_ATTR.ATTR_ID, OPB_MMD_CFG_ATTR.ATTR_TYPE, OPB_MMD_CFG_ATTR.ATTR_NAME, OPB_CFG_ATTR.ATTR_VALUE FROM OPB_TASK, OPB_CFG_ATTR, OPB_MMD_CFG_ATTR WHERE OPB_CFG_ATTR.ATTR_ID = OPB_MMD_CFG_ATTR.ATTR_ID AND OPB_CFG_ATTR.SESSION_ID = 0 AND OPB_CFG_ATTR.ATTR_ID NOT IN (1,101,201) AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.IS_VISIBLE = 1 AND OPB_CFG_ATTR.CONFIG_ID IN (SELECT C.CONFIG_ID FROM OPB_CFG_ATTR A, OPB_COMPONENT B, OPB_SESSION_CONFIG C WHERE A.SESSION_ID > 0 AND A.ATTR_ID NOT IN (1,101,201) AND A.SESSION_ID = OPB_TASK.TASK_ID AND A.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND A.SESSION_ID = B.TASK_ID AND B.OBJECT_TYPE = 72 AND B.WORKFLOW_ID = 0 AND B.TASK_INST_ID = 0 AND B.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND B.REF_OBJ_ID = C.CONFIG_ID AND C.IS_VISIBLE = 1) AND OPB_CFG_ATTR.ATTR_ID NOT IN (SELECT A.ATTR_ID FROM OPB_CFG_ATTR A, OPB_COMPONENT B, OPB_SESSION_CONFIG C WHERE A.SESSION_ID > 0 AND A.ATTR_ID NOT IN (1,101,201) AND A.SESSION_ID = OPB_TASK.TASK_ID AND A.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND A.SESSION_ID = B.TASK_ID AND B.OBJECT_TYPE = 72 AND B.WORKFLOW_ID = 0 AND B.TASK_INST_ID = 0 AND B.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND B.REF_OBJ_ID = C.CONFIG_ID AND C.IS_VISIBLE = 1) UNION ALL SELECT

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:132/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK.TASK_ID SESSION_ID, OPB_TASK.VERSION_NUMBER SESSION_VERSION_NUMBER, OPB_CFG_ATTR.CONFIG_ID, OPB_CFG_ATTR.ATTR_ID, OPB_MMD_CFG_ATTR.ATTR_TYPE, OPB_MMD_CFG_ATTR.ATTR_NAME, OPB_CFG_ATTR.ATTR_VALUE FROM OPB_TASK, OPB_CFG_ATTR, OPB_MMD_CFG_ATTR, OPB_SESSION_CONFIG WHERE OPB_CFG_ATTR.ATTR_ID = OPB_MMD_CFG_ATTR.ATTR_ID AND OPB_CFG_ATTR.SESSION_ID = 0 AND OPB_CFG_ATTR.ATTR_ID NOT IN (1,101,201) AND OPB_TASK.TASK_TYPE = 68 AND OPB_TASK.IS_VISIBLE = 1 AND NOT EXISTS (SELECT 'X' FROM OPB_CFG_ATTR A, OPB_COMPONENT B, OPB_SESSION_CONFIG C WHERE A.SESSION_ID > 0 AND A.ATTR_ID NOT IN (1,101,201) AND A.SESSION_ID = OPB_TASK.TASK_ID AND A.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND A.SESSION_ID = B.TASK_ID AND B.OBJECT_TYPE = 72 AND B.WORKFLOW_ID = 0 AND B.TASK_INST_ID = 0 AND B.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND B.REF_OBJ_ID = C.CONFIG_ID AND C.IS_VISIBLE = 1) AND OPB_CFG_ATTR.CONFIG_ID = OPB_SESSION_CONFIG.CONFIG_ID AND OPB_TASK.SUBJECT_ID = OPB_SESSION_CONFIG.SUBJECT_ID AND OPB_SESSION_CONFIG.IS_VISIBLE = 1 CREATE VIEW REP_WFLOW_RUN AS SELECT OPB_WFLOW_RUN.SUBJECT_ID, OPB_WFLOW_RUN.WORKFLOW_ID, OPB_WFLOW_RUN.WORKFLOW_RUN_ID, OPB_WFLOW_RUN.WORKFLOW_NAME, OPB_WFLOW_RUN.SERVER_ID, OPB_WFLOW_RUN.SERVER_NAME, OPB_WFLOW_RUN.START_TIME, OPB_WFLOW_RUN.END_TIME, OPB_WFLOW_RUN.LOG_FILE, OPB_WFLOW_RUN.RUN_ERR_CODE, OPB_WFLOW_RUN.RUN_ERR_MSG, OPB_WFLOW_RUN.RUN_STATUS_CODE, OPB_WFLOW_RUN.USER_NAME, OPB_WFLOW_RUN.RUN_TYPE, OPB_WFLOW_RUN.VERSION_NUMBER, OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA FROM OPB_WFLOW_RUN, OPB_SUBJECT

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:133/334
Last modification: 3/12/2010 5:51:38 PM

WHERE OPB_WFLOW_RUN.SUBJECT_ID = OPB_SUBJECT.SUBJ_ID CREATE VIEW REP_TASK_INST_RUN AS SELECT OPB_SUBJECT.SUBJ_NAME SUBJECT_AREA, OPB_WFLOW_RUN.WORKFLOW_NAME, OPB_WFLOW_RUN.VERSION_NUMBER VERSION_NUMBER, OPB_TASK_INST_RUN.SUBJECT_ID, OPB_TASK_INST_RUN.WORKFLOW_ID, OPB_TASK_INST_RUN.WORKFLOW_RUN_ID, OPB_TASK_INST_RUN.WORKLET_RUN_ID, OPB_TASK_INST_RUN.CHILD_RUN_ID, OPB_TASK_INST_RUN.INSTANCE_ID, OPB_TASK_INST_RUN.INSTANCE_NAME, OPB_TASK_INST_RUN.TASK_ID, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME TASK_TYPE_NAME, OPB_TASK_INST_RUN.TASK_TYPE, OPB_TASK_INST_RUN.START_TIME, OPB_TASK_INST_RUN.END_TIME, OPB_TASK_INST_RUN.RUN_ERR_CODE, OPB_TASK_INST_RUN.RUN_ERR_MSG, OPB_TASK_INST_RUN.RUN_STATUS_CODE, OPB_TASK_INST_RUN.TASK_NAME, OPB_TASK_INST_RUN.VERSION_NUMBER TASK_VERSION_NUMBER, OPB_TASK_INST_RUN.SERVER_ID, OPB_TASK_INST_RUN.SERVER_NAME FROM OPB_TASK_INST_RUN, OPB_OBJECT_TYPE, OPB_WFLOW_RUN, OPB_SUBJECT WHERE OPB_SUBJECT.SUBJ_ID = OPB_TASK_INST_RUN.SUBJECT_ID AND OPB_WFLOW_RUN.WORKFLOW_ID = OPB_TASK_INST_RUN.WORKFLOW_ID AND OPB_WFLOW_RUN.WORKFLOW_RUN_ID = OPB_TASK_INST_RUN.WORKFLOW_RUN_ID AND OPB_TASK_INST_RUN.TASK_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID CREATE VIEW REP_DEPLOY_GROUP AS SELECT OPB_CM_DEPLOY.DEP_GROUP_ID, OPB_CM_DEPLOY.DEP_GROUP_NAME, OPB_CM_DEPLOY.COMMENTS DESCRIPTION, OPB_CM_DEPLOY.CREATED_BY, OPB_CM_DEPLOY.OWNER_ID, OPB_CM_DEPLOY.GROUP_ID, OPB_CM_DEPLOY.CREATION_TIME, OPB_CM_DEPLOY.LAST_SAVED, OPB_CM_DEPLOY.GROUP_TYPE, OPB_CM_DEPLOY.QUERY_ID, OPB_CM_QUERY.QUERY_NAME, OPB_CM_QUERY.COMMENTS QUERY_DESCRIPTION, OPB_CM_QUERY.CREATED_BY QUERY_CREATED_BY, OPB_CM_QUERY.OWNER_ID QUERY_OWNER_ID, OPB_CM_QUERY.GROUP_ID QUERY_GROUP_ID, OPB_CM_QUERY.CREATION_TIME QUERY_CREATION_TIME, OPB_CM_QUERY.LAST_SAVED QUERY_LAST_SAVED, OPB_CM_QUERY.QUERY_TYPE QUERY_TYPE FROM

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:134/334
Last modification: 3/12/2010 5:51:38 PM

OPB_CM_DEPLOY, OPB_CM_QUERY WHERE OPB_CM_DEPLOY.QUERY_ID = OPB_CM_QUERY.QUERY_ID UNION ALL SELECT OPB_CM_DEPLOY.DEP_GROUP_ID, OPB_CM_DEPLOY.DEP_GROUP_NAME, OPB_CM_DEPLOY.COMMENTS DESCRIPTION, OPB_CM_DEPLOY.CREATED_BY, OPB_CM_DEPLOY.OWNER_ID, OPB_CM_DEPLOY.GROUP_ID, OPB_CM_DEPLOY.CREATION_TIME, OPB_CM_DEPLOY.LAST_SAVED, OPB_CM_DEPLOY.GROUP_TYPE, OPB_CM_DEPLOY.QUERY_ID, NULL QUERY_NAME, NULL QUERY_DESCRIPTION, NULL QUERY_CREATED_BY, 0 QUERY_OWNER_ID, 0 QUERY_GROUP_ID, NULL QUERY_CREATION_TIME, NULL QUERY_LAST_SAVED, 0 QUERY_TYPE FROM OPB_CM_DEPLOY WHERE OPB_CM_DEPLOY.QUERY_ID = 0 CREATE VIEW REP_DEPLOY_GROUP_DETAIL AS SELECT OPB_CM_DEPDETAIL.DEP_RUN_ID, OPB_CM_DEPDETAIL.OBJECT_ID, OPB_CM_DEPDETAIL.OBJECT_NAME, OPB_CM_DEPDETAIL.OBJECT_TYPE, OPB_OBJECT_TYPE.OBJECT_TYPE_NAME, OPB_CM_DEPDETAIL.SRC_VERNUM SRC_VERSION_NUMBER, OPB_CM_DEPDETAIL.TARG_VERNUM TARG_VERSION_NUMBER, OPB_CM_DEPDETAIL.SRC_SUBJ_ID SRC_SUBJECT_ID, OPB_CM_DEPDETAIL.TARG_SUBJ_ID TARG_SUBJECT_ID, OPB_CM_DEPDETAIL.SRC_SUBJ_NAME SRC_SUBJECT_AREA, OPB_CM_DEPDETAIL.TARG_SUBJ_NAME TARG_SUBJECT_AREA, OPB_CM_DEPDETAIL.IS_SHORTCUT, OPB_CM_DEPLOY_LOG.DEP_GROUP_ID, OPB_CM_DEPLOY_LOG.DEP_GROUP_NAME, OPB_CM_DEPLOY_LOG.DEPLOY_TIME, OPB_CM_DEPLOY_LOG.DEPLOY_TYPE, OPB_CM_DEPLOY_LOG.REP_NAME TARGET_REP_NAME, OPB_CM_DEPLOY_LOG.REP_GID, OPB_CM_DEPLOY_LOG.USER_ID, OPB_CM_DEPLOY_LOG.GROUP_ID, OPB_CM_DEPLOY_LOG.USER_NAME, OPB_CM_DEPLOY_LOG.UTC_DEPLOY_TIME, OPB_CM_DEPLOY_LOG.DEPLOY_STATUS, OPB_CM_DEPLOY_LOG.ROLLBACK_TIME FROM OPB_CM_DEPDETAIL, OPB_CM_DEPLOY_LOG, OPB_OBJECT_TYPE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:135/334
Last modification: 3/12/2010 5:51:38 PM

WHERE OPB_CM_DEPDETAIL.DEP_RUN_ID = OPB_CM_DEPLOY_LOG.DEP_RUN_ID AND OPB_CM_DEPDETAIL.OBJECT_TYPE = OPB_OBJECT_TYPE.OBJECT_TYPE_ID CREATE VIEW REP_LABEL AS SELECT OPB_CM_LABEL.LABEL_ID, OPB_CM_LABEL.LABEL_NAME, OPB_CM_LABEL.COMMENTS DESCRIPTION, OPB_CM_LABEL.CREATED_BY, OPB_CM_LABEL.OWNER_ID, OPB_CM_LABEL.GROUP_ID, OPB_CM_LABEL.CREATION_TIME, OPB_CM_LABEL.LAST_SAVED, OPB_CM_LABEL.LABEL_TYPE, OPB_CM_LABEL.LABEL_STATUS FROM OPB_CM_LABEL CREATE VIEW REP_LABEL_REF AS SELECT OPB_CM_LABEL_REF.LABEL_ID, OPB_CM_LABEL_REF.OBJECT_ID, OPB_CM_LABEL_REF.OBJECT_TYPE, OPB_CM_LABEL_REF.VERSION_NUMBER, OPB_CM_LABEL_REF.SUBJECT_ID, OPB_CM_LABEL_REF.USER_ID, OPB_CM_LABEL_REF.COMMENTS DESCRIPTION, OPB_CM_LABEL_REF.APPLY_TIME FROM OPB_CM_LABEL_REF CREATE VIEW REP_USERS AS SELECT ID USER_ID, NAME_SPACE, NAME USER_NAME, STATUS FROM OPB_USER_GROUP WHERE TYPE = 1 CREATE VIEW REP_REPOSIT_INFO AS SELECT OPB_REPOSIT.RECID, OPB_REPOSIT.REPOSIT_NAME REPOSITORY_NAME, OPB_REPOSIT.REPOSIT_DESC REPOSITORY_DESCRIPTION, OPB_REPOSIT_INFO.REPOSITORY_ID, OPB_REPOSIT_INFO.REPOSITORY_TYPE, OPB_REPOSIT_INFO.DOMAIN_NAME, OPB_REPOSIT_INFO.DB_USER DATABASE_USER, OPB_REPOSIT_INFO.DB_TYPE DATABASE_TYPE, 'N/A' AS HOSTNAME, 'N/A' AS PORTNUM FROM OPB_REPOSIT, OPB_REPOSIT_INFO WHERE OPB_REPOSIT.REPOSIT_NAME = OPB_REPOSIT_INFO.REPOSITORY_NAME AND OPB_REPOSIT.RECID = 1 CREATE VIEW REP_SERVER_INFO AS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:136/334
Last modification: 3/12/2010 5:51:38 PM

SELECT SERVER_ID, SERVER_NAME, HOST_INFO, TIMEOUT, PORT_NO, HOSTNAME, IP_ADDRESS, LAST_SAVED FROM OPB_SERVER_INFO WHERE SERVER_TYPE = 41 CREATE VIEW REP_SUBJECT AS SELECT SUBJ_NAME SUBJECT_AREA, SUBJ_ID SUBJECT_ID, SUBJ_DESC DESCRIPTION FROM OPB_SUBJECT CREATE VIEW REP_SERVER_NET AS SELECT SERVER_NET_ID, SERVER_NET_NAME , SERVER_NET_DESC SERVER_NET_DESCRIPTION, LAST_SAVED FROM OPB_SERVER_NET CREATE VIEW REP_SERVER_NET_REF AS SELECT SERVER_NET_ID, SERVER_ID, BIT_OPTIONS FROM OPB_SERVER_NET_REF CREATE VIEW REP_VERSION_PROPS AS SELECT OBJECT_ID, OBJECT_TYPE, OBJECT_SUBTYPE, IS_SHORTCUT, VERSION_NUMBER, SUBJECT_ID, USER_ID, OBJECT_NAME, GROUP_NAME, LAST_SAVED, UTC_LAST_SAVED, COMMENTS, SAVED_FROM, PURGED_BY_USERID FROM OPB_VERSION_PROPS -------------------------------------------------------------------------- Describes the metadata extension details Of -- objects in PowerCenter Repository for various transformations, tasks, non-reusable sessions, -- src and targets. ------------------------------------------------------------------------CREATE VIEW V_ATTRIBUTE_METVAL as SELECT

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:137/334
Last modification: 3/12/2010 5:51:38 PM

' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(metaval.OBJECT_ID)) "ELEMENT_ID", 'ELEMENT' "SCOPE_TYPE", metaval.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaval.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaval.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaval.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaval.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaval.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , widget.SUBJECT_ID "SUBJECT_ID" FROM OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_WIDGET widget WHERE metaval.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND WIDGET_TYPE NOT IN (1, 2) AND metaval.LINE_NO = 1 AND IS_REUSABLE = 1 AND metaval.OBJECT_ID = WIDGET_ID AND metaval.OBJECT_TYPE = WIDGET_TYPE and metaval.VERSION_NUMBER = widget.VERSION_NUMBER and widget.IS_VISIBLE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_MMD_METAEXT metaext WHERE metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''), '-','')||'Instance' "ELEMENT_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "ELEMENT_ID", 'ELEMENT' "SCOPE_TYPE", metaval.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaval.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaval.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaval.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaval.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaval.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID"

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:138/334
Last modification: 3/12/2010 5:51:38 PM

FROM OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_WIDGET widget, OPB_WIDGET_INST winst, OPB_MAPPING map WHERE metaval.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND widget.WIDGET_TYPE NOT IN (1, 2) AND metaval.LINE_NO = 1 AND IS_REUSABLE = 0 AND metaval.OBJECT_ID = widget.WIDGET_ID AND metaval.VERSION_NUMBER = widget.VERSION_NUMBER AND widget.IS_VISIBLE = 1 AND widget.WIDGET_ID = winst.WIDGET_ID AND metaval.OBJECT_TYPE = widget.WIDGET_TYPE AND widget.WIDGET_TYPE = winst.WIDGET_TYPE AND winst.MAPPING_ID = map.MAPPING_ID and winst.VERSION_NUMBER = map.VERSION_NUMBER and metaval.PM_VALUE not like '<?xml%' and metaval.METAEXT_NAME != 'ComponentConfiguration' and map.IS_VISIBLE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_MMD_METAEXT metaext WHERE metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tasks.TASK_ID)) "ELEMENT_ID", 'ELEMENT' "SCOPE_TYPE", metaval.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaval.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaval.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaval.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaval.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaval.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" FROM OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_TASK tasks WHERE metaval.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = tasks.TASK_TYPE AND tasks.TASK_TYPE IN (68, 70, 71) AND metaval.LINE_NO = 1 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:139/334
Last modification: 3/12/2010 5:51:38 PM

tasks.IS_REUSABLE = 1 AND metaval.OBJECT_ID = tasks.TASK_ID and metaval.VERSION_NUMBER = tasks.VERSION_NUMBER and tasks.IS_VISIBLE = 1 AND metaval.OBJECT_TYPE = TASK_TYPE AND NOT EXISTS (SELECT NULL FROM OPB_MMD_METAEXT metaext WHERE metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ', '')||'TaskInstance' "ELEMENT_CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tinst.INSTANCE_ID)) "ELEMENT_ID", 'ELEMENT' "SCOPE_TYPE", metaval.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaval.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaval.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaval.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaval.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaval.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" FROM OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_TASK_INST tinst , OPB_TASK tasks, OPB_TASK wkflow_or_wklet WHERE metaval.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = tinst.TASK_TYPE AND tasks.task_id = tinst.task_id AND tasks.IS_REUSABLE = 0 AND tinst.TASK_TYPE = 68 AND metaval.OBJECT_ID = tinst.TASK_ID and metaval.VERSION_NUMBER = tasks.VERSION_NUMBER and tasks.TASK_TYPE = tinst.TASK_TYPE and tasks.IS_VISIBLE = 1 and tinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID and tinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER and wkflow_or_wklet.TASK_TYPE in (70,71) and wkflow_or_wklet.IS_VISIBLE = 1 AND metaval.LINE_NO = 1 AND metaval.OBJECT_TYPE = tinst.TASK_TYPE AND NOT EXISTS (SELECT NULL FROM OPB_MMD_METAEXT metaext WHERE metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:140/334
Last modification: 3/12/2010 5:51:38 PM

metaext.METAEXT_NAME = metaval.METAEXT_NAME) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(metaval.OBJECT_ID)) "ELEMENT_ID", 'ELEMENT' "SCOPE_TYPE", metaval.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaval.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaval.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaval.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaval.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaval.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_SRC src WHERE metaval.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND metaval.OBJECT_TYPE = 1 AND metaval.LINE_NO = 1 AND metaval.OBJECT_ID = src.SRC_ID and metaval.VERSION_NUMBER = src.VERSION_NUMBER and src.IS_VISIBLE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_MMD_METAEXT metaext WHERE metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(metaval.OBJECT_ID)) "ELEMENT_ID", 'ELEMENT' "SCOPE_TYPE", metaval.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaval.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaval.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaval.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaval.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaval.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:141/334
Last modification: 3/12/2010 5:51:38 PM

OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_TARG targ WHERE metaval.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND metaval.OBJECT_TYPE = 2 AND metaval.LINE_NO = 1 AND metaval.OBJECT_ID = targ.TARGET_ID and metaval.VERSION_NUMBER = targ.VERSION_NUMBER and targ.IS_VISIBLE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_MMD_METAEXT metaext WHERE metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME)

------------------------------------------------------------------------------- Reusable metadata extension that are part of sources CREATE VIEW V_ATTR_RMETVAL_SRCS as SELECT DISTINCT src.SOURCE_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_SRC src, OPB_MMD_DBTYPE mtype, OPB_DBD dbd WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = 1 AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND metaext.DBTYPE = mtype.DBTYPE_ID AND metaval.OBJECT_ID = src.SRC_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:142/334
Last modification: 3/12/2010 5:51:38 PM

and metaval.VERSION_NUMBER = src.VERSION_NUMBER and src.IS_VISIBLE = 1 AND metaval.LINE_NO = 1 AND dbd.DBDID = src.DBDID and dbd.VERSION_NUMBER = src.VERSION_NUMBER AND mtype.DBTYPE_ID = dbd.DBTYPE UNION ALL SELECT DISTINCT src.SOURCE_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_SRC src, OPB_MMD_DBTYPE mtype, OPB_DBD dbd WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = 1 AND metaext.DBTYPE = mtype.DBTYPE_ID AND metaext.LINE_NO = 1 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = src.SRC_ID and metaval.OBJECT_TYPE = 1 and metaext.METAEXT_NAME = metaval.METAEXT_NAME) AND dbd.DBDID = src.DBDID and dbd.VERSION_NUMBER = src.VERSION_NUMBER and src.IS_VISIBLE = 1 AND mtype.DBTYPE_ID = dbd.DBTYPE

-- Reusable metadata extension that are part of targets CREATE VIEW V_ATTR_RMETVAL_TGTS as SELECT DISTINCT targ.TARGET_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:143/334
Last modification: 3/12/2010 5:51:38 PM

otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(targ.TARGET_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_TARG targ WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = 2 AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND metaext.DBTYPE = targ.DBTYPE AND metaval.OBJECT_ID = targ.TARGET_ID and metaval.VERSION_NUMBER = targ.VERSION_NUMBER and targ.IS_VISIBLE = 1 AND metaval.LINE_NO = 1 UNION ALL SELECT DISTINCT targ.TARGET_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(targ.TARGET_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_TARG targ WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:144/334
Last modification: 3/12/2010 5:51:38 PM

metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = 2 AND metaext.DBTYPE = targ.DBTYPE AND metaext.LINE_NO = 1 and targ.IS_VISIBLE = 1 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = targ.TARGET_ID and metaval.OBJECT_TYPE = 2 and metaext.METAEXT_NAME = metaval.METAEXT_NAME)

-- Reusable metadata extension that are part of mappings CREATE VIEW V_ATTR_RMETVAL_MAPPINGS as SELECT DISTINCT map.MAPPING_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(map.MAPPING_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_MAPPING map WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = 21 AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND metaval.OBJECT_ID = map.MAPPING_ID and metaval.VERSION_NUMBER = map.VERSION_NUMBER and map.IS_VISIBLE = 1 AND metaval.LINE_NO = 1 and map.REF_WIDGET_ID=0 UNION ALL SELECT DISTINCT map.MAPPING_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID",
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:145/334
Last modification: 3/12/2010 5:51:38 PM

otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(map.MAPPING_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_MAPPING map WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = 21 AND metaext.LINE_NO = 1 and map.IS_VISIBLE = 1 and map.REF_WIDGET_ID=0 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = map.MAPPING_ID and metaval.OBJECT_TYPE = 21 and metaext.METAEXT_NAME = metaval.METAEXT_NAME)

-- Reusable metadata extension that are part of Widgets including mapplets CREATE VIEW V_ATTR_RMETVAL_WDGTS as SELECT DISTINCT wdg.WIDGET_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(wdg.WIDGET_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:146/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET wdg WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = wdg.WIDGET_TYPE AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND ((metaext.OBJECT_TYPE != 97 ) OR ( metaext.OBJECT_TYPE = 97 and wdg.TEMPLATE_ID =metaext.SUBTYPE )) AND metaval.OBJECT_ID = wdg.WIDGET_ID and metaval.VERSION_NUMBER = wdg.VERSION_NUMBER and wdg.IS_VISIBLE = 1 AND wdg.IS_REUSABLE = 1 AND metaval.LINE_NO = 1 UNION ALL SELECT DISTINCT wdg.WIDGET_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(wdg.WIDGET_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_WIDGET wdg WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = wdg.WIDGET_TYPE AND ((metaext.OBJECT_TYPE != 97 ) OR ( metaext.OBJECT_TYPE = 97 and wdg.TEMPLATE_ID =metaext.SUBTYPE )) AND metaext.LINE_NO = 1 AND wdg.IS_REUSABLE = 1 and wdg.IS_VISIBLE = 1 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = wdg.WIDGET_ID and metaval.OBJECT_TYPE = wdg.WIDGET_TYPE and metaext.METAEXT_NAME = metaval.METAEXT_NAME)

-- Reusable metadata extension that are part of Widget instances

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:147/334
Last modification: 3/12/2010 5:51:38 PM

CREATE VIEW V_ATTR_RMETVAL_WDGINST as SELECT DISTINCT winst.INSTANCE_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')||'Instance' "ELEMENT_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_WIDGET widget WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = winst.WIDGET_TYPE AND winst.WIDGET_TYPE NOT IN (1, 2) AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND metaval.OBJECT_ID = winst.WIDGET_ID AND ((metaext.OBJECT_TYPE != 97 ) OR ( metaext.OBJECT_TYPE = 97 and widget.TEMPLATE_ID =metaext.SUBTYPE )) and metaval.VERSION_NUMBER = widget.VERSION_NUMBER and metaval.OBJECT_TYPE = widget.WIDGET_TYPE and winst.WIDGET_ID = widget.WIDGET_ID and winst.WIDGET_TYPE = widget.WIDGET_TYPE and widget.IS_VISIBLE = 1 and winst.MAPPING_ID = map.MAPPING_ID and winst.VERSION_NUMBER = map.VERSION_NUMBER and metaval.PM_VALUE not like '<?xml%' and metaval.METAEXT_NAME != 'ComponentConfiguration' and map.IS_VISIBLE = 1 AND metaval.LINE_NO = 1 UNION ALL SELECT DISTINCT winst.INSTANCE_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')||'Instance' "ELEMENT_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:148/334
Last modification: 3/12/2010 5:51:38 PM

'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_WIDGET widget WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND ((metaext.OBJECT_TYPE != 97 ) OR ( metaext.OBJECT_TYPE = 97 and widget.TEMPLATE_ID =metaext.SUBTYPE )) AND otype.OBJECT_TYPE_ID = winst.WIDGET_TYPE AND winst.WIDGET_TYPE NOT IN (1, 2) AND metaext.LINE_NO = 1 and winst.MAPPING_ID = map.MAPPING_ID and winst.VERSION_NUMBER = map.VERSION_NUMBER and map.IS_VISIBLE = 1 and winst.WIDGET_ID = widget.WIDGET_ID and winst.WIDGET_TYPE = widget.WIDGET_TYPE and widget.IS_VISIBLE = 1 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = winst.WIDGET_ID and metaval.OBJECT_TYPE = winst.WIDGET_TYPE and metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME)

-- Reusable metadata extension that are part of Session, Workflow & Worklet CREATE VIEW V_ATTR_RMETVAL_TASK as SELECT DISTINCT tasks.TASK_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tasks.TASK_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:149/334
Last modification: 3/12/2010 5:51:38 PM

(CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_TASK tasks WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = tasks.TASK_TYPE AND tasks.TASK_TYPE IN (68, 70, 71) AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND metaval.OBJECT_ID = tasks.TASK_ID and metaval.VERSION_NUMBER = tasks.VERSION_NUMBER and tasks.IS_VISIBLE = 1 AND tasks.IS_REUSABLE = 1 AND metaval.LINE_NO = 1 UNION ALL SELECT DISTINCT tasks.TASK_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tasks.TASK_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_TASK tasks WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = tasks.TASK_TYPE AND tasks.TASK_TYPE IN (68, 70, 71) AND metaext.LINE_NO = 1 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:150/334
Last modification: 3/12/2010 5:51:38 PM

tasks.IS_REUSABLE = 1 and tasks.IS_VISIBLE = 1 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = tasks.TASK_ID and metaval.OBJECT_TYPE = tasks.TASK_TYPE and metaext.METAEXT_NAME = metaval.METAEXT_NAME)

-- Reusable metadata extension that are part of Session Instances CREATE VIEW V_ATTR_RMETVAL_SESSINST as SELECT DISTINCT tinst.INSTANCE_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ', '')||'TaskInstance' "ELEMENT_CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tinst.INSTANCE_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaval.PM_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", task.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_METAEXT_VAL metaval, OPB_OBJECT_TYPE otype, OPB_TASK_INST tinst, OPB_TASK wkflow_or_wklet, OPB_TASK task WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = tinst.TASK_TYPE AND tinst.TASK_TYPE = 68 AND metaext.VENDOR_ID = metaval.VENDOR_ID AND metaext.DOMAIN_ID = metaval.DOMAIN_ID AND metaext.METAEXT_NAME = metaval.METAEXT_NAME AND metaext.OBJECT_TYPE = metaval.OBJECT_TYPE AND metaval.OBJECT_ID = tinst.TASK_ID and metaval.VERSION_NUMBER = task.VERSION_NUMBER and metaval.OBJECT_TYPE = task.TASK_TYPE and tinst.TASK_ID = task.TASK_ID and tinst.TASK_TYPE = task.TASK_TYPE and task.IS_VISIBLE = 1 and tinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID and tinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER and wkflow_or_wklet.TASK_TYPE in (70,71)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:151/334
Last modification: 3/12/2010 5:51:38 PM

and wkflow_or_wklet.IS_VISIBLE = 1 AND metaval.LINE_NO = 1 UNION ALL SELECT DISTINCT tinst.INSTANCE_NAME, ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ', '')||'TaskInstance' "ELEMENT_CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tinst.INSTANCE_ID)) "ELEMENT_ID", 'REPOSITORY' "SCOPE_TYPE", metaext.METAEXT_NAME "ELMNT_ATTR_NAME", metaext.DEFAULT_VALUE "ELMNT_ATTR_VALUE", metaext.METAEXT_DESC "ELMNT_ATTR_DESC", (CASE WHEN metaext.DATA_TYPE = 1 THEN 'Integer' ELSE (CASE WHEN metaext.DATA_TYPE = 2 THEN 'String' ELSE (CASE WHEN metaext.DATA_TYPE=3 THEN 'Boolean' ELSE (CASE WHEN metaext.DATA_TYPE=4 THEN 'XML' ELSE '' END) END) END) END) "DATA_TYPE", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", task.SUBJECT_ID "SUBJECT_ID" FROM OPB_MMD_METAEXT metaext, OPB_OBJECT_TYPE otype, OPB_TASK_INST tinst, OPB_TASK wkflow_or_wklet, OPB_TASK task WHERE metaext.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND otype.OBJECT_TYPE_ID = tinst.TASK_TYPE AND tinst.TASK_TYPE = 68 AND metaext.LINE_NO = 1 and tinst.TASK_ID = task.TASK_ID and tinst.TASK_TYPE = task.TASK_TYPE and task.IS_VISIBLE = 1 and tinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID and tinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER and wkflow_or_wklet.TASK_TYPE in (70,71) and wkflow_or_wklet.IS_VISIBLE = 1 and NOT EXISTS (SELECT metaval.OBJECT_ID FROM OPB_METAEXT_VAL metaval WHERE metaval.OBJECT_ID = tinst.TASK_ID and metaval.OBJECT_TYPE = tinst.TASK_TYPE and metaext.METAEXT_NAME = metaval.METAEXT_NAME)

CREATE VIEW V_ATTRIBUTE_RMETVAL as select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, SUBJECT_ID from V_ATTR_RMETVAL_SRCS UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:152/334
Last modification: 3/12/2010 5:51:38 PM

ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, from V_ATTR_RMETVAL_TGTS UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, from V_ATTR_RMETVAL_MAPPINGS UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, from V_ATTR_RMETVAL_WDGTS UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, from V_ATTR_RMETVAL_WDGINST UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, from V_ATTR_RMETVAL_TASK UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT, from V_ATTR_RMETVAL_SESSINST

SUBJECT_ID

SUBJECT_ID

SUBJECT_ID

SUBJECT_ID

SUBJECT_ID

SUBJECT_ID

---------------------------------------------------------------------------------Helper Views Creation --IME_ELEMENT views ------------------------------------------------------------------------------------------------------------------------------------------------------- This is for all PowerCenter sources ----------------------------------------------------------------------CREATE VIEW V_ELMNT_SRCS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "CLASS_ID", 'Source Definition_' || ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", src.VERSION_NUMBER "VERSION_NUM", src.SOURCE_NAME "ELEMENT_NAME", src.SOURCE_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", src.SRC_DESC "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Application' "ELEMENT_TYPE", 'Source Definition' "ELEMENT_SUBTYPE", 'BUSINESS_NAME' "ELEMENT_ATTR1", src.BUSINESS_NAME "ELEMENT_VALUE1", 'FILE_NAME' "ELEMENT_ATTR2", src.FILE_NAME "ELEMENT_VALUE2", 'OWNER_NAME' "ELEMENT_ATTR3", src.OWNERNAME "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_DBD dbd

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:153/334
Last modification: 3/12/2010 5:51:38 PM

where dbd.DBDID = src.DBDID and dbd.VERSION_NUMBER = src.VERSION_NUMBER and src.IS_VISIBLE =1

------------------------------------------------------------------------ This is for all PowerCenter Targets ----------------------------------------------------------------------CREATE VIEW V_ELMNT_TGTS as SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinition' "CLASS_ID", 'Target Definition_' || ltrim(to_char(targ.TARGET_ID)) "ELEMENT_ID", targ.VERSION_NUMBER "VERSION_NUM", targ.TARGET_NAME "ELEMENT_NAME", targ.TARGET_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", targ.TARGET_DESC "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Application' "ELEMENT_TYPE", 'Target Definition' "ELEMENT_SUBTYPE", 'BUSINESS_NAME' "ELEMENT_ATTR1", BUSINESS_NAME "ELEMENT_VALUE1", 'DATABASE_TYPE' "ELEMENT_ATTR2", mtype.DBTYPE_NAME "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" from OPB_TARG targ, OPB_MMD_DBTYPE mtype where mtype.DBTYPE_ID = DBTYPE and targ.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for all reusable PowerCenter widgets ----------------------------------------------------------------------create view V_ELMNT_WDGTS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || Replace(otype.OBJECT_TYPE_NAME,' ','') "CLASS_ID", otype.OBJECT_TYPE_NAME ||'_'|| ltrim(to_char(widg.WIDGET_ID)) "ELEMENT_ID", widg.VERSION_NUMBER "VERSION_NUM", widg.WIDGET_NAME "ELEMENT_NAME", widg.WIDGET_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", widg.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Application' "ELEMENT_TYPE", otype.OBJECT_TYPE_NAME "ELEMENT_SUBTYPE", 'REUSABLE' "ELEMENT_ATTR1", 'Yes' "ELEMENT_VALUE1", CASE WHEN map.IS_VALID IS NULL THEN '' ELSE 'VALID' END "ELEMENT_ATTR2", CASE WHEN map.IS_VALID IS NULL THEN '' ELSE ( CASE WHEN map.IS_VALID = 0 THEN 'No' ELSE 'Yes' END) END "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", CASE WHEN map.IS_VALID = 0 THEN 'N' ELSE 'Y' END "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", widg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", widg.SUBJECT_ID "SUBJECT_ID"

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:154/334
Last modification: 3/12/2010 5:51:38 PM

from OPB_WIDGET widg, OPB_MAPPING map, OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE_ID = WIDGET_TYPE and IS_REUSABLE = 1 and widg.IS_VISIBLE = 1 and widg.WIDGET_ID = map.REF_WIDGET_ID (+) and map.IS_VISIBLE (+) = 1

------------------------------------------------------------------------ this is for all PowerCenter mappings ----------------------------------------------------------------------create view V_ELMNT_MAPPINGS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.Mapping' "CLASS_ID", 'Mapping_' || ltrim(to_char(map.MAPPING_ID)) "ELEMENT_ID", map.VERSION_NUMBER "VERSION_NUM", map.MAPPING_NAME "ELEMENT_NAME", map.MAPPING_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", map.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Application' "ELEMENT_TYPE", 'Mapping' "ELEMENT_SUBTYPE", 'VALID' "ELEMENT_ATTR1", (CASE WHEN IS_VALID=1 THEN 'Yes' ELSE 'No' END) "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", (CASE WHEN IS_VALID=1 THEN 'Y' ELSE 'N' END) "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID" from OPB_MAPPING map where REF_WIDGET_ID = 0 and map.IS_VISIBLE = 1

------------------------------------------------------------------------ All widget instances in PowerCenter widget instance ----------------------------------------------------------------------create view V_ELMNT_WDGINST as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-', '')|| 'Instance' "CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", winst.VERSION_NUMBER "VERSION_NUM", winst.INSTANCE_NAME "ELEMENT_NAME", winst.INSTANCE_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", winst.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Application' "ELEMENT_TYPE", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME "ELEMENT_SUBTYPE", '' "ELEMENT_ATTR1", '' "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", map.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", map.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_INST winst, OPB_OBJECT_TYPE otype, OPB_MAPPING map where winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID and

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:155/334
Last modification: 3/12/2010 5:51:38 PM

map.MAPPING_ID = winst.MAPPING_ID and map.VERSION_NUMBER = winst.VERSION_NUMBER and map.IS_VISIBLE = 1

------------------------------------------------------------------------ this is for all tasks in PowerCenter( both reusable and non reusable) ----------------------------------------------------------------------create view V_ELMNT_TASKS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || Replace(otype.OBJECT_TYPE_NAME,' ','') "CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(tasks.TASK_ID)) "ELEMENT_ID", tasks.VERSION_NUMBER "VERSION_NUM", tasks.TASK_NAME "ELEMENT_NAME", tasks.TASK_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", tasks.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", otype.OBJECT_TYPE_NAME "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'REUSABLE' "ELEMENT_ATTR1", 'Yes' "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", 'TASK_PROPERTY' "ELEMENT_ATTR3", to_char(tasks.TASK_PROPERTY) "ELEMENT_VALUE3", (CASE WHEN tasks.IS_VALID=1 THEN 'Y' ELSE 'N' END) "VALID_FLAG", (CASE WHEN tasks.IS_ENABLED=0 THEN 'Y' ELSE 'N' END) "DISABLED_FLAG", '' "SRC_CREATE_DT", LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" from OPB_TASK tasks, OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE_ID = tasks.TASK_TYPE and IS_REUSABLE = 1 and tasks.IS_VISIBLE = 1

-- Command Lines in a Command Task create view V_ELMNT_TSK_CMDLINE as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.CommandLine' "CLASS_ID", 'CommandLine_' || ltrim(to_char(tasks.TASK_ID))||'~'|| ltrim(to_char(tval.INSTANCE_ID))||'~'||ltrim(to_char(tval.EXEC_ORDER)) "ELEMENT_ID", tasks.VERSION_NUMBER "VERSION_NUM", CASE WHEN tval.VAL_NAME IS NULL THEN 'CommandLineTask'||ltrim(to_char(tval.EXEC_ORDER)) ELSE tval.VAL_NAME END "ELEMENT_NAME", CASE WHEN tval.VAL_NAME IS NULL THEN 'CommandLineTask'||ltrim(to_char(tval.EXEC_ORDER)) ELSE tval.VAL_NAME END "ELEMENT_LABEL", '' "ELEMENT_ALIAS", DESCRIPTION "ELEMENT_DESC", '' "ELEMENT_USAGE", 'CommandLine' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'command' "ELEMENT_ATTR1", PM_VALUE "ELEMENT_VALUE1", 'overridden' "ELEMENT_ATTR2", CASE WHEN tval.INSTANCE_ID<>0 THEN 'Yes' END "ELEMENT_VALUE2", 'executionOrder' "ELEMENT_ATTR3", to_char(tval.EXEC_ORDER) "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", tasks.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" from OPB_TASK tasks,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:156/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK_VAL_LIST tval where tasks.TASK_TYPE = 58 and tasks.TASK_ID = tval.TASK_ID AND tasks.VERSION_NUMBER = tval.VERSION_NUMBER AND tval.LINE_NO = 1 AND tasks.IS_VISIBLE = 1 AND tval.SESSION_ID = 0 AND tval.INSTANCE_ID = 0 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.CommandLine' "CLASS_ID", 'CommandLine_' || ltrim(to_char(tval.TASK_ID))||'~'|| ltrim(to_char(tval.INSTANCE_ID))||'~'||ltrim(to_char(tval.EXEC_ORDER)) "ELEMENT_ID", wflow.VERSION_NUMBER "VERSION_NUM", CASE WHEN tval.VAL_NAME IS NULL THEN 'CommandLineTask'||ltrim(to_char(tval.EXEC_ORDER)) ELSE tval.VAL_NAME END "ELEMENT_NAME", CASE WHEN tval.VAL_NAME IS NULL THEN 'CommandLineTask'||ltrim(to_char(tval.EXEC_ORDER)) ELSE tval.VAL_NAME END "ELEMENT_LABEL", '' "ELEMENT_ALIAS", DESCRIPTION "ELEMENT_DESC", '' "ELEMENT_USAGE", 'CommandLine' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'command' "ELEMENT_ATTR1", PM_VALUE "ELEMENT_VALUE1", 'overridden' "ELEMENT_ATTR2", CASE WHEN tval.INSTANCE_ID<>0 THEN 'Yes' END "ELEMENT_VALUE2", 'executionOrder' "ELEMENT_ATTR3", to_char(tval.EXEC_ORDER) "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", wflow.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wflow.SUBJECT_ID "SUBJECT_ID" from OPB_TASK wflow, OPB_TASK_INST tinst, OPB_TASK_VAL_LIST tval where tval.TASK_TYPE = 58 and tinst.INSTANCE_ID = tval.INSTANCE_ID AND tval.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = tval.VERSION_NUMBER AND wflow.VERSION_NUMBER = tval.VERSION_NUMBER AND tval.LINE_NO = 1 AND wflow.IS_VISIBLE = 1

------------------------------------------------------------------------ All task instances (This is not in expanded form) ----------------------------------------------------------------------create view V_ELMNT_TASKINST as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' ||REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'TaskInstance' "CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME ||'_'||ltrim(to_char(tinst.INSTANCE_ID)) "ELEMENT_ID", tinst.VERSION_NUMBER "VERSION_NUM", tinst.INSTANCE_NAME "ELEMENT_NAME", tinst.INSTANCE_NAME "ELEMENT_LABEL",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:157/334
Last modification: 3/12/2010 5:51:38 PM

'' "ELEMENT_ALIAS", tinst.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", otype.OBJECT_TYPE_NAME "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'WORKFLOW_NAME' "ELEMENT_ATTR1", tasks.TASK_NAME "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", (CASE WHEN tinst.IS_ENABLED=0 THEN 'Y' ELSE 'N' END) "DISABLED_FLAG", '' "SRC_CREATE_DT", tasks.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" from OPB_TASK_INST tinst, OPB_OBJECT_TYPE otype, OPB_TASK tasks where tinst.TASK_TYPE = otype.OBJECT_TYPE_ID and tasks.TASK_ID = tinst.WORKFLOW_ID and ( tasks.TASK_TYPE = 71 OR tasks.TASK_TYPE = 70 ) and tasks.VERSION_NUMBER = tinst.VERSION_NUMBER and tasks.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for all Folders in PowerCenter repository ----------------------------------------------------------------------create view V_ELMNT_FOLDERS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.package.Folder' "CLASS_ID", 'Folder_' || ltrim(to_char(SUBJ_ID)) "ELEMENT_ID", 1 "VERSION_NUM", SUBJ_NAME "ELEMENT_NAME", SUBJ_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", SUBJ_DESC "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Folder' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'IS_SHARED' "ELEMENT_ATTR1", (CASE WHEN IS_SHARED=1 THEN 'Yes' ELSE 'No' END) "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", '' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", CREATION_TIME "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", SUBJ_ID "SUBJECT_ID" from OPB_SUBJECT

------------------------------------------------------------------------ This is for all local shortcuts except DBD's ----------------------------------------------------------------------create view V_ELMNT_LOCAL_SC as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.'||Replace(otype.OBJECT_TYPE_NAME,' ','')||'Shortcut' "CLASS_ID", 'SHORTCUT_TO_' || 'PC_'||shcut.REPOSITORY_NAME||'_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(shcut.SUBJECT_ID)) || '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_'|| ltrim(to_char(shcut.OBJECT_ID)) "ELEMENT_ID", shcut.VERSION_NUMBER "VERSION_NUM", shcut.SHORTCUT_NAME "ELEMENT_NAME", shcut.SHORTCUT_NAME "ELEMENT_LABEL",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:158/334
Last modification: 3/12/2010 5:51:38 PM

'' "ELEMENT_ALIAS", shcut.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Local Shortcut' "ELEMENT_TYPE", otype.OBJECT_TYPE_NAME "ELEMENT_SUBTYPE", 'SHORTCUT_TO_REPOSITORY' "ELEMENT_ATTR1", shcut.REPOSITORY_NAME "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", '' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", shcut.CREATION_TIME "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", shcut.SUBJECT_ID "SUBJECT_ID" from OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype where shcut.OBJECT_TYPE not in (22,21) and shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID and shcut.OBJECT_ID >=0 and shcut.IS_VISIBLE = 1 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.MappingShortcut' "CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_Mapping_' || ltrim(to_char(shcut.SUBJECT_ID)) || '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_'|| ltrim(to_char(shcut.OBJECT_ID)) "ELEMENT_ID", shcut.VERSION_NUMBER "VERSION_NUM", shcut.SHORTCUT_NAME "ELEMENT_NAME", shcut.SHORTCUT_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", shcut.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Local Shortcut' "ELEMENT_TYPE", 'Mapping' "ELEMENT_SUBTYPE", 'SHORTCUT_TO_REPOSITORY' "ELEMENT_ATTR1", shcut.REPOSITORY_NAME "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", '' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", shcut.CREATION_TIME "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", shcut.SUBJECT_ID "SUBJECT_ID" from OPB_SHORTCUT shcut where shcut.OBJECT_TYPE = 21 and shcut.OBJECT_ID >=0 and shcut.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for all global shortcuts except DBD's ----------------------------------------------------------------------create view V_ELMNT_GLOBAL_SC as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.'||Replace(otype.OBJECT_TYPE_NAME,' ','')||'Shortcut' "CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_'||otype.OBJECT_TYPE_NAME ||'_'|| ltrim(to_char(shcut.SUBJECT_ID))|| '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_' || ltrim(to_char((shcut.OBJECT_ID + 2147483649))) "ELEMENT_ID", shcut.VERSION_NUMBER "VERSION_NUM", shcut.SHORTCUT_NAME "ELEMENT_NAME", shcut.SHORTCUT_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", shcut.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Global Shortcut' "ELEMENT_TYPE", otype.OBJECT_TYPE_NAME "ELEMENT_SUBTYPE", 'SHORTCUT_TO_REPOSITORY' "ELEMENT_ATTR1", shcut.REPOSITORY_NAME "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", '' "VALID_FLAG", 'N' "DISABLED_FLAG",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:159/334
Last modification: 3/12/2010 5:51:38 PM

'' "SRC_CREATE_DT", shcut.CREATION_TIME "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", shcut.SUBJECT_ID "SUBJECT_ID" from OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype where shcut.OBJECT_TYPE not in (22,21) and shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID and shcut.OBJECT_ID < 0 and shcut.IS_VISIBLE = 1 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.MappingShortcut' "CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_Mapping_'|| ltrim(to_char(shcut.SUBJECT_ID))|| '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_' || ltrim(to_char((shcut.OBJECT_ID + 2147483649))) "ELEMENT_ID", shcut.VERSION_NUMBER "VERSION_NUM", shcut.SHORTCUT_NAME "ELEMENT_NAME", shcut.SHORTCUT_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", shcut.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Global Shortcut' "ELEMENT_TYPE", 'Mapping' "ELEMENT_SUBTYPE", 'SHORTCUT_TO_REPOSITORY' "ELEMENT_ATTR1", shcut.REPOSITORY_NAME "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", '' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", shcut.CREATION_TIME "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", shcut.SUBJECT_ID "SUBJECT_ID" from OPB_SHORTCUT shcut where shcut.OBJECT_TYPE = 21 and shcut.OBJECT_ID < 0 and shcut.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for source widget fields for PowerCenter sources ----------------------------------------------------------------------create view V_ELMNT_SRCWDGFLD as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "CLASS_ID", 'Source Definition_' || 'Field_' || ltrim(to_char(src.SRC_ID)) || '_' || ltrim(to_char(fld.FLDID)) "ELEMENT_ID" , src.VERSION_NUMBER "VERSION_NUM", fld.SRC_NAME "ELEMENT_NAME", fld.SRC_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", fld.SRC_DESC "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Source Definition Field' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'BUSINESS_NAME' "ELEMENT_ATTR1", fld.BUSINESS_NAME "ELEMENT_VALUE1", 'REDEFINED NAME' "ELEMENT_ATTR2", fld.REDFNAME "ELEMENT_VALUE2", 'SQL_NAME' "ELEMENT_ATTR3", fld.SQLNAME "ELEMENT_VALUE3", 'Y' "VALID_FLAG", to_char(fld.IS_HIDDEN) "DISABLED_FLAG", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_SRC_FLD fld, OPB_DBD dbd where dbd.DBDID = src.DBDID and fld.SRC_ID = src.SRC_ID and src.VERSION_NUMBER = dbd.VERSION_NUMBER and src.VERSION_NUMBER = fld.VERSION_NUMBER

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:160/334
Last modification: 3/12/2010 5:51:38 PM

and src.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for target widget fields for PowerCenter targets ----------------------------------------------------------------------create view V_ELMNT_TGTWDGFLD as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "CLASS_ID", 'Target Definition_' || 'Field_' || ltrim(to_char(targ.TARGET_ID)) || '_' || ltrim(to_char(fld.FLDID)) "ELEMENT_ID" , targ.VERSION_NUMBER "VERSION_NUM", fld.TARGET_NAME "ELEMENT_NAME", fld.TARGET_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", fld.TARGET_DESC "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Target Definition' || ' Field' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'BUSINESS_NAME' "ELEMENT_ATTR1", fld.BUSINESS_NAME "ELEMENT_VALUE1", 'precision' "ELEMENT_ATTR2", LTRIM(TO_CHAR(fld.DPREC)) "ELEMENT_VALUE2", 'scale' "ELEMENT_ATTR3", LTRIM(TO_CHAR(fld.DSCALE)) "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", targ.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" from OPB_TARG targ, OPB_TARG_FLD fld where fld.TARGET_ID = targ.TARGET_ID and targ.VERSION_NUMBER = fld.VERSION_NUMBER and targ.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for all widget fields for PowerCenter widgets ----------------------------------------------------------------------create view V_ELMNT_WDGT_FLDS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-', '') || 'Port' "CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(widget.WIDGET_ID)) || '_' || ltrim(to_char(fld.FIELD_ID)) "ELEMENT_ID" , widget.VERSION_NUMBER "VERSION_NUM", fld.FIELD_NAME "ELEMENT_NAME", fld.FIELD_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", fld.COMMENTS "ELEMENT_DESC", '' "ELEMENT_USAGE", otype.OBJECT_TYPE_NAME || ' Field' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'DEFAULT_VALUE' "ELEMENT_ATTR1", to_char(fld.DEFAULT_VALUE) "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", widget.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", widget.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET widget, OPB_WIDGET_FIELD fld, OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE_ID = widget.WIDGET_TYPE and

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:161/334
Last modification: 3/12/2010 5:51:38 PM

widget.WIDGET_ID = fld.WIDGET_ID and widget.VERSION_NUMBER = fld.VERSION_NUMBER and widget.IS_VISIBLE = 1

------------------------------------------------------------------------ This is for all server objects in PowerCenter ----------------------------------------------------------------------create view V_ELMNT_SERVICE as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.deployment.IntegrationService' "CLASS_ID", 'Integration Service_' || ltrim(to_char(server.SERVER_ID)) "ELEMENT_ID", server.SERVER_ID "SERVER_ID", 1 "VERSION_NUM", server.SERVER_NAME "ELEMENT_NAME", server.SERVER_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", '' "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Integration Service' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'domainName' "ELEMENT_ATTR1", server.DOMAIN_NAME "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", TO_NUMBER(NULL) "SUBJECT_ID" from OPB_SERVER_INFO server

------------------------------------------------------------------------ This is for the PowerCenter software and deployment components ----------------------------------------------------------------------create view V_ELMNT_SW_COMP as select ' ' "REPOSITORY_ID", 'org.omg.cwm.foundation.softwaredeployment.SoftwareSystem' "CLASS_ID", 'PC_SWSystem_' || repo.REPOSIT_NAME "ELEMENT_ID", 8 "VERSION_NUM", 'PowerCenter Software System' "ELEMENT_NAME", 'PowerCenter Software System' "ELEMENT_LABEL", '' "ELEMENT_ALIAS", 'This is PowerCenter software system' "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Data Integration' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", 'type' "ELEMENT_ATTR1", 'Data Integration' "ELEMENT_VALUE1", 'supplier' "ELEMENT_ATTR2", 'Informatica' "ELEMENT_VALUE2", 'version' "ELEMENT_ATTR3", '8.x' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", TO_NUMBER(NULL) "SUBJECT_ID" from OPB_REPOSIT repo where repo.RECID = 1 union all select ' ' "REPOSITORY_ID", 'org.omg.cwm.foundation.softwaredeployment.DeployedSoftwareSystem' "CLASS_ID", 'PC_DepSWSystem_' || repo.REPOSIT_NAME "ELEMENT_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:162/334
Last modification: 3/12/2010 5:51:38 PM

8 "VERSION_NUM", 'Installed PowerCenter' "ELEMENT_NAME", 'Installed PowerCenter' "ELEMENT_LABEL", '' "ELEMENT_ALIAS", 'This is the installed PowerCenter software system' "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Data Integration' "ELEMENT_TYPE", '' "ELEMENT_SUBTYPE", '' "ELEMENT_ATTR1", '' "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", TO_NUMBER(NULL) "SUBJECT_ID" from OPB_REPOSIT repo where repo.RECID = 1

------------------------------------------------------------------------ This is the element view for all PowerCenter and Native datatypes -- supported in PowerCenter ----------------------------------------------------------------------create view V_ELMNT_DTYPES as select ' ' "REPOSITORY_ID", 'org.omg.cwm.resource.xml.ElementType' "CLASS_ID", 'org.omg.cwm.resource.xml.ElementType' || '_' || ltrim(to_char(DTYPE_NUM)) "ELEMENT_ID", 1 "VERSION_NUM", dtype.DTYPE_NAME "ELEMENT_NAME", dtype.DTYPE_NAME "ELEMENT_LABEL", '' "ELEMENT_ALIAS", dtype.DTYPE_DATABASE || '_' || dtype.DTYPE_NAME "ELEMENT_DESC", '' "ELEMENT_USAGE", 'Application' "ELEMENT_TYPE", 'DATA_TYPE' "ELEMENT_SUBTYPE", '' "ELEMENT_ATTR1", '' "ELEMENT_VALUE1", '' "ELEMENT_ATTR2", '' "ELEMENT_VALUE2", '' "ELEMENT_ATTR3", '' "ELEMENT_VALUE3", 'Y' "VALID_FLAG", 'N' "DISABLED_FLAG", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", TO_NUMBER(NULL) "SUBJECT_ID" from REP_FLD_DATATYPE dtype

------------------------------------------------------------------------ IME_ATTRIBUTE views ---------------------------------------------------------------------------------------------------------------------------------------------- This is for all source attributes ----------------------------------------------------------------------create view V_ATTRIBUTE_SRCS as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", att.ATTR_NAME "ELMNT_ATTR_NAME", attrval.ATTR_VALUE "ELMNT_ATTR_VALUE",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:163/334
Last modification: 3/12/2010 5:51:38 PM

'' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_ATTR att, OPB_SRC src where src.SRC_ID = attrval.WIDGET_ID and src.VERSION_NUMBER = attrval.VERSION_NUMBER and src.IS_VISIBLE = 1 and attrval.WIDGET_TYPE = 1 and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = 1 and attrval.MAPPING_ID = 0 and attrval.INSTANCE_ID = 0 and attrval.SESSION_ID = 0 and attrval.PARTITION_ID = 0 and attrval.SESSION_TASK_ID = 0 and attrval.LINE_NO = 1 and att.ATTR_ID NOT IN (4, 13, 7, 14, 3, 15, 11, 16) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| LTRIM(TO_CHAR(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'DATABASE_TYPE' "ELMNT_ATTR_NAME", mtype.DBTYPE_NAME "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_DBD dbd, OPB_MMD_DBTYPE mtype WHERE dbd.DBDID = src.DBDID AND src.VERSION_NUMBER = dbd.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND mtype.DBTYPE_ID = dbd.DBTYPE UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| LTRIM(TO_CHAR(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'DBD_NAME' "ELMNT_ATTR_NAME", dbd.DBDNAM "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_DBD dbd WHERE dbd.DBDID = src.DBDID AND src.VERSION_NUMBER = dbd.VERSION_NUMBER AND src.IS_VISIBLE = 1 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'flatFileType' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,128)= 128 THEN 'Delimited' ELSE 'Fixed width' END "ELMNT_ATTR_VALUE",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:164/334
Last modification: 3/12/2010 5:51:38 PM

'' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'delimiters' "ELMNT_ATTR_NAME", STR_DELIMITER "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 128 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'treatConsecutiveDelimitersAsOne' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,2)= 2 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 128 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:165/334
Last modification: 3/12/2010 5:51:38 PM

'GLOBAL' "SCOPE_TYPE", 'optionalQuotes' "ELMNT_ATTR_NAME", DECODE(OPT_QUOTES,1,'Single',2,'Double','None') "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 128 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'removeEscapeCharFromData' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,32) = 32 THEN 'No' ELSE 'Yes' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 128 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'numOfInitialRowsToSkip' "ELMNT_ATTR_NAME", TO_CHAR(ROWS_TO_SKIP) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:166/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'nullCharTextOrBinary' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,1) = 1 THEN 'Binary' ELSE 'Text' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 0 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'repeatNullChars' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,64) = 64 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 0 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'fileFormatLineSequential' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,256) = 256 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:167/334
Last modification: 3/12/2010 5:51:38 PM

OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 0 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'bytesToSkipBetweenRecs' "ELMNT_ATTR_NAME", TO_CHAR(NUM_OF_PAD_BYTES) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 0 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'stripTrailingBlanks' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,16) = 16 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 0 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "ELEMENT_CLASS_ID", 'Source Definition_'|| ltrim(to_char(src.SRC_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", 'userDefinedShiftState' "ELMNT_ATTR_NAME", CASE WHEN BITAND(FILE_PROPERTIES,512) = 512 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:168/334
Last modification: 3/12/2010 5:51:38 PM

'' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" from OPB_SRC src, OPB_FILE_DESC fdesc where src.SUBJ_ID = fdesc.SUBJECT_ID and src.FILE_ID = fdesc.FILE_ID and src.VERSION_NUMBER = fdesc.VERSION_NUMBER and src.IS_VISIBLE = 1 AND BITAND(FILE_PROPERTIES,128)= 0

------------------------------------------------------------------------ This is for all target attributes ----------------------------------------------------------------------create view V_ATTRIBUTE_TGT as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinition' "ELEMENT_CLASS_ID", 'Target Definition_'|| ltrim(to_char(targ.TARGET_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", CASE WHEN att.ATTR_NAME = 'DTD Reference' THEN 'DTD/Schema Reference' ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.ATTR_ID = 17 THEN DECODE(attrval.ATTR_VALUE,1,'Append',2,'Truncate',0,'None') ELSE CASE WHEN att.ATTR_ID = 18 THEN DECODE(attrval.ATTR_VALUE,0,'System Default',1,'Unix',2,'Windows',3,'None') ELSE attrval.ATTR_VALUE END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", targ.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_ATTR att, OPB_TARG targ where targ.TARGET_ID = attrval.WIDGET_ID and targ.VERSION_NUMBER = attrval.VERSION_NUMBER and targ.IS_VISIBLE = 1 and attrval.WIDGET_TYPE = 2 and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = 2 and attrval.MAPPING_ID = 0 and attrval.INSTANCE_ID = 0 and attrval.SESSION_ID = 0 and attrval.PARTITION_ID = 0 and attrval.SESSION_TASK_ID = 0 and attrval.LINE_NO = 1

------------------------------------------------------------------------ This is for all reusable & non- reusable widget attributes ----------------------------------------------------------------------create view V_ATTRIBUTE_WDGT as

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:169/334
Last modification: 3/12/2010 5:51:38 PM

select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME ||'_'|| ltrim(to_char(widgets.WIDGET_ID))"ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", CASE WHEN att.OBJECT_TYPE_ID = 11 THEN (CASE WHEN att.ATTR_ID = 6 THEN 'Location Information' ELSE CASE WHEN att.ATTR_ID = 17 THEN 'Recache from Database' ELSE att.ATTR_NAME END END) ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.OBJECT_TYPE_ID=97 THEN (CASE WHEN att.ATTR_ID=5 THEN DECODE(attrval.ATTR_VALUE,1,'Locally',2,'Across Grid',0, 'No') ELSE CASE WHEN att.ATTR_ID IN (15,16) THEN DECODE(attrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN att.ATTR_ID=13 THEN DECODE(attrval.ATTR_VALUE,0,'Java',1,'C++',2,'C') ELSE attrval.ATTR_VALUE END END END) ELSE CASE WHEN (att.OBJECT_TYPE_ID=84 AND att.ATTR_ID IN (2,3)) OR (att.OBJECT_TYPE_ID=11 AND att.ATTR_ID=27) or (att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=10) OR (att.OBJECT_TYPE_ID=56 AND att.ATTR_ID=6) or (att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=10) or (att.OBJECT_TYPE_ID=6 AND att.ATTR_ID=9) THEN DECODE(attrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN (att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=9) OR (att.OBJECT_TYPE_ID=6 AND att.ATTR_ID=8) THEN 'Based On Input Order' ELSE CASE WHEN att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=7 THEN DECODE(attrval.ATTR_VALUE,1, 'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=11 THEN DECODE(attrval.ATTR_VALUE,1, 'Always','Never') ELSE CASE WHEN att.OBJECT_TYPE_ID=12 AND att.ATTR_ID=16 THEN DECODE(attrval.ATTR_VALUE, 1,'Descending',0,'Ascending') ELSE CASE WHEN att.OBJECT_TYPE_ID=11 AND att.ATTR_ID =29 THEN DECODE(attrval.ATTR_VALUE, 1,'Always Allowed',2,'Always Disallowed',0,'Auto') ELSE attrval.ATTR_VALUE END END END END END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", widgets.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", widgets.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_OBJECT_TYPE otype, OPB_ATTR att, OPB_WIDGET widgets where widgets.WIDGET_ID = attrval.WIDGET_ID and widgets.VERSION_NUMBER = attrval.VERSION_NUMBER and widgets.IS_VISIBLE = 1 and widgets.WIDGET_TYPE = attrval.WIDGET_TYPE and widgets.IS_REUSABLE = 1 and otype.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and attrval.MAPPING_ID = 0 and attrval.INSTANCE_ID = 0 and attrval.SESSION_ID = 0 and attrval.PARTITION_ID = 0 and attrval.SESSION_TASK_ID = 0 and attrval.LINE_NO = 1 and (widgets.WIDGET_TYPE != 45 OR (widgets.WIDGET_TYPE = 45 and att.ATTR_ID NOT IN (5, 16, 3, 4, 17, 6, 19, 8, 20))) AND NOT EXISTS ( SELECT 'x' FROM OPB_WIDGET_ATTR attrval1

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:170/334
Last modification: 3/12/2010 5:51:38 PM

WHERE attrval.ATTR_ID = attrval1.ATTR_ID AND attrval.INSTANCE_ID = attrval1.INSTANCE_ID AND attrval.SESSION_TASK_ID = attrval1.SESSION_TASK_ID AND attrval.WIDGET_ID = attrval1.WIDGET_ID AND attrval.VERSION_NUMBER = attrval1.VERSION_NUMBER AND attrval.WIDGET_TYPE = attrval1.WIDGET_TYPE AND attrval1.LINE_NO = 2) UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME ||'_'|| ltrim(to_char(widgets.WIDGET_ID))"ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", CASE WHEN att.OBJECT_TYPE_ID = 11 THEN (CASE WHEN att.ATTR_ID = 6 THEN 'Location Information' ELSE CASE WHEN att.ATTR_ID = 17 THEN 'Recache from Database' ELSE att.ATTR_NAME END END) ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.OBJECT_TYPE_ID=97 THEN (CASE WHEN att.ATTR_ID=5 THEN DECODE((attrval.ATTR_VALUE + attrval1.ATTR_VALUE),1, 'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.ATTR_ID IN (15,16) THEN DECODE((attrval.ATTR_VALUE + attrval1.ATTR_VALUE),1,'Yes','No') ELSE CASE WHEN att.ATTR_ID=13 THEN DECODE((attrval.ATTR_VALUE + attrval1.ATTR_VALUE),0, 'Java',1,'C++',2,'C') ELSE (attrval.ATTR_VALUE || attrval1.ATTR_VALUE) END END END) ELSE CASE WHEN (att.OBJECT_TYPE_ID=84 AND att.ATTR_ID IN (2,3)) OR (att.OBJECT_TYPE_ID=11 AND att.ATTR_ID=27) or (att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=10) OR (att.OBJECT_TYPE_ID=56 AND att.ATTR_ID=6) THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Yes','No') ELSE CASE WHEN att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=7 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=11 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Always','Never') ELSE (attrval.ATTR_VALUE || SUBSTR(attrval1.ATTR_VALUE,1,1900)) END END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", widgets.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", widgets.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval,OPB_WIDGET_ATTR attrval1, OPB_OBJECT_TYPE otype, OPB_ATTR att, OPB_WIDGET widgets where widgets.WIDGET_ID = attrval.WIDGET_ID and widgets.VERSION_NUMBER = attrval.VERSION_NUMBER and widgets.IS_VISIBLE = 1 and widgets.WIDGET_TYPE = attrval.WIDGET_TYPE and widgets.IS_REUSABLE = 1 and otype.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and attrval.MAPPING_ID = 0 and attrval.INSTANCE_ID = 0 and attrval.SESSION_ID = 0 and attrval.PARTITION_ID = 0 and attrval.SESSION_TASK_ID = 0 and attrval.LINE_NO = 1 and (widgets.WIDGET_TYPE != 45 OR (widgets.WIDGET_TYPE = 45 and att.ATTR_ID NOT IN (5, 16, 3, 4, 17, 6, 19, 8, 20)))

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:171/334
Last modification: 3/12/2010 5:51:38 PM

AND attrval.ATTR_ID = attrval1.ATTR_ID AND attrval.INSTANCE_ID = attrval1.INSTANCE_ID AND attrval.SESSION_TASK_ID = attrval1.SESSION_TASK_ID AND attrval.WIDGET_ID = attrval1.WIDGET_ID AND attrval.VERSION_NUMBER = attrval1.VERSION_NUMBER AND attrval.WIDGET_TYPE = attrval1.WIDGET_TYPE AND attrval1.LINE_NO = 2 UNION ALL select /*+INDEX(map OPB_MAPPING_IDX)*/ ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Instance' "ELEMENT_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", CASE WHEN att.OBJECT_TYPE_ID = 11 THEN (CASE WHEN att.ATTR_ID = 6 THEN 'Location Information' ELSE CASE WHEN att.ATTR_ID = 17 THEN 'Recache from Database' ELSE att.ATTR_NAME END END) ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.OBJECT_TYPE_ID=97 THEN (CASE WHEN att.ATTR_ID=5 THEN DECODE(attrval.ATTR_VALUE,1,'Locally',2,'Across Grid',0, 'No') ELSE CASE WHEN att.ATTR_ID IN (15,16) THEN DECODE(attrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN att.ATTR_ID=13 THEN DECODE(attrval.ATTR_VALUE,0,'Java',1,'C++',2,'C') ELSE attrval.ATTR_VALUE END END END) ELSE CASE WHEN (att.OBJECT_TYPE_ID=84 AND att.ATTR_ID IN (2,3)) OR (att.OBJECT_TYPE_ID=11 AND att.ATTR_ID=27) or (att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=10) OR (att.OBJECT_TYPE_ID=56 AND att.ATTR_ID=6) or (att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=10) or (att.OBJECT_TYPE_ID=6 AND att.ATTR_ID=9) THEN DECODE(attrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN (att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=9) OR (att.OBJECT_TYPE_ID=6 AND att.ATTR_ID=8) THEN 'Based On Input Order' ELSE CASE WHEN att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=7 THEN DECODE(attrval.ATTR_VALUE,1, 'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=11 THEN DECODE(attrval.ATTR_VALUE,1, 'Always','Never') ELSE CASE WHEN att.OBJECT_TYPE_ID=12 AND att.ATTR_ID=16 THEN DECODE(attrval.ATTR_VALUE,1,'Descending',0,'Ascending') ELSE CASE WHEN att.OBJECT_TYPE_ID=11 AND att.ATTR_ID =29 THEN DECODE(attrval.ATTR_VALUE, 1,'Always Allowed',2,'Always Disallowed',0,'Auto') ELSE attrval.ATTR_VALUE END END END END END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", map.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , widgets.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_OBJECT_TYPE otype, OPB_ATTR att, OPB_MAPPING map, OPB_WIDGET widgets,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:172/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET_INST winst where widgets.WIDGET_ID = attrval.WIDGET_ID and widgets.WIDGET_TYPE = attrval.WIDGET_TYPE and widgets.VERSION_NUMBER = attrval.VERSION_NUMBER and widgets.IS_VISIBLE = 1 and winst.WIDGET_ID = widgets.WIDGET_ID and winst.MAPPING_ID = map.MAPPING_ID and attrval.MAPPING_ID = 0 AND widgets.IS_REUSABLE = 0 AND winst.WIDGET_TYPE = widgets.WIDGET_TYPE and otype.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and attrval.LINE_NO = 1 and (widgets.WIDGET_TYPE != 45 OR (widgets.WIDGET_TYPE = 45 and att.ATTR_ID NOT IN (5, 16, 3, 4, 17, 6, 19, 8, 20))) and map.VERSION_NUMBER = winst.VERSION_NUMBER and map.IS_VISIBLE = 1 AND NOT EXISTS ( SELECT 'x' FROM OPB_WIDGET_ATTR attrval1 WHERE attrval.ATTR_ID = attrval1.ATTR_ID AND attrval.INSTANCE_ID = attrval1.INSTANCE_ID AND attrval.SESSION_TASK_ID = attrval1.SESSION_TASK_ID AND attrval.WIDGET_ID = attrval1.WIDGET_ID AND attrval.VERSION_NUMBER = attrval1.VERSION_NUMBER AND attrval.WIDGET_TYPE = attrval1.WIDGET_TYPE AND attrval1.LINE_NO = 2) UNION ALL select /*+INDEX(map OPB_MAPPING_IDX)*/ ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Instance' "ELEMENT_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", CASE WHEN att.OBJECT_TYPE_ID = 11 THEN (CASE WHEN att.ATTR_ID = 6 THEN 'Location Information' ELSE CASE WHEN att.ATTR_ID = 17 THEN 'Recache from Database' ELSE att.ATTR_NAME END END) ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.OBJECT_TYPE_ID=97 THEN (CASE WHEN att.ATTR_ID=5 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1, 'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.ATTR_ID IN (15,16) THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Yes','No') ELSE CASE WHEN att.ATTR_ID=13 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),0, 'Java',1,'C++',2,'C') ELSE (attrval.ATTR_VALUE || attrval1.ATTR_VALUE) END END END) ELSE CASE WHEN (att.OBJECT_TYPE_ID=84 AND att.ATTR_ID IN (2,3)) OR (att.OBJECT_TYPE_ID=11 AND att.ATTR_ID=27) or (att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=10) OR (att.OBJECT_TYPE_ID=56 AND att.ATTR_ID=6) THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Yes','No') ELSE CASE WHEN att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=7 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Locally',2,'Across Grid',0,'No')
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:173/334
Last modification: 3/12/2010 5:51:38 PM

ELSE CASE WHEN att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=11 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Always','Never') ELSE (attrval.ATTR_VALUE || SUBSTR(attrval1.ATTR_VALUE,1,1900)) END END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", map.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , widgets.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_WIDGET_ATTR attrval1, OPB_OBJECT_TYPE otype, OPB_ATTR att, OPB_MAPPING map, OPB_WIDGET widgets, OPB_WIDGET_INST winst where widgets.WIDGET_ID = attrval.WIDGET_ID and widgets.WIDGET_TYPE = attrval.WIDGET_TYPE and widgets.VERSION_NUMBER = attrval.VERSION_NUMBER and widgets.IS_VISIBLE = 1 and winst.WIDGET_ID = widgets.WIDGET_ID and winst.MAPPING_ID = map.MAPPING_ID and attrval.MAPPING_ID = 0 AND widgets.IS_REUSABLE = 0 AND winst.WIDGET_TYPE = widgets.WIDGET_TYPE and otype.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = widgets.WIDGET_TYPE and attrval.LINE_NO = 1 and (widgets.WIDGET_TYPE != 45 OR (widgets.WIDGET_TYPE = 45 and att.ATTR_ID NOT IN (5, 16, 3, 4, 17, 6, 19, 8, 20))) and map.VERSION_NUMBER = winst.VERSION_NUMBER and map.IS_VISIBLE = 1 AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND attrval.ATTR_ID = attrval1.ATTR_ID AND attrval.INSTANCE_ID = attrval1.INSTANCE_ID AND attrval.SESSION_TASK_ID = attrval1.SESSION_TASK_ID AND attrval.WIDGET_ID = attrval1.WIDGET_ID AND attrval.VERSION_NUMBER = attrval1.VERSION_NUMBER AND attrval.WIDGET_TYPE = attrval1.WIDGET_TYPE AND attrval1.LINE_NO = 2 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Instance' "ELEMENT_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:174/334
Last modification: 3/12/2010 5:51:38 PM

CASE WHEN att.OBJECT_TYPE_ID = 11 THEN (CASE WHEN att.ATTR_ID = 6 THEN 'Location Information' ELSE CASE WHEN att.ATTR_ID = 17 THEN 'Recache from Database' ELSE att.ATTR_NAME END END) ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.OBJECT_TYPE_ID=97 THEN (CASE WHEN att.ATTR_ID=5 THEN DECODE(attrval.ATTR_VALUE,1,'Locally',2,'Across Grid',0, 'No') ELSE CASE WHEN att.ATTR_ID IN (15,16) THEN DECODE(attrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN att.ATTR_ID=13 THEN DECODE(attrval.ATTR_VALUE,0,'Java',1,'C++',2,'C') ELSE attrval.ATTR_VALUE END END END) ELSE CASE WHEN (att.OBJECT_TYPE_ID=84 AND att.ATTR_ID IN (2,3)) OR (att.OBJECT_TYPE_ID=11 AND att.ATTR_ID=27) or (att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=10) OR (att.OBJECT_TYPE_ID=56 AND att.ATTR_ID=6) or (att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=10) or (att.OBJECT_TYPE_ID=6 AND att.ATTR_ID=9) THEN DECODE(attrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN (att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=9) OR (att.OBJECT_TYPE_ID=6 AND att.ATTR_ID=8) THEN 'Based On Input Order' ELSE CASE WHEN att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=7 THEN DECODE(attrval.ATTR_VALUE,1, 'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=11 THEN DECODE(attrval.ATTR_VALUE,1, 'Always','Never') ELSE CASE WHEN att.OBJECT_TYPE_ID=12 AND att.ATTR_ID=16 THEN DECODE(attrval.ATTR_VALUE,1,'Descending',0,'Ascending') ELSE CASE WHEN att.OBJECT_TYPE_ID=11 AND att.ATTR_ID =29 THEN DECODE(attrval.ATTR_VALUE, 1,'Always Allowed',2,'Always Disallowed',0,'Auto') ELSE attrval.ATTR_VALUE END END END END END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", map.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , map.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_OBJECT_TYPE otype, OPB_ATTR att, OPB_MAPPING map, OPB_WIDGET_INST winst where winst.WIDGET_ID = attrval.WIDGET_ID and winst.WIDGET_TYPE = attrval.WIDGET_TYPE and winst.INSTANCE_ID = attrval.INSTANCE_ID and winst.MAPPING_ID = attrval.MAPPING_ID and winst.VERSION_NUMBER = attrval.VERSION_NUMBER and winst.MAPPING_ID = map.MAPPING_ID and winst.VERSION_NUMBER = map.VERSION_NUMBER and map.IS_VISIBLE = 1 and attrval.SESSION_ID = 0 AND attrval.SESSION_TASK_ID = 0 AND winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = winst.WIDGET_TYPE and attrval.LINE_NO = 1 and (winst.WIDGET_TYPE != 45 OR

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:175/334
Last modification: 3/12/2010 5:51:38 PM

(winst.WIDGET_TYPE = 45 and att.ATTR_ID NOT IN (5, 16, 3, 4, 17, 6, 19, 8, 20))) and NOT EXISTS ( SELECT 'x' FROM OPB_WIDGET_ATTR attrval1 WHERE attrval.ATTR_ID = attrval1.ATTR_ID AND attrval.INSTANCE_ID = attrval1.INSTANCE_ID AND attrval.SESSION_TASK_ID = attrval1.SESSION_TASK_ID AND attrval.WIDGET_ID = attrval1.WIDGET_ID AND attrval.VERSION_NUMBER = attrval1.VERSION_NUMBER AND attrval.WIDGET_TYPE = attrval1.WIDGET_TYPE AND attrval1.LINE_NO = 2) UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Instance' "ELEMENT_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(winst.MAPPING_ID)) || '_' || ltrim(to_char(winst.INSTANCE_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", CASE WHEN att.OBJECT_TYPE_ID = 11 THEN (CASE WHEN att.ATTR_ID = 6 THEN 'Location Information' ELSE CASE WHEN att.ATTR_ID = 17 THEN 'Recache from Database' ELSE att.ATTR_NAME END END) ELSE att.ATTR_NAME END "ELMNT_ATTR_NAME", CASE WHEN att.OBJECT_TYPE_ID=97 THEN (CASE WHEN att.ATTR_ID=5 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1, 'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.ATTR_ID IN (15,16) THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Yes','No') ELSE CASE WHEN att.ATTR_ID=13 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),0, 'Java',1,'C++',2,'C') ELSE (attrval.ATTR_VALUE || attrval1.ATTR_VALUE) END END END) ELSE CASE WHEN (att.OBJECT_TYPE_ID=84 AND att.ATTR_ID IN (2,3)) OR (att.OBJECT_TYPE_ID=11 AND att.ATTR_ID=27) or (att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=10) OR (att.OBJECT_TYPE_ID=56 AND att.ATTR_ID=6) THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Yes','No') ELSE CASE WHEN att.OBJECT_TYPE_ID=8 AND att.ATTR_ID=7 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Locally',2,'Across Grid',0,'No') ELSE CASE WHEN att.OBJECT_TYPE_ID=3 AND att.ATTR_ID=11 THEN DECODE((attrval.ATTR_VALUE || attrval1.ATTR_VALUE),1,'Always','Never') ELSE (attrval.ATTR_VALUE || SUBSTR(attrval1.ATTR_VALUE,1,1900)) END END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", map.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , map.SUBJECT_ID "SUBJECT_ID" from OPB_WIDGET_ATTR attrval, OPB_WIDGET_ATTR attrval1, OPB_OBJECT_TYPE otype, OPB_ATTR att, OPB_MAPPING map,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:176/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET_INST winst where winst.WIDGET_ID = attrval.WIDGET_ID and winst.WIDGET_TYPE = attrval.WIDGET_TYPE and winst.INSTANCE_ID = attrval.INSTANCE_ID and winst.MAPPING_ID = attrval.MAPPING_ID and winst.VERSION_NUMBER = attrval.VERSION_NUMBER and winst.MAPPING_ID = map.MAPPING_ID and winst.VERSION_NUMBER = map.VERSION_NUMBER and map.IS_VISIBLE = 1 and attrval.SESSION_ID = 0 AND attrval.SESSION_TASK_ID = 0 AND winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID and att.ATTR_ID = attrval.ATTR_ID and att.OBJECT_TYPE_ID = winst.WIDGET_TYPE and attrval.LINE_NO = 1 and attrval.ATTR_ID = attrval1.ATTR_ID AND attrval.INSTANCE_ID = attrval1.INSTANCE_ID AND attrval.SESSION_TASK_ID = attrval1.SESSION_TASK_ID AND attrval.WIDGET_ID = attrval1.WIDGET_ID AND attrval.VERSION_NUMBER = attrval1.VERSION_NUMBER AND attrval.WIDGET_TYPE = attrval1.WIDGET_TYPE AND attrval1.LINE_NO = 2

------------------------------------------------------------------------This is for all reusable task's attributes ----------------------------------------------------------------------create view V_ATTRIBUTE_TASK as select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.'||REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME||'_'|| ltrim(to_char(tasks.TASK_ID)) "ELEMENT_ID", 'GLOBAL' "SCOPE_TYPE", tattr.ATTR_NAME "ELMNT_ATTR_NAME", CASE WHEN (tattr.OBJECT_TYPE_ID=71 AND tattr.ATTR_ID in (12,13,14,17,18)) OR (tattr.OBJECT_TYPE_ID=58 AND tattr.ATTR_ID=1) THEN DECODE(tattrval.ATTR_VALUE,1,'Yes','No') ELSE CASE WHEN (tattr.OBJECT_TYPE_ID=58 AND tattr.ATTR_ID=2) THEN DECODE(tattrval.ATTR_VALUE,1,'Restart task',0,'Fail task and continue workflow') ELSE CASE WHEN tattr.OBJECT_TYPE_ID=68 THEN (CASE WHEN tattr.ATTR_ID=107 THEN DECODE(tattrval.ATTR_VALUE, 9, 'To Source with View', 11,'Full with View',1,'To Source',2,'To Target',3,'Full',4,'Configured at runtime',0, 'None') ELSE CASE WHEN tattr.ATTR_ID=18 THEN DECODE(tattrval.ATTR_VALUE,2,'Restart Task',1, 'Resume from last checkpoint',0,'Fail task & continue workflow') ELSE CASE WHEN tattr.ATTR_ID IN (17,109,110,111) THEN DECODE(tattrval.ATTR_VALUE,1,'Yes', 'No') ELSE tattrval.ATTR_VALUE END END END) ELSE tattrval.ATTR_VALUE END END END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", tasks.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", tasks.SUBJECT_ID "SUBJECT_ID" from OPB_TASK tasks, OPB_OBJECT_TYPE otype, OPB_MMD_TASK_ATTR tattr, OPB_TASK_ATTR tattrval
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:177/334
Last modification: 3/12/2010 5:51:38 PM

where tasks.TASK_TYPE = otype.OBJECT_TYPE_ID and tasks.IS_REUSABLE = 1 and tattrval.TASK_ID = tasks.TASK_ID and tattrval.TASK_TYPE = tasks.TASK_TYPE and tattrval.VERSION_NUMBER = tasks.VERSION_NUMBER and tasks.IS_VISIBLE = 1 and tattrval.WORKFLOW_ID = 0 and tattrval.INSTANCE_ID = 0 and tattrval.REF_SESSION_ID = 0 and tattrval.GROUP_ID = 0 and tattrval.ATTR_ID = tattr.ATTR_ID and tattr.OBJECT_TYPE_ID = tasks.TASK_TYPE

--------------------------------------------------------------------------------- Source Field Attributes -------------------------------------------------------------------------------CREATE VIEW V_ATTRIBUTE_SRCFLD AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "ELEMENT_CLASS_ID", 'Source Definition_' || 'Field_' || LTRIM(TO_CHAR(srcfld.SRC_ID)) || '_' || LTRIM(TO_CHAR(srcfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'dataType' "ELMNT_ATTR_NAME", (select MIN(dtype.DTYPE_NAME) from REP_FLD_DATATYPE dtype where picdsc.SRC_NTYPE = dtype.DTYPE_NUM OR picdsc.SRC_TYPE = dtype.DTYPE_NUM ) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_PICDSC picdsc, OPB_SRC_FLD srcfld WHERE src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND srcfld.PICID = picdsc.PICID AND srcfld.VERSION_NUMBER = picdsc.VERSION_NUMBER UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "ELEMENT_CLASS_ID", 'Source Definition' || '_' || 'Field_' || LTRIM(TO_CHAR(srcfld.SRC_ID)) || '_' || LTRIM(TO_CHAR(srcfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'precision' "ELMNT_ATTR_NAME", LTRIM(TO_CHAR(picdsc.SRC_PREC)) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_SRC_FLD srcfld, OPB_PICDSC picdsc

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:178/334
Last modification: 3/12/2010 5:51:38 PM

WHERE src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND srcfld.PICID = picdsc.PICID AND srcfld.VERSION_NUMBER = picdsc.VERSION_NUMBER UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "ELEMENT_CLASS_ID", 'Source Definition_' || 'Field_' || LTRIM(TO_CHAR(srcfld.SRC_ID)) || '_' || LTRIM(TO_CHAR(srcfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'scale' "ELMNT_ATTR_NAME", LTRIM(TO_CHAR(picdsc.SRC_SCALE)) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_SRC_FLD srcfld, OPB_PICDSC picdsc WHERE src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND srcfld.PICID = picdsc.PICID AND srcfld.VERSION_NUMBER = picdsc.VERSION_NUMBER UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "ELEMENT_CLASS_ID", 'Source Definition_' || 'Field_' || LTRIM(TO_CHAR(srcfld.SRC_ID)) || '_' || LTRIM(TO_CHAR(srcfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'GROUP_NAME' "ELMNT_ATTR_NAME", tgrp.ATTR_VALUE "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_SRC_FLD srcfld, OPB_TABLE_GROUP tgrp WHERE tgrp.ATTR_ID = 1 AND src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND tgrp.OBJECT_ID = srcfld.SRC_ID AND tgrp.OBJECT_TYPE = 1 AND tgrp.GROUP_ID = srcfld.GROUP_ID AND tgrp.VERSION_NUMBER = srcfld.VERSION_NUMBER UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "ELEMENT_CLASS_ID", 'Source Definition_' || 'Field_' || LTRIM(TO_CHAR(srcfld.SRC_ID)) || '_' || LTRIM(TO_CHAR(srcfld.FLDID)) "ELEMENT_ID" ,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:179/334
Last modification: 3/12/2010 5:51:38 PM

'GLOBAL' "SCOPE_TYPE", 'KEY_TYPE' "ELMNT_ATTR_NAME", (select ktype.KEYTYPE_NAME from REP_SRC_KEY_TYPES ktype where ktype.KEYTYPE_NUM = srcfld.KEYTYPE) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_SRC_FLD srcfld WHERE src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND exists ( SELECT 'X' from REP_SRC_KEY_TYPES ktype where ktype.KEYTYPE_NUM = srcfld.KEYTYPE ) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "ELEMENT_CLASS_ID", 'Source Definition_' || 'Field_' || LTRIM(TO_CHAR(srcfld.SRC_ID)) || '_' || LTRIM(TO_CHAR(srcfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'isNullable' "ELMNT_ATTR_NAME", CASE WHEN srcfld.NULLTYPE = 0 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", src.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", src.SUBJ_ID "SUBJECT_ID" FROM OPB_SRC src, OPB_SRC_FLD srcfld WHERE src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1

--------------------------------------------------------------------------------- Target Field Attributes -------------------------------------------------------------------------------CREATE VIEW V_ATTRIBUTE_TRGFLD AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "ELEMENT_CLASS_ID", 'Target Definition_' || 'Field_' || LTRIM(TO_CHAR(targfld.TARGET_ID)) || '_' || LTRIM(TO_CHAR(targfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'dataType' "ELMNT_ATTR_NAME", (select MIN(dtype.DTYPE_NAME) from REP_FLD_DATATYPE dtype where targfld.NDTYPE = dtype.DTYPE_NUM OR targfld.DTYPE = dtype.DTYPE_NUM) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:180/334
Last modification: 3/12/2010 5:51:38 PM

targ.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM OPB_TARG targ, OPB_TARG_FLD targfld WHERE targ.TARGET_ID = targfld.TARGET_ID AND targ.VERSION_NUMBER = targfld.VERSION_NUMBER AND targ.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "ELEMENT_CLASS_ID", 'Target Definition_' || 'Field_' || LTRIM(TO_CHAR(targfld.TARGET_ID)) || '_' || LTRIM(TO_CHAR(targfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'GROUP_NAME' "ELMNT_ATTR_NAME", tgrp.ATTR_VALUE "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", targ.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM OPB_TARG targ, OPB_TARG_FLD targfld, OPB_TABLE_GROUP tgrp WHERE tgrp.ATTR_ID = 1 AND targ.TARGET_ID = targfld.TARGET_ID AND targ.VERSION_NUMBER = targfld.VERSION_NUMBER AND targ.IS_VISIBLE = 1 AND tgrp.OBJECT_TYPE = 2 AND tgrp.OBJECT_ID = targfld.TARGET_ID AND tgrp.GROUP_ID = targfld.GROUP_ID AND tgrp.VERSION_NUMBER = targfld.VERSION_NUMBER UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "ELEMENT_CLASS_ID", 'Target Definition_' || 'Field_' || LTRIM(TO_CHAR(targfld.TARGET_ID)) || '_' || LTRIM(TO_CHAR(targfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'KEY_TYPE' "ELMNT_ATTR_NAME", ( select ktype.KEYTYPE_NAME from REP_TARG_KEY_TYPES ktype where targfld.KEYTYPE = ktype.KEYTYPE_NUM) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", targ.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM OPB_TARG targ, OPB_TARG_FLD targfld WHERE targ.TARGET_ID = targfld.TARGET_ID AND targ.VERSION_NUMBER = targfld.VERSION_NUMBER AND targ.IS_VISIBLE = 1 AND exists

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:181/334
Last modification: 3/12/2010 5:51:38 PM

(select 'X' from REP_TARG_KEY_TYPES ktype where targfld.KEYTYPE = ktype.KEYTYPE_NUM ) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "ELEMENT_CLASS_ID", 'Target Definition_' || 'Field_' || LTRIM(TO_CHAR(targfld.TARGET_ID)) || '_' || LTRIM(TO_CHAR(targfld.FLDID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'isNullable' "ELMNT_ATTR_NAME", CASE WHEN targfld.NULLTYPE = 0 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", targ.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", targ.SUBJ_ID "SUBJECT_ID" FROM OPB_TARG targ, OPB_TARG_FLD targfld WHERE targ.TARGET_ID = targfld.TARGET_ID AND targ.VERSION_NUMBER = targfld.VERSION_NUMBER AND targ.IS_VISIBLE = 1

--------------------------------------------------------------------------------- Widget Field Attributes -------------------------------------------------------------------------------CREATE VIEW V_ATTRIBUTE_WDGFLD_1 AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'dataType' "ELMNT_ATTR_NAME", (select dtype.DTYPE_NAME from REP_FLD_DATATYPE dtype where wdgfld.WGT_DATATYPE = dtype.DTYPE_NUM) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' ||REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:182/334
Last modification: 3/12/2010 5:51:38 PM

otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'precision' "ELMNT_ATTR_NAME", LTRIM(TO_CHAR(wdgfld.WGT_PREC)) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'scale' "ELMNT_ATTR_NAME", LTRIM(TO_CHAR(wdgfld.WGT_SCALE)) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1

CREATE VIEW V_ATTRIBUTE_WDGFLD_2 AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'GROUP_NAME' "ELMNT_ATTR_NAME", tgrp.ATTR_VALUE "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:183/334
Last modification: 3/12/2010 5:51:38 PM

'' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype, OPB_TABLE_GROUP tgrp WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND wdgfld.WIDGET_ID = tgrp.OBJECT_ID AND wdgfld.GROUP_ID= tgrp.GROUP_ID AND wdgfld.VERSION_NUMBER = tgrp.VERSION_NUMBER AND tgrp.OBJECT_TYPE = wdg.WIDGET_TYPE AND tgrp.ATTR_ID = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'portType' "ELMNT_ATTR_NAME", CASE WHEN wdgfld.PORTTYPE = 1 THEN 'Input Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 2 THEN 'Output Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 3 THEN 'Input Output Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 6 THEN 'Return Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 7 THEN 'Input Return Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 8 THEN 'Lookup Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 10 THEN 'Output Lookup Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 14 THEN 'Lookup Return Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 32 THEN 'Variable Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 65 THEN 'Input Port and Master Detail Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 67 THEN 'Input Port, Output Port and Master Detail Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 130 THEN 'Output Port and Generated Key Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 258 THEN 'Output Port and Generated Column ID Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 515 THEN 'Input Port, Output Port and Message ID Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 1027 THEN 'Input Port, Output Port and Message Data Port' ELSE ( CASE WHEN wdgfld.PORTTYPE = 2050 THEN 'Dynamic Lookup Port' ELSE 'Other' END) END) END) END) END) END) END) END) END) END) END) END) END) END) END) END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:184/334
Last modification: 3/12/2010 5:51:38 PM

wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'expression' "ELMNT_ATTR_NAME", expr.EXPRESSION "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype, OPB_EXPRESSION expr, OPB_WIDGET_EXPR wdgexp WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND wdgfld.WIDGET_ID=wdgexp.WIDGET_ID AND wdgfld.VERSION_NUMBER = wdgexp.VERSION_NUMBER AND wdgfld.FIELD_ID=wdgexp.OUTPUT_FIELD_ID AND wdgexp.WIDGET_ID=expr.WIDGET_ID AND wdgexp.EXPR_ID=expr.EXPR_ID AND wdgexp.VERSION_NUMBER = expr.VERSION_NUMBER AND expr.LINE_NO=1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'expression' "ELMNT_ATTR_NAME", '' "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:185/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_EXPR wdgexp WHERE wdgfld.WIDGET_ID= wdgexp.WIDGET_ID AND wdgfld.FIELD_ID= wdgexp.OUTPUT_FIELD_ID AND wdgfld.VERSION_NUMBER = wdgexp.VERSION_NUMBER) AND wdg.WIDGET_TYPE IN (5,9,26) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'portComments' "ELMNT_ATTR_NAME", wdgexp.COMMENTS "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype, OPB_EXPRESSION expr, OPB_WIDGET_EXPR wdgexp WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND wdgfld.WIDGET_ID=wdgexp.WIDGET_ID AND wdgfld.VERSION_NUMBER = wdgexp.VERSION_NUMBER AND wdgfld.FIELD_ID=wdgexp.OUTPUT_FIELD_ID AND wdgexp.WIDGET_ID=expr.WIDGET_ID AND wdgexp.EXPR_ID=expr.EXPR_ID AND wdgexp.VERSION_NUMBER = expr.VERSION_NUMBER AND expr.LINE_NO=1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'portComments' "ELMNT_ATTR_NAME", '' "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:186/334
Last modification: 3/12/2010 5:51:38 PM

'' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_EXPR wdgexp WHERE wdgfld.WIDGET_ID= wdgexp.WIDGET_ID AND wdgfld.FIELD_ID= wdgexp.OUTPUT_FIELD_ID AND wdgfld.VERSION_NUMBER = wdgexp.VERSION_NUMBER) AND wdg.WIDGET_TYPE IN (5,9,26) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ', ''),'-','') || 'Port' "ELEMENT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'isGroupBy' "ELMNT_ATTR_NAME", CASE WHEN WDGEXP.EXPR_TYPE = 46 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_OBJECT_TYPE otype, OPB_WIDGET_EXPR wdgexp WHERE wdg.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND wdgfld.WIDGET_ID=wdgexp.WIDGET_ID(+) AND wdgfld.FIELD_ID=wdgexp.OUTPUT_FIELD_ID(+) AND wdgfld.VERSION_NUMBER = wdgexp.VERSION_NUMBER (+) AND (wdg.WIDGET_TYPE = 9 OR wdg.WIDGET_TYPE = 26) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.RankPort' "ELEMENT_CLASS_ID", 'Rank_' || 'Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:187/334
Last modification: 3/12/2010 5:51:38 PM

'isRankPort' "ELMNT_ATTR_NAME", CASE WHEN WDGEXP.EXPR_TYPE = 65 THEN 'Yes' ELSE 'No' END "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_WIDGET_EXPR wdgexp WHERE wdg.WIDGET_ID = wdgfld.WIDGET_ID AND wdg.VERSION_NUMBER = wdgfld.VERSION_NUMBER AND wdg.IS_VISIBLE = 1 AND wdgfld.WIDGET_ID=wdgexp.WIDGET_ID(+) AND wdgfld.FIELD_ID=wdgexp.OUTPUT_FIELD_ID(+) AND wdgfld.VERSION_NUMBER=wdgexp.VERSION_NUMBER(+) AND wdg.WIDGET_TYPE = 26 UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SorterPort' "ELEMENT_CLASS_ID", 'Sorter_Field_' || LTRIM(TO_CHAR(wgtfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wgtfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'direction' "ELMNT_ATTR_NAME", DECODE(MOD(widget_fld_prop,4), 1, 'Ascending', 3, 'Descending',TO_CHAR(NULL)) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wgt.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wgt.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET_FIELD wgtfld, OPB_WIDGET wgt WHERE wgt.WIDGET_ID = wgtfld.WIDGET_ID and wgt.VERSION_NUMBER = wgtfld.VERSION_NUMBER and wgt.IS_VISIBLE = 1 and wgt.WIDGET_TYPE = 80 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.NormalizerPort' "ELEMENT_CLASS_ID", 'Normalizer_Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'level' "ELMNT_ATTR_NAME", TO_CHAR(FLDLVL) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:188/334
Last modification: 3/12/2010 5:51:38 PM

'' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_NORM_FLD nrmfld where nrmfld.WIDGET_ID = wdg.WIDGET_ID AND wdg.VERSION_NUMBER = nrmfld.VERSION_NUMBER AND wdg.WIDGET_TYPE = 14 AND nrmfld.WIDGET_ID = wdgfld.WIDGET_ID and wdgfld.VERSION_NUMBER = nrmfld.VERSION_NUMBER AND nrmfld.NORMAL_FLDID = wdgfld.SRC_FIELD_ID and wdgfld.PORTTYPE = 2 AND wdg.IS_VISIBLE=1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.NormalizerPort' "ELEMENT_CLASS_ID", 'Normalizer_Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'occurs' "ELMNT_ATTR_NAME", TO_CHAR(OCCTIMES) "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_NORM_FLD nrmfld where nrmfld.WIDGET_ID = wdg.WIDGET_ID AND wdg.VERSION_NUMBER = nrmfld.VERSION_NUMBER AND wdg.WIDGET_TYPE = 14 AND nrmfld.WIDGET_ID = wdgfld.WIDGET_ID and wdgfld.VERSION_NUMBER = nrmfld.VERSION_NUMBER AND nrmfld.NORMAL_FLDID = wdgfld.SRC_FIELD_ID and wdgfld.PORTTYPE = 2 AND wdg.IS_VISIBLE=1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.NormalizerPort' "ELEMENT_CLASS_ID", 'Normalizer_Field_' || LTRIM(TO_CHAR(wdgfld.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(wdgfld.FIELD_ID)) "ELEMENT_ID" , 'GLOBAL' "SCOPE_TYPE", 'KEY_TYPE' "ELMNT_ATTR_NAME", KEY_NAME "ELMNT_ATTR_VALUE", '' "ELMNT_ATTR_DESC", '' "DATA_TYPE", '' "SRC_CREATE_DT", wdg.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT", wdg.SUBJECT_ID "SUBJECT_ID"

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:189/334
Last modification: 3/12/2010 5:51:38 PM

FROM OPB_WIDGET wdg, OPB_WIDGET_FIELD wdgfld, OPB_MMD_KEYTYPE ktype, OPB_NORM_FLD nrmfld where nrmfld.WIDGET_ID = wdg.WIDGET_ID AND wdg.VERSION_NUMBER = nrmfld.VERSION_NUMBER AND wdg.WIDGET_TYPE = 14 AND nrmfld.WIDGET_ID = wdgfld.WIDGET_ID and wdgfld.VERSION_NUMBER = nrmfld.VERSION_NUMBER AND nrmfld.NORMAL_FLDID = wdgfld.SRC_FIELD_ID and wdgfld.PORTTYPE = 2 AND wdg.IS_VISIBLE=1 AND ktype.DBTYPE_ID = 0 AND ktype.KEY_FLAGS = nrmfld.KEYTYPE

------------------------------------------------------------------------IME_ASSOCIATION view ---------------------------------------------------------------------------------------------------------------------------------------------- Association of all widgets to folders associations. Only applies to -- reusable widgets ----------------------------------------------------------------------CREATE VIEW V_ASC_WDG_FLDR AS SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') otype.OBJECT_TYPE_NAME||'_'|| LTRIM(TO_CHAR(widget.WIDGET_ID)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET widget, OPB_OBJECT_TYPE otype, OPB_SUBJECT subj WHERE

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:190/334
Last modification: 3/12/2010 5:51:38 PM

otype.OBJECT_TYPE_ID = widget.WIDGET_TYPE AND widget.IS_REUSABLE = 1 AND subj.SUBJ_ID = widget.SUBJECT_ID AND widget.IS_VISIBLE = 1

------------------------------------------------------------------------Association of PowerCenter sources to folders ----------------------------------------------------------------------CREATE VIEW V_ASC_SRC_FLDR AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.SourceDefinition' "TO_CLASS_ID", 'Source Definition_'||LTRIM(TO_CHAR(src.SRC_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SRC src, OPB_SUBJECT subj WHERE subj.SUBJ_ID = src.SUBJ_ID AND src.IS_VISIBLE = 1

------------------------------------------------------------------------Association of PowerCenter targets to folders ----------------------------------------------------------------------CREATE VIEW V_ASC_TGT_FLDR AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.TargetDefinition' "TO_CLASS_ID", 'Target Definition_'|| LTRIM(TO_CHAR(targ.TARGET_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:191/334
Last modification: 3/12/2010 5:51:38 PM

1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_TARG targ, OPB_SUBJECT subj WHERE subj.SUBJ_ID = targ.SUBJ_ID AND targ.IS_VISIBLE = 1 ,

------------------------------------------------------------------------All task to folder associations. Only applies to reusable tasks ----------------------------------------------------------------------create view V_ASC_RTASKS_FLDR as SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') otype.OBJECT_TYPE_NAME||'_'||LTRIM(TO_CHAR(tasks.TASK_ID)) ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_TASK tasks, OPB_OBJECT_TYPE otype, OPB_SUBJECT subj WHERE otype.OBJECT_TYPE_ID = tasks.TASK_TYPE AND subj.SUBJ_ID = tasks.SUBJECT_ID AND tasks.IS_REUSABLE = 1 AND tasks.IS_VISIBLE = 1

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID", "TO_ELEMENT_ID", "TO_REPO_ID",

-----------------------------------------------------------------------

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:192/334
Last modification: 3/12/2010 5:51:38 PM

--All local shortcut to folders associations ----------------------------------------------------------------------create view V_ASC_L_SC_TO_FLDR as SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'Shortcut' 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype, OPB_SUBJECT subj WHERE shcut.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND subj.SUBJ_ID = shcut.SUBJECT_ID AND shcut.OBJECT_ID >= 0 AND shcut.OBJECT_TYPE = 21 AND shcut.IS_VISIBLE = 1 UNION ALL SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'Shortcut' 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID))|| '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "TO_ELEMENT_ID",

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:193/334
Last modification: 3/12/2010 5:51:38 PM

' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype, OPB_SUBJECT subj WHERE shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID AND subj.SUBJ_ID = shcut.SUBJECT_ID AND shcut.OBJECT_ID >= 0 AND shcut.OBJECT_TYPE <> 22 AND shcut.IS_VISIBLE = 1

"TO_REPO_ID",

------------------------------------------------------------------------All global shortcut to folders associations ----------------------------------------------------------------------create view V_ASC_G_SC_TO_FLDR as SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'Shortcut' 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID))|| '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID + 2147483649)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID",

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:194/334
Last modification: 3/12/2010 5:51:38 PM

subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype, OPB_SUBJECT subj WHERE shcut.OBJECT_TYPE = otype.OBJECT_TYPE_ID AND shcut.OBJECT_ID < 0 AND shcut.OBJECT_TYPE = 21 AND subj.SUBJ_ID = shcut.SUBJECT_ID AND shcut.IS_VISIBLE = 1 UNION ALL SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'Shortcut' "TO_CLASS_ID", 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID + 2147483649)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype, OPB_SUBJECT subj WHERE shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID AND shcut.OBJECT_ID < 0 AND shcut.OBJECT_TYPE <> 22 AND subj.SUBJ_ID = shcut.SUBJECT_ID AND shcut.IS_VISIBLE = 1

"REPOSITORY_ID",

"FROM_REPO_ID",

"TO_REPO_ID",

--------------------------------------------------------------------------------------------

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:195/334
Last modification: 3/12/2010 5:51:38 PM

-- First select takes care of Sources to Source instances associations -- Second select takes care of Local shortcuts to Sources --> source instances associations -- Third select takes care of Global shortucts to sources --> source instances associations --------------------------------------------------------------------------------------------create view V_ASC_SRCINST_SRC as SELECT ' ' 'com.informatica.powercenter.map.SourceDefinition' "FROM_CLASS_ID", 'Source Definition_' || LTRIM(TO_CHAR(winst.WIDGET_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.SourceDefinitionInstance' 'WIDGET_INSTANCE_' || 'Source Definition' || '_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , src.SUBJ_ID "SRC_SUBJECT_ID", src.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_SRC src WHERE winst.WIDGET_ID = src.SRC_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND src.SUBJ_ID = map.SUBJECT_ID AND winst.WIDGET_TYPE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = src.SUBJ_ID AND scut.OBJECT_SUBTYPE = 1 AND scut.OBJECT_ID = winst.WIDGET_ID AND scut.IS_VISIBLE = 1 AND scut.OBJECT_TYPE <> 22 )

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:196/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL SELECT ' ' 'com.informatica.powercenter.map.SourceDefinitionShortcut' 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_'|| 'Source Definition' || '_' || LTRIM(TO_CHAR(shcut.SUBJECT_ID))|| '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.SourceDefinitionInstance' 'WIDGET_INSTANCE_' || 'Source Definition_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT", shcut.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_SRC src, OPB_SHORTCUT shcut, OPB_MAPPING map WHERE winst.WIDGET_ID = src.SRC_ID AND winst.WIDGET_TYPE = 1 AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND shcut.OBJECT_SUBTYPE = 1 AND shcut.OBJECT_ID = winst.WIDGET_ID AND shcut.IS_VISIBLE = 1 AND shcut.SUBJECT_ID = map.SUBJECT_ID AND shcut.OBJECT_ID >= 0 AND shcut.OBJECT_TYPE <> 22 UNION ALL SELECT ' ' 'com.informatica.powercenter.map.SourceDefinitionShortcut' 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME|| '_Source Definition_'|| LTRIM(TO_CHAR(map.SUBJECT_ID))|| '_' ||

"REPOSITORY_ID", "FROM_CLASS_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

"REPOSITORY_ID", "FROM_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:197/334
Last modification: 3/12/2010 5:51:38 PM

LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR((winst.WIDGET_ID + 2147483649))) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.SourceDefinitionInstance' 'WIDGET_INSTANCE_Source Definition_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , shcut.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_SHORTCUT shcut WHERE winst.WIDGET_TYPE = 1 AND winst.WIDGET_ID < 0 AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND shcut.OBJECT_SUBTYPE = 1 AND shcut.OBJECT_ID = winst.WIDGET_ID AND shcut.IS_VISIBLE = 1 AND shcut.SUBJECT_ID = map.SUBJECT_ID AND shcut.OBJECT_TYPE <> 22

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

---------------------------------------------------------------------------------------------- First select takes care of targets to target instances associations -- Second select takes care of Local shortcuts to targets --> target instances associations -- Third select takes care of Global shortucts to targets --> target instances associations --------------------------------------------------------------------------------------------create view V_ASC_TGTINST_TGT as SELECT ' ' 'com.informatica.powercenter.map.TargetDefinition' 'Target Definition_' || LTRIM(TO_CHAR(winst.WIDGET_ID)) "FROM_ELEMENT_ID",

"REPOSITORY_ID", "FROM_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:198/334
Last modification: 3/12/2010 5:51:38 PM

' ' 'com.informatica.powercenter.map.TargetDefinitionInstance'

"FROM_REPO_ID",

"TO_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , targ.SUBJ_ID "SRC_SUBJECT_ID", targ.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_TARG targ WHERE winst.WIDGET_ID = targ.TARGET_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND targ.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND targ.SUBJ_ID = map.SUBJECT_ID AND winst.WIDGET_TYPE = 2 AND NOT EXISTS (SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = targ.SUBJ_ID AND scut.OBJECT_SUBTYPE = 2 AND scut.OBJECT_ID = winst.WIDGET_ID AND scut.IS_VISIBLE = 1) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinitionShortcut' "FROM_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_'|| 'Target Definition_' || LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "TO_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:199/334
Last modification: 3/12/2010 5:51:38 PM

'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , shcut.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_TARG targ, OPB_SHORTCUT shcut, OPB_MAPPING map WHERE winst.WIDGET_ID = targ.TARGET_ID AND winst.WIDGET_TYPE = 2 AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND targ.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND shcut.OBJECT_SUBTYPE = 2 AND shcut.OBJECT_ID = winst.WIDGET_ID AND shcut.SUBJECT_ID = map.SUBJECT_ID AND shcut.IS_VISIBLE = 1 AND shcut.OBJECT_ID >= 0 UNION ALL SELECT ' ' 'com.informatica.powercenter.map.TargetDefinitionShortcut'

"REPOSITORY_ID",

"FROM_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_'|| 'Target Definition_'|| LTRIM(TO_CHAR(map.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR((winst.WIDGET_ID + 2147483649))) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "TO_CLASS_ID", 'WIDGET_INSTANCE_' || 'Target Definition_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:200/334
Last modification: 3/12/2010 5:51:38 PM

'' "EFF_TO_DT" , shcut.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_SHORTCUT shcut WHERE winst.WIDGET_TYPE = 2 AND winst.WIDGET_ID < 0 AND map.MAPPING_ID = winst.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND shcut.OBJECT_SUBTYPE = 2 AND shcut.OBJECT_ID = winst.WIDGET_ID AND shcut.IS_VISIBLE = 1 AND shcut.SUBJECT_ID = map.SUBJECT_ID

---------------------------------------------------------------------------------------------- First select takes care of Widgets to Widget instances associations -- Second select takes care of Local shortcuts to Widgets --> Widget instances associations -- Third select takes care of Global shortucts to Widgets --> Widget instances associations --------------------------------------------------------------------------------------------create view V_ASC_WDGINST_WDG as SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "FROM_CLASS_ID", otype.OBJECT_TYPE_NAME ||'_' || LTRIM(TO_CHAR(winst.WIDGET_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'Instance' "TO_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT",
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:201/334
Last modification: 3/12/2010 5:51:38 PM

'' "EFF_TO_DT" , widget.SUBJECT_ID "SRC_SUBJECT_ID", widget.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_OBJECT_TYPE otype, OPB_WIDGET widget, OPB_MAPPING map WHERE winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND winst.WIDGET_ID = widget.WIDGET_ID AND winst.WIDGET_TYPE = widget.WIDGET_TYPE AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND widget.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND widget.SUBJECT_ID = map. SUBJECT_ID AND widget.IS_REUSABLE = 1 AND NOT EXISTS ( SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = widget.SUBJECT_ID AND scut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID AND scut.OBJECT_ID = winst.WIDGET_ID AND scut.IS_VISIBLE = 1) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'Shortcut' "FROM_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'Instance' "TO_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" ,
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:202/334
Last modification: 3/12/2010 5:51:38 PM

shcut.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst, OPB_OBJECT_TYPE otype, OPB_SHORTCUT shcut, OPB_MAPPING map, OPB_WIDGET widg WHERE winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND widg.WIDGET_ID = winst.WIDGET_ID AND widg.WIDGET_TYPE = winst.WIDGET_TYPE AND shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID AND shcut.OBJECT_ID = winst.WIDGET_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND widg.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND shcut.SUBJECT_ID = map. SUBJECT_ID AND shcut.OBJECT_ID >= 0 AND shcut.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'Shortcut' "FROM_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(map.SUBJECT_ID))|| '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR((winst.WIDGET_ID + 2147483649))) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'Instance' "TO_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.reuse.ClassReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , shcut.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST winst,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:203/334
Last modification: 3/12/2010 5:51:38 PM

OPB_OBJECT_TYPE otype, OPB_MAPPING map, OPB_SHORTCUT shcut WHERE winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND winst.WIDGET_TYPE NOT IN (1,2) AND map.MAPPING_ID = winst.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND winst.WIDGET_ID < 0 AND shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID AND shcut.OBJECT_ID = winst.WIDGET_ID AND shcut.SUBJECT_ID = map. SUBJECT_ID AND shcut.IS_VISIBLE = 1

------------------------------------------------------------------------ widget/source/target instances to mapping/mapplet association ----------------------------------------------------------------------CREATE VIEW V_ASC_WSRCTGT_MAP AS SELECT ' ' 'com.informatica.powercenter.map.Mapping' "FROM_CLASS_ID", 'Mapping_' || LTRIM(TO_CHAR(mapping.MAPPING_ID)) ' ' 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-','') || 'Instance' "TO_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(mapping.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(widgetinstance.INSTANCE_ID)) ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , mapping.SUBJECT_ID "SRC_SUBJECT_ID", mapping.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST widgetinstance, OPB_OBJECT_TYPE otype, OPB_MAPPING mapping WHERE otype.OBJECT_TYPE_ID = widgetinstance.WIDGET_TYPE AND mapping.MAPPING_ID = widgetinstance.MAPPING_ID

"REPOSITORY_ID",

"FROM_ELEMENT_ID", "FROM_REPO_ID",

"TO_ELEMENT_ID", "TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:204/334
Last modification: 3/12/2010 5:51:38 PM

AND mapping.VERSION_NUMBER = widgetinstance.VERSION_NUMBER AND mapping.IS_VISIBLE = 1 AND mapping.REF_WIDGET_ID = 0 UNION ALL SELECT ' ' 'com.informatica.powercenter.map.Mapplet' "FROM_CLASS_ID", 'Mapplet_' || LTRIM(TO_CHAR(mapping.REF_WIDGET_ID)) ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-','') || 'Instance' "TO_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(mapping.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(widgetinstance.INSTANCE_ID)) ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , mapping.SUBJECT_ID "SRC_SUBJECT_ID", mapping.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_INST widgetinstance, OPB_OBJECT_TYPE otype, OPB_MAPPING mapping WHERE otype.OBJECT_TYPE_ID = widgetinstance.WIDGET_TYPE AND mapping.MAPPING_ID = widgetinstance.MAPPING_ID AND mapping.VERSION_NUMBER = widgetinstance.VERSION_NUMBER AND mapping.IS_VISIBLE = 1 AND mapping.REF_WIDGET_ID <> 0

"REPOSITORY_ID",

"FROM_ELEMENT_ID",

"TO_ELEMENT_ID", "TO_REPO_ID",

------------------------------------------------------------------------ This is the association between top level PowerCenter folders to the -- PowerCenter repository object. ----------------------------------------------------------------------create view V_ASC_REPO_FOLDER as SELECT ' ' "REPOSITORY_ID", 'com.informatica.superglue.repository.Repository' "FROM_CLASS_ID", ' ' "FROM_ELEMENT_ID", 'IMM_MASTER_REPOSITORY' "FROM_REPO_ID", 'com.informatica.powercenter.package.Folder' "TO_CLASS_ID", 'Folder_'|| ltrim(to_char(subj.SUBJ_ID)) "TO_ELEMENT_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:205/334
Last modification: 3/12/2010 5:51:38 PM

' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT", subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SUBJECT subj

------------------------------------------------------------------------ This is the association between PowerCenter folders to the -- PowerCenter mappings. ----------------------------------------------------------------------create view V_ASC_FLDR_MAP as SELECT ' ' 'com.informatica.powercenter.package.Folder' "FROM_CLASS_ID", 'Folder_'|| LTRIM(TO_CHAR(subj.SUBJ_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.Mapping' "TO_CLASS_ID", 'Mapping_'|| LTRIM(TO_CHAR(mapping.MAPPING_ID)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , subj.SUBJ_ID "SRC_SUBJECT_ID", subj.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_MAPPING mapping, OPB_SUBJECT subj WHERE mapping.REF_WIDGET_ID = 0 AND subj.SUBJ_ID = mapping.SUBJECT_ID AND mapping.IS_VISIBLE = 1

"REPOSITORY_ID",

"FROM_REPO_ID",

"TO_REPO_ID",

------------------------------------------------------------------------ This is the association between reusable tasks in PowerCenter to the -- PowerCenter task instances. -----------------------------------------------------------------------

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:206/334
Last modification: 3/12/2010 5:51:38 PM

create view V_ASC_TASK_TSKINST as SELECT ' ' 'com.informatica.powercenter.process.'|| REPLACE(otype.OBJECT_TYPE_NAME,' ','') "FROM_CLASS_ID", otype.OBJECT_TYPE_NAME ||'_' || LTRIM(TO_CHAR(taskinst.TASK_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.process.'|| REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'TaskInstance' "TO_CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' 'com.informatica.cwmx.reuse.TaskReuse' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , tasks.SUBJECT_ID "SRC_SUBJECT_ID", tasks.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_TASK_INST taskinst, OPB_TASK tasks, OPB_OBJECT_TYPE otype, OPB_TASK wflow_or_wklet WHERE taskinst.TASK_TYPE = otype.OBJECT_TYPE_ID AND taskinst.TASK_TYPE = tasks.TASK_TYPE AND taskinst.TASK_ID = tasks.TASK_ID AND taskinst.WORKFLOW_ID = wflow_or_wklet.TASK_ID AND taskinst.VERSION_NUMBER = wflow_or_wklet.VERSION_NUMBER AND wflow_or_wklet.IS_VISIBLE = 1 AND tasks.IS_REUSABLE = 1 AND tasks.IS_VISIBLE = 1

"REPOSITORY_ID",

"FROM_REPO_ID",

"TO_REPO_ID",

-- Command to Command Lines Association create view V_ASC_CMD_CMDLINE as SELECT ' ' 'com.informatica.powercenter.process.Command' "FROM_CLASS_ID", 'Command_'||LTRIM(TO_CHAR(tasks.TASK_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.process.CommandLine' "TO_CLASS_ID",

"REPOSITORY_ID",

"FROM_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:207/334
Last modification: 3/12/2010 5:51:38 PM

'CommandLine_' || ltrim(to_char(tasks.TASK_ID))||'~'|| ltrim(to_char(tval.INSTANCE_ID))||'~'||ltrim(to_char(tval.EXEC_ORDER)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", EXEC_ORDER "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , tasks.SUBJECT_ID "SRC_SUBJECT_ID", tasks.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_TASK tasks, OPB_TASK_VAL_LIST tval where tasks.TASK_TYPE = 58 and tasks.TASK_ID = tval.TASK_ID AND tasks.TASK_TYPE = tval.TASK_TYPE AND tasks.VERSION_NUMBER = tval.VERSION_NUMBER AND tval.LINE_NO = 1 AND tasks.IS_VISIBLE = 1 AND tasks.IS_REUSABLE = 1 AND tval.SESSION_ID = 0 AND tval.INSTANCE_ID = 0 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.CommandTaskInstance' "FROM_CLASS_ID", 'TASK_INSTANCE_Command_' || LTRIM(TO_CHAR(tval.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.process.CommandLine' "TO_CLASS_ID", 'CommandLine_' || ltrim(to_char(tval.TASK_ID))||'~'|| ltrim(to_char(tval.INSTANCE_ID))||'~'||ltrim(to_char(tval.EXEC_ORDER)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", EXEC_ORDER "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , wflow.SUBJECT_ID "SRC_SUBJECT_ID", wflow.SUBJECT_ID "TGT_SUBJECT_ID" from OPB_TASK wflow, OPB_TASK_INST tinst,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:208/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK_VAL_LIST tval where tval.TASK_TYPE = 58 and tinst.INSTANCE_ID = tval.INSTANCE_ID AND tval.TASK_TYPE = tinst.TASK_TYPE and tval.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = tval.VERSION_NUMBER AND wflow.VERSION_NUMBER = tval.VERSION_NUMBER AND tval.LINE_NO = 1 AND wflow.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.CommandTaskInstance' "FROM_CLASS_ID", 'TASK_INSTANCE_Command_' || LTRIM(TO_CHAR(tinst.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.process.CommandLine' "TO_CLASS_ID", 'CommandLine_' || ltrim(to_char(tval.TASK_ID))||'~'|| ltrim(to_char(tval.INSTANCE_ID))||'~'||ltrim(to_char(tval.EXEC_ORDER)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", EXEC_ORDER "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , wflow.SUBJECT_ID "SRC_SUBJECT_ID", wflow.SUBJECT_ID "TGT_SUBJECT_ID" from OPB_TASK wflow, OPB_TASK tasks, OPB_TASK_INST tinst, OPB_TASK_VAL_LIST tval where tval.TASK_TYPE = 58 and tinst.TASK_ID = tval.TASK_ID AND tval.TASK_TYPE = tinst.TASK_TYPE and tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND tval.TASK_ID = tasks.TASK_ID AND tasks.VERSION_NUMBER = tval.VERSION_NUMBER AND tval.LINE_NO = 1 AND tasks.IS_VISIBLE = 1 AND tasks.IS_REUSABLE = 0

------------------------------------------------------------------------ This is the association between workflows in PowerCenter to -- task instances.

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:209/334
Last modification: 3/12/2010 5:51:38 PM

----------------------------------------------------------------------create view V_ASC_WFLOW_T_INST as SELECT ' ' 'com.informatica.powercenter.process.Workflow' "FROM_CLASS_ID", 'Workflow_' || LTRIM(TO_CHAR(workflow.WORKFLOW_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'TaskInstance' 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinstance.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , TASK.SUBJECT_ID "SRC_SUBJECT_ID", TASK.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_TASK_INST taskinstance, OPB_OBJECT_TYPE otype, OPB_TASK TASK, OPB_WORKFLOW workflow WHERE otype.OBJECT_TYPE_ID = taskinstance.TASK_TYPE AND workflow.WORKFLOW_ID = taskinstance.WORKFLOW_ID AND workflow.VERSION_NUMBER = taskinstance.VERSION_NUMBER AND TASK.TASK_ID = workflow.WORKFLOW_ID AND TASK.TASK_TYPE = 71 AND TASK.IS_VISIBLE = 1 AND TASK.VERSION_NUMBER = workflow.VERSION_NUMBER

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

------------------------------------------------------------------------ This is the association between worklets in PowerCenter to -- task instances. ----------------------------------------------------------------------create view V_ASC_WLET_T_INST as SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.Worklet' 'Worklet_' || LTRIM(TO_CHAR(workflow.WORKFLOW_ID)) "FROM_ELEMENT_ID",

"FROM_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:210/334
Last modification: 3/12/2010 5:51:38 PM

' ' "FROM_REPO_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ', '')||'TaskInstance' "TO_CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinstance.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , TASK.SUBJECT_ID "SRC_SUBJECT_ID", TASK.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_TASK_INST taskinstance, OPB_OBJECT_TYPE otype, OPB_TASK TASK, OPB_WORKFLOW workflow WHERE otype.OBJECT_TYPE_ID = taskinstance.TASK_TYPE AND workflow.WORKFLOW_ID = taskinstance.WORKFLOW_ID AND workflow.VERSION_NUMBER = taskinstance.VERSION_NUMBER AND TASK.TASK_ID = workflow.WORKFLOW_ID AND TASK.TASK_TYPE = 70 AND TASK.IS_VISIBLE = 1 AND TASK.IS_REUSABLE = 1 AND TASK.VERSION_NUMBER = workflow.VERSION_NUMBER UNION ALL select ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.WorkletTaskInstance' "FROM_CLASS_ID", 'TASK_INSTANCE_Worklet_' || ltrim(to_char(wletinstance.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ', '')||'TaskInstance' "TO_CLASS_ID", 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(taskinstance.INSTANCE_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT",
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:211/334
Last modification: 3/12/2010 5:51:38 PM

'' "EFF_TO_DT", task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" from OPB_TASK_INST taskinstance, OPB_OBJECT_TYPE otype, OPB_TASK task, OPB_TASK_INST wletinstance where otype.OBJECT_TYPE_ID = taskinstance.TASK_TYPE and wletinstance.TASK_ID = taskinstance.WORKFLOW_ID and task.TASK_ID = wletinstance.TASK_ID and task.TASK_TYPE = 70 AND task.IS_REUSABLE = 0 AND task.IS_VISIBLE = 1 AND task.VERSION_NUMBER = taskinstance.VERSION_NUMBER

------------------------------------------------------------------------------------------- First select takes care of Sources to Source Fields associations -- Second select takes care of Local shortcuts to Sources --> source fields associations -----------------------------------------------------------------------------------------create view V_ASC_SRCFLDS_SRCS as SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "FROM_CLASS_ID", 'Source Definition_'|| LTRIM(TO_CHAR(src.SRC_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "TO_CLASS_ID", 'Source Definition_' || 'Field_' || LTRIM(TO_CHAR(src.SRC_ID)) || '_' || LTRIM(TO_CHAR(fld.FLDID)) "TO_ELEMENT_ID" , ' ' "TO_REPO_ID", 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", fld.FLDNO "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , src.SUBJ_ID "SRC_SUBJECT_ID", src.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SRC src, OPB_SRC_FLD fld WHERE fld.SRC_ID = src.SRC_ID AND fld.VERSION_NUMBER = src.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND NOT EXISTS

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:212/334
Last modification: 3/12/2010 5:51:38 PM

(SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = src.SUBJ_ID AND scut.OBJECT_SUBTYPE = 1 AND scut.OBJECT_ID = src.SRC_ID AND scut.IS_VISIBLE = 1 AND scut.OBJECT_TYPE <> 22 )

------------------------------------------------------------------------------------------- First select takes care of targets to target fields associations -- Second select takes care of Local shortcuts to targets --> target fields associations -----------------------------------------------------------------------------------------create view V_ASC_TGTFLDS_TGTS as SELECT ' ' 'com.informatica.powercenter.map.TargetDefinition' "FROM_CLASS_ID", 'Target Definition_'|| LTRIM(TO_CHAR(targ.TARGET_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.TargetDefinitionPort' "TO_CLASS_ID", 'Target Definition_' || 'Field_' || LTRIM(TO_CHAR(targ.TARGET_ID)) || '_' || LTRIM(TO_CHAR(fld.FLDID)) "TO_ELEMENT_ID" , ' ' 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", fld.FLDNO "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , targ.SUBJ_ID "SRC_SUBJECT_ID", targ.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_TARG targ, OPB_TARG_FLD fld WHERE fld.TARGET_ID = targ.TARGET_ID AND fld.VERSION_NUMBER = targ.VERSION_NUMBER AND targ.IS_VISIBLE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = targ.SUBJ_ID AND scut.OBJECT_SUBTYPE = 2

"REPOSITORY_ID",

"FROM_REPO_ID",

"TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:213/334
Last modification: 3/12/2010 5:51:38 PM

AND scut.OBJECT_ID = targ.TARGET_ID AND scut.IS_VISIBLE = 1 )

------------------------------------------------------------------------------------------- First select takes care of Widgets to Widget fields associations -- Second select takes care of Local shortcuts to Widgets --> Widget fields associations -----------------------------------------------------------------------------------------create view V_ASC_WFLDS_WDGTS as SELECT ' ' 'com.informatica.powercenter.map.' || REPLACE(otype2.OBJECT_TYPE_NAME,' ','') "FROM_CLASS_ID", otype2.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(widget.WIDGET_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')|| 'Port' otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(widget.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(fld.FIELD_ID)) "TO_ELEMENT_ID" , ' ' 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", fld.FIELD_ORDER "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , widget.SUBJECT_ID "SRC_SUBJECT_ID", widget.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET widget, OPB_WIDGET_FIELD fld, OPB_OBJECT_TYPE otype, OPB_OBJECT_TYPE otype2 WHERE otype.OBJECT_TYPE_ID = widget.WIDGET_TYPE AND otype2.OBJECT_TYPE_ID = otype.OBJECT_TYPE_ID AND fld.WIDGET_ID = widget.WIDGET_ID AND fld.VERSION_NUMBER = widget.VERSION_NUMBER AND widget.IS_VISIBLE = 1 AND widget.IS_REUSABLE = 1 AND NOT EXISTS (SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = widget.SUBJECT_ID

"REPOSITORY_ID",

"FROM_REPO_ID", "TO_CLASS_ID",

"TO_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:214/334
Last modification: 3/12/2010 5:51:38 PM

AND scut.OBJECT_SUBTYPE = widget.WIDGET_TYPE AND scut.OBJECT_ID = widget.WIDGET_ID AND scut.IS_VISIBLE = 1) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-','')|| 'Instance' "FROM_CLASS_ID", 'WIDGET_INSTANCE_' || otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(winst.MAPPING_ID)) || '_' || LTRIM(TO_CHAR(winst.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-','')|| 'Port' "TO_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || LTRIM(TO_CHAR(widget.WIDGET_ID)) || '_' || LTRIM(TO_CHAR(fld.FIELD_ID)) "TO_ELEMENT_ID" , ' ' 'org.omg.cwm.objectmodel.core.ClassifierFeature' "ASSOCIATION_ID", fld.FIELD_ORDER "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , widget.SUBJECT_ID "SRC_SUBJECT_ID", widget.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET widget, OPB_WIDGET_FIELD fld, OPB_WIDGET_INST winst, OPB_MAPPING map, OPB_OBJECT_TYPE otype WHERE otype.OBJECT_TYPE_ID = widget.WIDGET_TYPE AND fld.WIDGET_ID = widget.WIDGET_ID AND fld.VERSION_NUMBER = widget.VERSION_NUMBER AND widget.IS_VISIBLE = 1 AND winst.WIDGET_TYPE = widget.WIDGET_TYPE AND winst.WIDGET_ID = widget.WIDGET_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND widget.IS_REUSABLE = 0 "TO_REPO_ID",

--------------------------------------------------------------------------------------------

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:215/334
Last modification: 3/12/2010 5:51:38 PM

-- First select takes care of Mappings to Sessions associations -- Second select takes care of Mappings to Session instances associations -- Third select takes care of Local shortcuts to Mappings --> Session associations -- Fourth select takes care of Local shortcuts to Mappings --> Session instances associations -- Fifth select takes care of Global shortcuts to Mappings --> Session associations -- Sixth select takes care of Global shortcuts to Mappings --> Session instances associations -------------------------------------------------------------------------------------------create view V_ASC_SESSION_MAP as SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.Session' "FROM_CLASS_ID", 'Session_' || ltrim(to_char(sess.SESSION_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.Mapping' "TO_CLASS_ID", 'Mapping_' || ltrim(to_char(sess.MAPPING_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.analysis.transformation.TransformationTaskElement'

"ASSOCIATION_ID",

1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT", task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SESSION sess, OPB_MAPPING map, OPB_TASK task WHERE task.TASK_TYPE = 68 AND sess.SESSION_ID = task.TASK_ID AND sess.VERSION_NUMBER = task.VERSION_NUMBER AND sess.MAPPING_ID = map.MAPPING_ID and map.IS_VISIBLE = 1 and task.IS_VISIBLE = 1 AND task.IS_REUSABLE = 1 AND sess.MAPPING_ID > 0 AND NOT EXISTS (SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = task.SUBJECT_ID AND scut.OBJECT_TYPE = 21 AND scut.OBJECT_ID = sess.MAPPING_ID AND scut.IS_VISIBLE = 1) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "FROM_CLASS_ID", 'TASK_INSTANCE_Session_'||LTRIM(TO_CHAR(taskinst.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.Mapping' "TO_CLASS_ID", 'Mapping_' || LTRIM(TO_CHAR(sess.MAPPING_ID)) "TO_ELEMENT_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:216/334
Last modification: 3/12/2010 5:51:38 PM

' ' "TO_REPO_ID", 'org.omg.cwm.analysis.transformation.TransformationTaskElement' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SESSION sess, OPB_TASK task, OPB_MAPPING map, OPB_TASK_INST taskinst, OPB_TASK wkflow_or_wklet WHERE task.TASK_TYPE = 68 and sess.MAPPING_ID = map.MAPPING_ID and map.IS_VISIBLE = 1 and sess.SESSION_ID = task.TASK_ID and sess.VERSION_NUMBER = task.VERSION_NUMBER and task.IS_VISIBLE = 1 and taskinst.TASK_ID = task.TASK_ID and taskinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID and taskinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER and wkflow_or_wklet.TASK_TYPE IN (70,71) and wkflow_or_wklet.IS_VISIBLE = 1 and taskinst.TASK_TYPE = 68 and sess.MAPPING_ID > 0 and NOT EXISTS (SELECT NULL FROM OPB_SHORTCUT scut WHERE scut.SUBJECT_ID = TASK.SUBJECT_ID AND scut.OBJECT_TYPE = 21 AND scut.OBJECT_ID = sess.MAPPING_ID AND scut.IS_VISIBLE = 1) UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.Session' "FROM_CLASS_ID", 'Session_' || ltrim(to_char(sess.SESSION_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.MappingShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_Mapping_' || ltrim(to_char(shcut.SUBJECT_ID))|| '_' || ltrim(to_char(shcut.VERSION_ID)) || '_' || ltrim(to_char(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.analysis.transformation.TransformationTaskElement' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT", task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SESSION sess,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:217/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK task, OPB_SHORTCUT shcut WHERE task.TASK_TYPE = 68 and shcut.OBJECT_ID = sess.MAPPING_ID and shcut.SUBJECT_ID = task.SUBJECT_ID and shcut.OBJECT_TYPE = 21 and sess.SESSION_ID = task.TASK_ID and sess.VERSION_NUMBER = task.VERSION_NUMBER and task.IS_VISIBLE = 1 and task.IS_REUSABLE = 1 and shcut.OBJECT_ID >= 0 and shcut.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "FROM_CLASS_ID", 'TASK_INSTANCE_Session_'|| LTRIM(TO_CHAR(taskinst.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.MappingShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_Mapping_' || ltrim(to_char(shcut.SUBJECT_ID)) || '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_' || ltrim(to_char(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.analysis.transformation.TransformationTaskElement' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SESSION sess, OPB_TASK task, OPB_TASK_INST taskinst, OPB_SHORTCUT shcut, OPB_TASK wkflow_or_wklet WHERE task.TASK_TYPE = 68 and sess.SESSION_ID = task.TASK_ID and sess.VERSION_NUMBER = task.VERSION_NUMBER and task.IS_VISIBLE = 1 and shcut.OBJECT_ID = sess.MAPPING_ID and shcut.SUBJECT_ID = TASK.SUBJECT_ID and shcut.OBJECT_TYPE = 21 and taskinst.TASK_ID = task.TASK_ID and taskinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID and taskinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER and wkflow_or_wklet.TASK_TYPE IN (70,71) and wkflow_or_wklet.IS_VISIBLE = 1 and taskinst.TASK_TYPE = 68 and shcut.OBJECT_ID >= 0 and shcut.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:218/334
Last modification: 3/12/2010 5:51:38 PM

'com.informatica.powercenter.process.Session' "FROM_CLASS_ID", 'Session_' || ltrim(to_char(sess.SESSION_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.MappingShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_Mapping_'|| ltrim(to_char(task.SUBJECT_ID))|| '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_' || ltrim(to_char((sess.MAPPING_ID + 2147483649))) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.analysis.transformation.TransformationTaskElement' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT", task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SESSION sess, OPB_TASK TASK, OPB_SHORTCUT shcut WHERE task.TASK_TYPE = 68 and sess.SESSION_ID = task.TASK_ID and sess.VERSION_NUMBER = task.VERSION_NUMBER and task.IS_VISIBLE = 1 and task.IS_REUSABLE = 1 and sess.MAPPING_ID < 0 and sess.MAPPING_ID = shcut.OBJECT_ID and task.SUBJECT_ID = shcut.SUBJECT_ID and shcut.OBJECT_TYPE = 21 and shcut.REFERENCE_TYPE = 2 and shcut.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "FROM_CLASS_ID", 'TASK_INSTANCE_Session_'|| LTRIM(TO_CHAR(taskinst.INSTANCE_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.MappingShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_' || 'PC_' || shcut.REPOSITORY_NAME||'_Mapping_'|| ltrim(to_char(task.SUBJECT_ID))|| '_' ||ltrim(to_char(shcut.VERSION_ID)) || '_' || ltrim(to_char((sess.MAPPING_ID + 2147483649))) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.analysis.transformation.TransformationTaskElement' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SESSION sess, OPB_TASK TASK, OPB_TASK_INST taskinst, OPB_SHORTCUT shcut, OPB_TASK wkflow_or_wklet

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:219/334
Last modification: 3/12/2010 5:51:38 PM

WHERE sess.SESSION_ID = TASK.TASK_ID and sess.VERSION_NUMBER = TASK.VERSION_NUMBER and task.IS_VISIBLE = 1 and taskinst.TASK_ID = task.TASK_ID and taskinst.TASK_TYPE = 68 and taskinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID and taskinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER and wkflow_or_wklet.TASK_TYPE IN (70,71) and wkflow_or_wklet.IS_VISIBLE = 1 and sess.MAPPING_ID < 0 and sess.MAPPING_ID = shcut.OBJECT_ID and task.SUBJECT_ID = shcut.SUBJECT_ID and shcut.OBJECT_TYPE = 21 and shcut.REFERENCE_TYPE = 2 and shcut.IS_VISIBLE = 1

------------------------------------------------------------------------ This is the association between Workflows in PowerCenter to -- Powercenter Integration Services. ----------------------------------------------------------------------create view V_ASC_WFLOW_SRVC as SELECT ' ' 'com.informatica.powercenter.deployment.IntegrationService' "FROM_CLASS_ID", 'Integration Service_' || LTRIM(TO_CHAR(workflow.SERVER_ID)) "FROM_ELEMENT_ID", ' ' 'com.informatica.powercenter.process.Workflow' "TO_CLASS_ID", 'Workflow_' || LTRIM(TO_CHAR(workflow.WORKFLOW_ID)) "TO_ELEMENT_ID", ' ' 'com.informatica.powercenter.operation.WorkflowRunsOnService' 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , task.SUBJECT_ID "SRC_SUBJECT_ID", task.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WORKFLOW workflow, V_ELMNT_SERVICE server, OPB_TASK TASK WHERE workflow.WORKFLOW_ID = TASK.TASK_ID AND workflow.VERSION_NUMBER = TASK.VERSION_NUMBER

"REPOSITORY_ID",

"FROM_REPO_ID",

"TO_REPO_ID", "ASSOCIATION_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:220/334
Last modification: 3/12/2010 5:51:38 PM

AND TASK.IS_VISIBLE = 1 AND 71 = TASK.TASK_TYPE AND workflow.SERVER_ID <> 0 AND workflow.SERVER_ID =server.SERVER_ID

------------------------------------------------------------------------ This is the association between software systems, deployed systems, -- and deployed components ----------------------------------------------------------------------create view V_ASC_SWSYSTEM as SELECT ' ' "REPOSITORY_ID", 'org.omg.cwm.foundation.softwaredeployment.SoftwareSystem' "FROM_CLASS_ID", 'PC_SWSystem_' || repo.REPOSIT_NAME "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'org.omg.cwm.foundation.softwaredeployment.DeployedSoftwareSystem' "TO_CLASS_ID", 'PC_DepSWSystem_' || repo.REPOSIT_NAME "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.foundation.softwaredeployment.SoftwareSystemDeployments' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , TO_NUMBER(NULL) "SRC_SUBJECT_ID", TO_NUMBER(NULL) "TGT_SUBJECT_ID" FROM OPB_REPOSIT repo WHERE repo.RECID = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'org.omg.cwm.foundation.softwaredeployment.DeployedSoftwareSystem' "FROM_CLASS_ID", 'PC_DepSWSystem_' || repo.REPOSIT_NAME "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.deployment.IntegrationService' "TO_CLASS_ID", 'Integration Service_' || LTRIM(TO_CHAR(server.SERVER_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'org.omg.cwm.foundation.softwaredeployment.DeployedSoftwareSystemComponents' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:221/334
Last modification: 3/12/2010 5:51:38 PM

'' "EFF_FROM_DT", '' "EFF_TO_DT" TO_NUMBER(NULL) "SRC_SUBJECT_ID", TO_NUMBER(NULL) "TGT_SUBJECT_ID" FROM V_ELMNT_SERVICE server , OPB_REPOSIT repo WHERE repo.RECID = 1 ,

------------------------------------------------------------------------ Assocations of Powercenter Repository to Integration Service ----------------------------------------------------------------------create view V_ASC_SRVC_REPO as SELECT ' ' 'com.informatica.superglue.repository.Repository' "FROM_CLASS_ID", ' ' 'IMM_MASTER_REPOSITORY' "FROM_REPO_ID", 'com.informatica.powercenter.deployment.IntegrationService' "TO_CLASS_ID", 'Integration Service_' || LTRIM(TO_CHAR(server.SERVER_ID)) "TO_ELEMENT_ID", ' ' 'org.omg.cwm.objectmodel.core.ElementOwnership' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , TO_NUMBER(NULL) "SRC_SUBJECT_ID", TO_NUMBER(NULL) "TGT_SUBJECT_ID" FROM V_ELMNT_SERVICE server

"REPOSITORY_ID",

"FROM_ELEMENT_ID",

"TO_REPO_ID",

-- Association between the local shortcut to its create view V_ASC_LSC_TO_ELMNT as SELECT ' ' 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "FROM_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID",

element

"REPOSITORY_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:222/334
Last modification: 3/12/2010 5:51:38 PM

' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'Shortcut' "TO_CLASS_ID", 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.import.Aliases' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , widget.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_OBJECT_TYPE otype, OPB_WIDGET widget WHERE shcut.OBJECT_TYPE NOT IN (22,21) AND shcut.OBJECT_SUBTYPE = otype.OBJECT_TYPE_ID AND shcut.OBJECT_ID >=0 AND shcut.IS_VISIBLE = 1 AND widget.IS_VISIBLE = 1 AND shcut.OBJECT_ID = widget.WIDGET_ID AND shcut.OBJECT_SUBTYPE = widget.WIDGET_TYPE UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.SourceDefinition' "FROM_CLASS_ID", 'Source Definition_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || 'SourceDefinitionShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| 'Source Definition' ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.import.Aliases' "ASSOCIATION_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:223/334
Last modification: 3/12/2010 5:51:38 PM

1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , src.SUBJ_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_SRC src WHERE shcut.OBJECT_TYPE NOT IN (22,21) AND shcut.OBJECT_SUBTYPE = 1 AND shcut.OBJECT_ID >=0 AND shcut.IS_VISIBLE = 1 AND src.IS_VISIBLE = 1 AND shcut.OBJECT_ID = src.SRC_ID UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.TargetDefinition' "FROM_CLASS_ID", 'Target Definition_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || 'TargetDefinitionShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_'|| 'Target Definition' ||'_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID)) || '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.import.Aliases' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , targ.SUBJ_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_TARG targ WHERE shcut.OBJECT_TYPE NOT IN (22,21)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:224/334
Last modification: 3/12/2010 5:51:38 PM

AND shcut.OBJECT_SUBTYPE = 2 AND shcut.OBJECT_ID >=0 AND shcut.IS_VISIBLE = 1 AND targ.IS_VISIBLE = 1 AND shcut.OBJECT_ID = targ.TARGET_ID UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.Mapping' "FROM_CLASS_ID", 'Mapping_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "FROM_ELEMENT_ID", ' ' "FROM_REPO_ID", 'com.informatica.powercenter.map.' || 'MappingShortcut' "TO_CLASS_ID", 'SHORTCUT_TO_PC_' || shcut.REPOSITORY_NAME||'_Mapping_'|| LTRIM(TO_CHAR(shcut.SUBJECT_ID))|| '_' || LTRIM(TO_CHAR(shcut.VERSION_ID)) || '_' || LTRIM(TO_CHAR(shcut.OBJECT_ID)) "TO_ELEMENT_ID", ' ' "TO_REPO_ID", 'com.informatica.cwmx.import.Aliases' "ASSOCIATION_ID", 1 "ASSOCIATION_SEQ", 'N' "HIDDEN_FLAG", '' "EFF_FROM_DT", '' "EFF_TO_DT" , map.SUBJECT_ID "SRC_SUBJECT_ID", shcut.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_SHORTCUT shcut, OPB_MAPPING map WHERE shcut.OBJECT_TYPE = 21 AND shcut.OBJECT_ID >=0 AND shcut.IS_VISIBLE = 1 AND map.MAPPING_ID = shcut.OBJECT_ID AND map.IS_VISIBLE = 1

------------------------------------------------------------------------ View for IME_CONNECTION ----------------------------------------------------------------------CREATE VIEW V_IME_CONNECTION AS SELECT ' ' 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')

"REPOSITORY_ID", "CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:225/334
Last modification: 3/12/2010 5:51:38 PM

otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(cnx.OBJECT_ID)) "CONNECTION_ID", '' "CATALOG_ID", '' "DATA_MGR_CLASS_ID", '' "DATA_MANAGER_ID", '' "SCHEMA_CLASS_ID", '' "SCHEMA_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", cnx.OBJECT_NAME "CONNECTION_NAME", cnx.COMMENTS "CONNECTION_DESC", mmd_cnx.CNX_SUBTYPE_NAME "CONNECTION_SUBTYPE", cnx.CONNECT_STRING "HOST_NAME", '' "SCHEMA_NAME", cnx.USER_NAME "USER_NAME", '' "ADDRESS", '' "CONNECTION_TEXT1", '' "CONNECTION_TEXT2", '' "CONNECTION_TEXT3", '1' "VERSION_NUM", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" FROM OPB_CNX cnx, OPB_OBJECT_TYPE otype, OPB_MMD_CNX mmd_cnx WHERE otype.OBJECT_TYPE_ID IN (73, 74, 75, 76, 77) AND otype.OBJECT_TYPE_ID = cnx.OBJECT_TYPE AND cnx.OBJECT_TYPE = mmd_cnx.CNX_OBJECT_TYPE AND cnx.OBJECT_SUBTYPE = mmd_cnx.CNX_OBJECT_SUBTYPE

------------------------------------------------------------------------ View for Default flatfile connection

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:226/334
Last modification: 3/12/2010 5:51:38 PM

-----------------------------------------------------------------------CREATE VIEW V_DEFAULT_FILE_CNX AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.deployment.DefaultFlatfileConnection' "CLASS_ID", 'PC_DEFAULT_FILE_CONNECTION' "CONNECTION_ID", NULL "CATALOG_ID", NULL "DATA_MGR_CLASS_ID", NULL "DATA_MANAGER_ID", '' "SCHEMA_CLASS_ID", '' "SCHEMA_ID", 'FLAT_FILE' "CONNECTION_TYPE", '' "CONNECTION_NAME", '' "CONNECTION_DESC", '' "CONNECTION_SUBTYPE", '' "HOST_NAME", '' "SCHEMA_NAME", '' "USER_NAME", '' "ADDRESS", '' "CONNECTION_TEXT1", '' "CONNECTION_TEXT2", '' "CONNECTION_TEXT3", '1' "VERSION_NUM", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" FROM OPB_REPOSIT repo WHERE repo.RECID = 1

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:227/334
Last modification: 3/12/2010 5:51:38 PM

-------------------------------------------------------------------------- View for IME_RUN interface -- Describes the run details for Workflow objects in -- PowerCenter repository. Does not include worklets or sessions. ------------------------------------------------------------------------create view V_IME_RUN as SELECT ' ' 'com.informatica.powercenter.operation.Run' "CLASS_ID", 'PC_RUN_' || wflow_run.WORKFLOW_RUN_ID 'com.informatica.powercenter.deployment.IntegrationService' "SERVER_CLASS_ID", 'Integration Service_' || LTRIM(TO_CHAR(wflow_run.SERVER_ID)) "SERVER_ID", '' USER_ACCT_CLASS_ID, '' USER_ACCOUNT_ID, 'com.informatica.powercenter.process.TriggerRunEvent' EVENT_CLASS_ID, 'PC_DEFAULT_EVENT_OBJECT' 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "ACTIVITY_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(wflow_run.WORKFLOW_ID)) "ACTIVITY_ID", 'com.informatica.powercenter.package.Folder' "FOLDER_CLASS_ID", otype2.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(subject.SUBJ_ID)) "FOLDER_ID", 'com.informatica.powercenter.operation.RunStatus' "STATUS_CLASS_ID", wflow_run.RUN_STATUS_CODE || '~' || wflow_run.RUN_ERR_CODE "STATUS_ID", wflow_run.START_TIME "RUN_START_DT", wflow_run.END_TIME "RUN_END_DT", wflow_run.WORKFLOW_RUN_ID "RUN_NUMBER", '' "PARENT_RUN_NUMBER", 'Y' "NORMAL_RUN_FLAG", wflow_run.RUN_ERR_MSG "MESSAGE", wflow_run.LOG_FILE "ACTIVITY_RUN_TEXT1", '' "ACTIVITY_RUN_TEXT2",
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

"REPOSITORY_ID",

"RUN_ID",

EVENT_ID,

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:228/334
Last modification: 3/12/2010 5:51:38 PM

'' "ACTIVITY_RUN_TEXT3", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT" , subject.SUBJ_ID "SUBJECT_ID" FROM OPB_WFLOW_RUN wflow_run, OPB_OBJECT_TYPE otype, OPB_OBJECT_TYPE otype1, OPB_OBJECT_TYPE otype2, OPB_WORKFLOW workflow, OPB_TASK tasks, OPB_SUBJECT subject WHERE otype.OBJECT_TYPE_ID = 71 AND wflow_run.WORKFLOW_ID = workflow.WORKFLOW_ID AND wflow_run.VERSION_NUMBER = workflow.VERSION_NUMBER AND otype1.OBJECT_TYPE_ID = 41 AND otype2.OBJECT_TYPE_ID = 29 AND tasks.TASK_ID = workflow.WORKFLOW_ID AND tasks.VERSION_NUMBER = workflow.VERSION_NUMBER AND tasks.IS_VISIBLE = 1 AND tasks.TASK_TYPE = 71 AND tasks.SUBJECT_ID = subject.SUBJ_ID

-------------------------------------------------------------------------- View for IME_TASK_LOG_INTERFACE -- Describes the run details for workflows, worklet instances -- and session instances only. Other task instances are not included -- as they are deemed to be of less importance at this point -- it is a union of 2select statements -- #1 is Worklet instances -- #2 is Session instances -------------------------------------------------------------------------

create view V_IME_TASK_LOG as SELECT ' ' 'com.informatica.powercenter.deployment.IntegrationService' "SERVER_CLASS_ID", 'Integration Service_' || LTRIM(TO_CHAR(wflow_run.SERVER_ID)) "SERVER_ID", '' USER_ACCT_CLASS_ID, '' USER_ACCOUNT_ID, 'com.informatica.powercenter.process.TriggerRunEvent' EVENT_CLASS_ID, 'PC_DEFAULT_EVENT_OBJECT' taskinst_log.START_TIME "START_DATE",

"REPOSITORY_ID",

EVENT_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:229/334
Last modification: 3/12/2010 5:51:38 PM

taskinst_log.END_TIME "END_DATE", 'com.informatica.powercenter.operation.Run' "RUN_CLASS_ID", 'PC_RUN_' || taskinst_log.WORKFLOW_RUN_ID 'com.informatica.powercenter.process.' || REPLACE(otype2.OBJECT_TYPE_NAME,' ','') "ACTIVITY_CLASS_ID", otype2.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst_log.WORKFLOW_ID)) "ACTIVITY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype3.OBJECT_TYPE_NAME,' ','')||'TaskInstance' 'TASK_INSTANCE_' || otype3.OBJECT_TYPE_NAME ||'_' || LTRIM(TO_CHAR(taskinst_log.INSTANCE_ID)) "STEP_ID", CASE WHEN TASK.IS_REUSABLE = 1 THEN 'com.informatica.powercenter.process.' || REPLACE(otype3.OBJECT_TYPE_NAME,' ','') ELSE 'com.informatica.powercenter.process.' || REPLACE(otype3.OBJECT_TYPE_NAME,' ','')|| 'TaskInstance' END "TASK_CLASS_ID", CASE WHEN TASK.IS_REUSABLE = 1 THEN otype3.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst_log.TASK_ID)) ELSE 'TASK_INSTANCE_' || otype3.OBJECT_TYPE_NAME ||'_' || LTRIM(TO_CHAR(taskinst_log.INSTANCE_ID)) END '' "TRANSFORM_CLASS_ID", '' "TRANSFORM_ID", 'com.informatica.powercenter.package.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst_log.SUBJECT_ID)) "FOLDER_ID", 'com.informatica.powercenter.operation.RunStatus' "STATUS_CLASS_ID", taskinst_log.RUN_STATUS_CODE || '~' || taskinst_log.RUN_ERR_CODE "STATUS_ID", taskinst_log.CHILD_RUN_ID "STEP_RUN_NUMBER", 0 "INPUT_ROWS", 0 "REJECTED_ROWS", 0 "FAILED_ROWS", 0 "OUTPUT_ROWS", 0 "LOG_BLOCK_READS", 0 "PHY_BLOCK_READS",

"RUN_ID",

"STEP_CLASS_ID",

"TASK_ID",

"FOLDER_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:230/334
Last modification: 3/12/2010 5:51:38 PM

0 "LOG_BLOCK_WRITES", 0 "PHY_BLOCK_WRITES", (taskinst_log.END_TIME - taskinst_log.START_TIME)*24*3600*1000 "EXECUTION_MSECS", 0 "READ_MSECS", 0 "WRITE_MSECS", 0 "IDLE_WAIT_MSECS", 0 "BUSY_WAIT_MSECS", 0 "IDLE_WAIT_EVENTS", 0 "BUSY_WAIT_EVENTS", taskinst_log.RUN_ERR_MSG "MESSAGE" , TASK.SUBJECT_ID "SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_OBJECT_TYPE otype1, OPB_OBJECT_TYPE otype2, OPB_OBJECT_TYPE otype3, OPB_WORKFLOW workflow, OPB_WFLOW_RUN wflow_run, OPB_TASK_INST_RUN taskinst_log, OPB_TASK TASK, OPB_TASK wkflow_task WHERE otype.OBJECT_TYPE_ID = 29 AND taskinst_log.WORKFLOW_ID = workflow.WORKFLOW_ID AND taskinst_log.WORKFLOW_RUN_ID = wflow_run.WORKFLOW_RUN_ID AND workflow.WORKFLOW_ID = wkflow_task.TASK_ID AND workflow.VERSION_NUMBER = wkflow_task.VERSION_NUMBER AND wkflow_task.TASK_TYPE = 71 AND wkflow_task.IS_VISIBLE = 1 AND otype1.OBJECT_TYPE_ID = 41 AND otype2.OBJECT_TYPE_ID = 71 AND otype3.OBJECT_TYPE_ID = 70 AND taskinst_log.TASK_TYPE = 70 AND taskinst_log.TASK_ID = TASK.TASK_ID AND taskinst_log.VERSION_NUMBER = TASK.VERSION_NUMBER AND taskinst_log.FRAGMENT_ID IN (1,-1) AND TASK.IS_VISIBLE = 1 AND TASK.TASK_TYPE = 70 UNION ALL SELECT ' ' 'com.informatica.powercenter.deployment.IntegrationService' "SERVER_CLASS_ID", 'Integration Service_' || LTRIM(TO_CHAR(wflow_run.SERVER_ID)) "SERVER_ID", '' USER_ACCT_CLASS_ID,
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM

"REPOSITORY_ID",

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:231/334
Last modification: 3/12/2010 5:51:38 PM

'' USER_ACCOUNT_ID, 'com.informatica.powercenter.process.TriggerRunEvent' EVENT_CLASS_ID, 'PC_DEFAULT_EVENT_OBJECT' taskinst_log.START_TIME "START_DATE", taskinst_log.END_TIME "END_DATE", 'com.informatica.powercenter.operation.Run' "RUN_CLASS_ID", 'PC_RUN_' || taskinst_log.WORKFLOW_RUN_ID 'com.informatica.powercenter.process.' || REPLACE(otype2.OBJECT_TYPE_NAME,' ','') "ACTIVITY_CLASS_ID", otype2.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst_log.WORKFLOW_ID)) "ACTIVITY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype3.OBJECT_TYPE_NAME,' ','')||'TaskInstance' 'TASK_INSTANCE_' || otype3.OBJECT_TYPE_NAME ||'_' || LTRIM(TO_CHAR(taskinst_log.INSTANCE_ID)) "STEP_ID", CASE WHEN TASK.IS_REUSABLE = 1 THEN 'com.informatica.powercenter.process.' || REPLACE(otype3.OBJECT_TYPE_NAME,' ','') ELSE 'com.informatica.powercenter.process.' || REPLACE(otype3.OBJECT_TYPE_NAME,' ','')|| 'TaskInstance' END "TASK_CLASS_ID", CASE WHEN TASK.IS_REUSABLE = 1 THEN otype3.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst_log.TASK_ID)) ELSE 'TASK_INSTANCE_' || otype3.OBJECT_TYPE_NAME ||'_' || LTRIM(TO_CHAR(taskinst_log.INSTANCE_ID)) END 'com.informatica.powercenter.map.' || REPLACE(otype4.OBJECT_TYPE_NAME,' ','') otype4.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(sess.MAPPING_ID)) "TRANSFORM_ID", 'com.informatica.powercenter.package.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(taskinst_log.SUBJECT_ID)) "FOLDER_ID", 'com.informatica.powercenter.operation.RunStatus' "STATUS_CLASS_ID", taskinst_log.RUN_STATUS_CODE || '~' || taskinst_log.RUN_ERR_CODE "STATUS_ID", taskinst_log.WORKLET_RUN_ID "STEP_RUN_NUMBER", sesstask_log.SRC_SUCCESS_ROWS

EVENT_ID,

"RUN_ID",

"STEP_CLASS_ID",

"TASK_ID", "TRANSFORM_CLASS_ID",

"FOLDER_CLASS_ID",

"INPUT_ROWS",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:232/334
Last modification: 3/12/2010 5:51:38 PM

sesstask_log.SRC_FAILED_ROWS "REJECTED_ROWS", sesstask_log.TARG_FAILED_ROWS sesstask_log.TARG_SUCCESS_ROWS 0 "LOG_BLOCK_READS", 0 "PHY_BLOCK_READS", 0 "LOG_BLOCK_WRITES", 0 "PHY_BLOCK_WRITES", (taskinst_log.END_TIME - taskinst_log.START_TIME)*24*3600*1000 "EXECUTION_MSECS", 0 "READ_MSECS", 0 "WRITE_MSECS", 0 "IDLE_WAIT_MSECS", 0 "BUSY_WAIT_MSECS", 0 "IDLE_WAIT_EVENTS", 0 "BUSY_WAIT_EVENTS", taskinst_log.RUN_ERR_MSG "MESSAGE" , TASK.SUBJECT_ID "SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_OBJECT_TYPE otype1, OPB_OBJECT_TYPE otype2, OPB_OBJECT_TYPE otype3, OPB_OBJECT_TYPE otype4, OPB_WORKFLOW workflow, OPB_WFLOW_RUN wflow_run, OPB_SESSION sess, OPB_SESS_TASK_LOG sesstask_log, OPB_TASK_INST_RUN taskinst_log, OPB_TASK TASK, OPB_TASK wkflow_task WHERE otype.OBJECT_TYPE_ID = 29 AND taskinst_log.WORKFLOW_RUN_ID = wflow_run.WORKFLOW_RUN_ID AND taskinst_log.WORKFLOW_ID = workflow.WORKFLOW_ID AND workflow.WORKFLOW_ID = wkflow_task.TASK_ID AND workflow.VERSION_NUMBER = wkflow_task.VERSION_NUMBER AND wkflow_task.TASK_TYPE = 71 AND wkflow_task.IS_VISIBLE = 1 AND otype1.OBJECT_TYPE_ID = 41 AND otype2.OBJECT_TYPE_ID = 71 AND otype3.OBJECT_TYPE_ID = 68 AND otype4.OBJECT_TYPE_ID = 21 AND taskinst_log.TASK_TYPE = 68

"FAILED_ROWS", "OUTPUT_ROWS",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:233/334
Last modification: 3/12/2010 5:51:38 PM

AND AND AND AND AND AND AND AND AND AND AND

taskinst_log.TASK_ID = sess.SESSION_ID taskinst_log.VERSION_NUMBER = sess.VERSION_NUMBER taskinst_log.WORKFLOW_ID = sesstask_log.WORKFLOW_ID taskinst_log.WORKFLOW_RUN_ID = sesstask_log.WORKFLOW_RUN_ID taskinst_log.WORKLET_RUN_ID = sesstask_log.WORKLET_RUN_ID taskinst_log.INSTANCE_ID = sesstask_log.INSTANCE_ID taskinst_log.TASK_ID = TASK.TASK_ID taskinst_log.VERSION_NUMBER = TASK.VERSION_NUMBER taskinst_log.FRAGMENT_ID IN (1,-1) TASK.IS_VISIBLE = 1 TASK.TASK_TYPE = 68

-------------------------------------------------------------------------- View for IME_EVENT_INTERFACE -- Describes the default event object for the powercnter repository ------------------------------------------------------------------------create view V_IME_EVENT as SELECT ' ' 'com.informatica.powercenter.process.TriggerRunEvent' 'PC_DEFAULT_EVENT_OBJECT' "EVENT_ID", 'External' "EVENT_TYPE", 'Event-based' "FREQUENCY_TYPE", '' "EVENT_NAME", '' "EVENT_DESC", '' "EVENT_USAGE", '' "EVENT_TEXT1", '' "EVENT_TEXT2", '' "EVENT_TEXT3", '1' "VERSION_NUM", '' "SRC_CREATE_DT", '' "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" FROM OPB_REPOSIT repo WHERE repo.RECID = 1

"REPOSITORY_ID", "CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:234/334
Last modification: 3/12/2010 5:51:38 PM

------------------------------------------------------------------------ View for IME_PARTITION - Partition in Reusable sessions ----------------------------------------------------------------------CREATE VIEW V_IME_PARTITION AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') || 'Partition' "PARTITION_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Partition' || '_' || LTRIM(TO_CHAR(partdef.SESSION_ID)) || '_' || LTRIM(TO_CHAR(partdef.SESS_WIDG_INST_ID)) || '_' || LTRIM(TO_CHAR(partdef.PARTITION_ID)) "PARTITION_ID", otype.OBJECT_TYPE_NAME || '_' || LTRIM(TO_CHAR(partdef.SESSION_ID)) "TASK_ID", 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TASK_CLASS_ID", CASE WHEN swinst.PARTITION_TYPE = 1 THEN CASE WHEN swinst.PARTITION_TYPE = 3 THEN CASE WHEN swinst.PARTITION_TYPE = 4 THEN CASE WHEN swinst.PARTITION_TYPE = 5 THEN ELSE 'Other' END) END) END) END "PARTITION_TYPE", partdef.PARTITION_NAME "PARTITION_NAME", partdef.PARTITION_NAME "PARTITION_DESC", '' "PARTITION_TEXT1", '' "PARTITION_TEXT2", '' "PARTITION_TEXT3", '1' "VERSION_NUM", partdef.LAST_SAVED "SRC_CREATE_DT", partdef.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , tsk.SUBJECT_ID "SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_PARTITION_DEF partdef, OPB_TASK tsk, OPB_SWIDGET_INST swinst WHERE otype.OBJECT_TYPE_ID = 68 AND otype.OBJECT_TYPE_ID = tsk.TASK_TYPE 'Pass-Through' ELSE ( 'Round-Robin' ELSE ( 'Key-Range' ELSE ( 'Hash-Key'

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:235/334
Last modification: 3/12/2010 5:51:38 PM

AND AND AND AND AND AND AND

partdef.SESSION_ID = tsk.TASK_ID partdef.VERSION_NUMBER = tsk.VERSION_NUMBER tsk.IS_VISIBLE = 1 tsk.IS_REUSABLE = 1 swinst.SESS_WIDG_INST_ID = partdef.SESS_WIDG_INST_ID swinst.SESSION_ID = partdef.SESSION_ID swinst.VERSION_NUMBER = partdef.VERSION_NUMBER

------------------------------------------------------------------------ View for IME_PART_SINST - partition in Non Reusable Sessions ----------------------------------------------------------------------CREATE VIEW V_IME_PART_SINST AS SELECT ' ' 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') || 'Partition' "PARTITION_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || 'Partition' || '_' || LTRIM(TO_CHAR(partdef.SESSION_ID)) || '_' || LTRIM(TO_CHAR(partdef.SESS_WIDG_INST_ID)) || '_' || LTRIM(TO_CHAR(partdef.PARTITION_ID)) 'TASK_INSTANCE_' || otype.OBJECT_TYPE_NAME ||'_'|| LTRIM(TO_CHAR(tinst.INSTANCE_ID)) 'com.informatica.powercenter.process.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','')||'TaskInstance' CASE WHEN swinst.PARTITION_TYPE = 1 THEN 'Pass-Through' ELSE ( CASE WHEN swinst.PARTITION_TYPE = 3 THEN 'Round-Robin' ELSE ( CASE WHEN swinst.PARTITION_TYPE = 4 THEN 'Key-Range' ELSE ( CASE WHEN swinst.PARTITION_TYPE = 5 THEN 'Hash-Key' ELSE 'Other' END) END) END) END "PARTITION_TYPE", partdef.PARTITION_NAME "PARTITION_NAME", partdef.PARTITION_NAME "PARTITION_DESC", '' "PARTITION_TEXT1", '' "PARTITION_TEXT2", '' "PARTITION_TEXT3", '1' "VERSION_NUM", partdef.LAST_SAVED "SRC_CREATE_DT", partdef.LAST_SAVED "SRC_UPDATE_DT", '' "EFF_FROM_DT", '' "EFF_TO_DT" , tsk.SUBJECT_ID "SUBJECT_ID"

"REPOSITORY_ID",

"PARTITION_ID",

"TASK_ID", "TASK_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:236/334
Last modification: 3/12/2010 5:51:38 PM

FROM OPB_OBJECT_TYPE otype, OPB_PARTITION_DEF partdef, OPB_TASK_INST tinst, OPB_TASK tsk, OPB_SWIDGET_INST swinst, OPB_TASK wkflow_or_wklet WHERE otype.OBJECT_TYPE_ID = 68 AND otype.OBJECT_TYPE_ID = tinst.TASK_TYPE AND partdef.SESSION_ID = tinst.TASK_ID AND partdef.SESSION_ID = tsk.TASK_ID AND partdef.VERSION_NUMBER = tsk.VERSION_NUMBER AND tsk.IS_VISIBLE = 1 AND tsk.TASK_TYPE = 68 AND tsk.IS_REUSABLE = 0 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.WORKFLOW_ID = wkflow_or_wklet.TASK_ID AND tinst.VERSION_NUMBER = wkflow_or_wklet.VERSION_NUMBER AND wkflow_or_wklet.TASK_TYPE IN (70,71) AND wkflow_or_wklet.IS_VISIBLE = 1 AND swinst.SESS_WIDG_INST_ID = partdef.SESS_WIDG_INST_ID AND swinst.SESSION_ID = partdef.SESSION_ID AND swinst.VERSION_NUMBER = partdef.VERSION_NUMBER

--------------------------------------------------------------------------------- Master views creation -- Master script for element views -------------------------------------------------------------------------------create view V_PC8x_ELEMENT as SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_SRCS UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_TGTS UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_WDGTS UNION ALL

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:237/334
Last modification: 3/12/2010 5:51:38 PM

SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_MAPPINGS UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_WDGINST UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_TASKS UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_TASKINST UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_FOLDERS UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_LOCAL_SC UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_GLOBAL_SC UNION ALL

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:238/334
Last modification: 3/12/2010 5:51:38 PM

SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_SRCWDGFLD UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_TGTWDGFLD UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_WDGT_FLDS UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_SERVICE UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_SW_COMP UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_DTYPES UNION ALL SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ELMNT_TSK_CMDLINE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:239/334
Last modification: 3/12/2010 5:51:38 PM

--------------------------------------------------------------------------------- Master script for element attribute views -------------------------------------------------------------------------------create view V_PC8x_ELMNT_ATTR_1 as SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_SRCS UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_TGT UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_WDGT UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_TASK UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_METVAL UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_RMETVAL UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_SRCFLD UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_TRGFLD UNION ALL SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_ATTRIBUTE_WDGFLD_2

create view V_PC8x_ELMNT_ATTR_2 as SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT FROM V_ATTRIBUTE_WDGFLD_1

, SUBJECT_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:240/334
Last modification: 3/12/2010 5:51:38 PM

--------------------------------------------------------------------------------- Master script for element association views -------------------------------------------------------------------------------create view V_PC8x_ELMNT_ASOC as SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WDG_FLDR UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_SRC_FLDR UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_TGT_FLDR UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_RTASKS_FLDR UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_L_SC_TO_FLDR UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_G_SC_TO_FLDR UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_SRCINST_SRC UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_TGTINST_TGT UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID,

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:241/334
Last modification: 3/12/2010 5:51:38 PM

FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WDGINST_WDG UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WSRCTGT_MAP UNION ALL select REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, from V_ASC_REPO_FOLDER UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_FLDR_MAP UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_TASK_TSKINST UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WFLOW_T_INST UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WLET_T_INST UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_SRCFLDS_SRCS UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_TGTFLDS_TGTS UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ,

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:242/334
Last modification: 3/12/2010 5:51:38 PM

HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WFLDS_WDGTS UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_SESSION_MAP UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_WFLOW_SRVC UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_SWSYSTEM UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_SRVC_REPO UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_LSC_TO_ELMNT UNION ALL SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, EFF_FROM_DT, EFF_TO_DT , SRC_SUBJECT_ID, FROM V_ASC_CMD_CMDLINE

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

TGT_SUBJECT_ID

------------------------------------------------------------------------ View for IME_CONNECTION ----------------------------------------------------------------------create view V_PC8x_CONNECTION as SELECT REPOSITORY_ID, CLASS_ID, CONNECTION_ID, CATALOG_ID, DATA_MGR_CLASS_ID, DATA_MANAGER_ID, SCHEMA_CLASS_ID, SCHEMA_ID, CONNECTION_TYPE, CONNECTION_NAME, CONNECTION_DESC, CONNECTION_SUBTYPE, HOST_NAME, USER_NAME, SCHEMA_NAME, ADDRESS, CONNECTION_TEXT1, CONNECTION_TEXT2, CONNECTION_TEXT3, VERSION_NUM, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT FROM V_IME_CONNECTION

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:243/334
Last modification: 3/12/2010 5:51:38 PM

------------------------------------------------------------------------ View for Default flatfile connection ----------------------------------------------------------------------create view V_PC8x_DEFILE_CNX as SELECT REPOSITORY_ID, CLASS_ID, CONNECTION_ID, CATALOG_ID, DATA_MGR_CLASS_ID, DATA_MANAGER_ID, SCHEMA_CLASS_ID, SCHEMA_ID, CONNECTION_TYPE, CONNECTION_NAME, CONNECTION_DESC, CONNECTION_SUBTYPE, HOST_NAME, USER_NAME, SCHEMA_NAME, ADDRESS, CONNECTION_TEXT1, CONNECTION_TEXT2, CONNECTION_TEXT3, VERSION_NUM, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT FROM V_DEFAULT_FILE_CNX

-------------------------------------------------------------------------- View for IME_RUN interface -- Describes the run details for Workflow objects in -- PowerCenter repository. Does not include worklets or sessions. ------------------------------------------------------------------------create view V_PC8x_RUN as SELECT REPOSITORY_ID, CLASS_ID, RUN_ID,SERVER_CLASS_ID, SERVER_ID, USER_ACCT_CLASS_ID, USER_ACCOUNT_ID,EVENT_CLASS_ID, EVENT_ID,ACTIVITY_CLASS_ID, ACTIVITY_ID, FOLDER_CLASS_ID, FOLDER_ID, STATUS_CLASS_ID, STATUS_ID,RUN_START_DT, RUN_END_DT, RUN_NUMBER, PARENT_RUN_NUMBER, NORMAL_RUN_FLAG,MESSAGE, ACTIVITY_RUN_TEXT1, ACTIVITY_RUN_TEXT2, ACTIVITY_RUN_TEXT3, SRC_CREATE_DT, SRC_UPDATE_DT , SUBJECT_ID FROM V_IME_RUN

-------------------------------------------------------------------------- View for IME_TASK_LOG_INTERFACE -- Describes the run details for workflows, worklet instances -- and session instances only. Other task instances are not included -- as they are deemed to be of less importance at this point ------------------------------------------------------------------------create view V_PC8x_TSK_LOG as SELECT REPOSITORY_ID, SERVER_CLASS_ID, SERVER_ID, USER_ACCT_CLASS_ID, USER_ACCOUNT_ID, EVENT_CLASS_ID, EVENT_ID, START_DATE, END_DATE, RUN_CLASS_ID, RUN_ID, ACTIVITY_CLASS_ID, ACTIVITY_ID, STEP_CLASS_ID, STEP_ID, TASK_CLASS_ID, TASK_ID, TRANSFORM_CLASS_ID, TRANSFORM_ID, FOLDER_CLASS_ID, FOLDER_ID, STATUS_CLASS_ID, STATUS_ID, STEP_RUN_NUMBER, INPUT_ROWS, REJECTED_ROWS, FAILED_ROWS, OUTPUT_ROWS, LOG_BLOCK_READS, PHY_BLOCK_READS, LOG_BLOCK_WRITES, PHY_BLOCK_WRITES, EXECUTION_MSECS, READ_MSECS, WRITE_MSECS, IDLE_WAIT_MSECS, BUSY_WAIT_MSECS, IDLE_WAIT_EVENTS, BUSY_WAIT_EVENTS,MESSAGE , SUBJECT_ID FROM V_IME_TASK_LOG

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:244/334
Last modification: 3/12/2010 5:51:38 PM

-------------------------------------------------------------------------- View for IME_EVENT_INTERFACE -- Describes the default event object for the powercnter repository ------------------------------------------------------------------------create VIEW V_PC8x_EVENT as SELECT REPOSITORY_ID, CLASS_ID, EVENT_ID, EVENT_TYPE, FREQUENCY_TYPE, EVENT_NAME, EVENT_DESC, EVENT_USAGE, EVENT_TEXT1, EVENT_TEXT2, EVENT_TEXT3, VERSION_NUM, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT, EFF_TO_DT FROM V_IME_EVENT

-------------------------------------------------------------------------- View for IME_PARTITION ------------------------------------------------------------------------create view V_PC8x_PARTITION as SELECT REPOSITORY_ID,PARTITION_CLASS_ID,PARTITION_ID, TASK_ID,TASK_CLASS_ID,PARTITION_TYPE, PARTITION_NAME,PARTITION_DESC,PARTITION_TEXT1, PARTITION_TEXT2,PARTITION_TEXT3,VERSION_NUM, SRC_CREATE_DT,SRC_UPDATE_DT,EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_IME_PARTITION UNION ALL SELECT REPOSITORY_ID,PARTITION_CLASS_ID,PARTITION_ID, TASK_ID,TASK_CLASS_ID,PARTITION_TYPE, PARTITION_NAME,PARTITION_DESC,PARTITION_TEXT1, PARTITION_TEXT2,PARTITION_TEXT3,VERSION_NUM, SRC_CREATE_DT,SRC_UPDATE_DT,EFF_FROM_DT, EFF_TO_DT , SUBJECT_ID FROM V_IME_PART_SINST

--------------------------------------------------------------------------------- VIEWS THAT PERFORM CASTING -- Date Conversion in Element view -------------------------------------------------------------------------------create view V_PC8x_MASTER_ELEMENT as SELECT REPOSITORY_ID, CLASS_ID, ELEMENT_ID, VERSION_NUM, ELEMENT_NAME, ELEMENT_LABEL, ELEMENT_ALIAS, ELEMENT_DESC, ELEMENT_USAGE, ELEMENT_TYPE, ELEMENT_SUBTYPE, ELEMENT_ATTR1, ELEMENT_VALUE1, ELEMENT_ATTR2, ELEMENT_VALUE2, ELEMENT_ATTR3, ELEMENT_VALUE3, VALID_FLAG, DISABLED_FLAG, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT , SUBJECT_ID FROM V_PC8x_ELEMENT

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:245/334
Last modification: 3/12/2010 5:51:38 PM

--------------------------------------------------------------------------------- Date Conversion in Element Attribute View -------------------------------------------------------------------------------create view V_PC8x_MASTER_ELMNT_ATTR_1 as SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT , SUBJECT_ID FROM V_PC8x_ELMNT_ATTR_1

create view V_PC8x_MASTER_ELMNT_ATTR_2 as SELECT REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT , SUBJECT_ID FROM V_PC8x_ELMNT_ATTR_2

create view V_PC8x_MASTER_ELMNT_ATTR as select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT , EFF_TO_DT, SUBJECT_ID from V_PC8x_ELMNT_ATTR_1 UNION ALL select REPOSITORY_ID, ELEMENT_CLASS_ID, ELEMENT_ID, SCOPE_TYPE, ELMNT_ATTR_NAME, ELMNT_ATTR_VALUE, ELMNT_ATTR_DESC, DATA_TYPE, SRC_CREATE_DT, SRC_UPDATE_DT, EFF_FROM_DT , EFF_TO_DT, SUBJECT_ID from V_PC8x_ELMNT_ATTR_2

--------------------------------------------------------------------------------- Date Conversion in element association views -------------------------------------------------------------------------------create view V_PC8x_MASTER_ELMNT_ASOC as SELECT REPOSITORY_ID, FROM_CLASS_ID, FROM_ELEMENT_ID, FROM_REPO_ID, TO_CLASS_ID, TO_ELEMENT_ID, TO_REPO_ID, ASSOCIATION_ID, ASSOCIATION_SEQ, HIDDEN_FLAG, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT ,SRC_SUBJECT_ID, TGT_SUBJECT_ID FROM V_PC8x_ELMNT_ASOC

------------------------------------------------------------------------ View for V_PC8x_MASTER_EXPRESSION -- This view contains the expression for output port and variable port of

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:246/334
Last modification: 3/12/2010 5:51:38 PM

-- rank, expression, & aggregate transformations. -----------------------------------------------------------------------

CREATE VIEW V_PC8x_MASTER_EXPRESSION AS SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.MapExpression' "CLASS_ID", otype.OBJECT_TYPE_NAME||'_Field_'|| TO_CHAR(wdgtfld.WIDGET_ID)||'_'|| TO_CHAR(wdgtfld.FIELD_ID) "EXPRESSION_ID", 'SQL' "LANGUAGE", expr.EXPRESSION "EXPRESSION_TEXT", '' "EXPRESSION_TEXT1", '' "EXPRESSION_TEXT2", '' "EXPRESSION_TEXT3", TO_DATE(NULL) "SRC_CREATE_DT", TO_DATE(LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "SRC_UPDATE_DT", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT" , wdgt.SUBJECT_ID "SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_EXPRESSION expr, OPB_WIDGET_EXPR wexpr, OPB_WIDGET_FIELD wdgtfld, OPB_WIDGET wdgt WHERE wdgt.WIDGET_TYPE IN (9,26,5) AND wdgt.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdgt.WIDGET_ID = wdgtfld.WIDGET_ID AND wdgt.VERSION_NUMBER = wdgtfld.VERSION_NUMBER AND wdgtfld.WIDGET_ID = wexpr.WIDGET_ID AND wdgtfld.VERSION_NUMBER = wexpr.VERSION_NUMBER AND wdgtfld.FIELD_ID = wexpr.OUTPUT_FIELD_ID AND wexpr.EXPR_ID = expr.EXPR_ID and wexpr.VERSION_NUMBER = expr.VERSION_NUMBER and expr.LINE_NO = 1 and wdgtfld.PORTTYPE IN ( 2, 32) and wdgt.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.MapExpression' "CLASS_ID", otype.OBJECT_TYPE_NAME||'_'||TO_CHAR(map.MAPPING_ID)||'_'||TO_CHAR(wdgtinst.INSTANCE_ID) "EXPRESSION_ID", 'SQL' "LANGUAGE", 'LOOKUP CONDITION:'||wdgtattr.ATTR_VALUE "EXPRESSION_TEXT", '' "EXPRESSION_TEXT1", '' "EXPRESSION_TEXT2", '' "EXPRESSION_TEXT3", TO_DATE(NULL) "SRC_CREATE_DT", TO_DATE(wdgt.LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "SRC_UPDATE_DT", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", wdgt.SUBJECT_ID "SUBJECT_ID"

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:247/334
Last modification: 3/12/2010 5:51:38 PM

FROM OPB_OBJECT_TYPE otype, OPB_WIDGET wdgt, OPB_WIDGET_ATTR wdgtattr, OPB_WIDGET_INST wdgtinst, OPB_MAPPING map WHERE wdgt.WIDGET_ID = wdgtattr.WIDGET_ID AND wdgt.IS_VISIBLE = 1 AND map.IS_VISIBLE=1 AND wdgtinst.VERSION_NUMBER = wdgtattr.VERSION_NUMBER AND map.VERSION_NUMBER = wdgtinst.VERSION_NUMBER AND wdgt.WIDGET_TYPE=11 AND wdgt.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdgt.WIDGET_TYPE = wdgtattr.WIDGET_TYPE AND wdgtattr.MAPPING_ID = map.MAPPING_ID AND wdgtinst.MAPPING_ID = wdgtattr.MAPPING_ID AND wdgtinst.INSTANCE_ID = wdgtattr.INSTANCE_ID AND wdgtattr.ATTR_ID = 5 AND wdgtattr.LINE_NO = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", 'com.informatica.powercenter.map.MapExpression' "CLASS_ID", otype.OBJECT_TYPE_NAME||'_'||TO_CHAR(map.MAPPING_ID)||'_'||TO_CHAR(wdgtinst.INSTANCE_ID) "EXPRESSION_ID", 'SQL' "LANGUAGE", 'LOOKUP CONDITION:'||wdgtattr.ATTR_VALUE "EXPRESSION_TEXT", '' "EXPRESSION_TEXT1", '' "EXPRESSION_TEXT2", '' "EXPRESSION_TEXT3", TO_DATE(NULL) "SRC_CREATE_DT", TO_DATE(wdgt.LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "SRC_UPDATE_DT", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", wdgt.SUBJECT_ID "SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_WIDGET wdgt, OPB_WIDGET_ATTR wdgtattr, OPB_WIDGET_INST wdgtinst, OPB_MAPPING map WHERE wdgt.WIDGET_ID = wdgtattr.WIDGET_ID AND wdgt.WIDGET_ID = wdgtinst.WIDGET_ID AND wdgtinst.MAPPING_ID = map.MAPPING_ID AND wdgt.IS_VISIBLE = 1 AND map.IS_VISIBLE =1 AND wdgt.VERSION_NUMBER = wdgtattr.VERSION_NUMBER AND map.VERSION_NUMBER = wdgtinst.VERSION_NUMBER AND wdgt.WIDGET_TYPE=11 AND wdgt.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND wdgt.WIDGET_TYPE = wdgtattr.WIDGET_TYPE AND wdgtattr.ATTR_ID=5 AND wdgtattr.MAPPING_ID = 0 AND wdgtattr.LINE_NO = 1 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:248/334
Last modification: 3/12/2010 5:51:38 PM

NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wdgtattr1 WHERE wdgtattr1.INSTANCE_ID = wdgtinst.INSTANCE_ID AND wdgtattr1.MAPPING_ID=map.MAPPING_ID AND wdgtattr1.ATTR_ID = wdgtattr.ATTR_ID)

------------------------------------------------------------------------ Date Conversion in view for IME_CONNECTION ----------------------------------------------------------------------create view V_PC8x_MASTER_CONNECTION as SELECT REPOSITORY_ID, CLASS_ID, CONNECTION_ID, CATALOG_ID, DATA_MGR_CLASS_ID, DATA_MANAGER_ID, SCHEMA_CLASS_ID, SCHEMA_ID, CONNECTION_TYPE, CONNECTION_NAME, CONNECTION_DESC, CONNECTION_SUBTYPE, HOST_NAME, USER_NAME, SCHEMA_NAME, ADDRESS, CONNECTION_TEXT1, CONNECTION_TEXT2, CONNECTION_TEXT3, VERSION_NUM, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT FROM V_PC8x_CONNECTION

------------------------------------------------------------------------ Date Conversion in view for Default flatfile connection ----------------------------------------------------------------------create view V_PC8x_MASTER_DEFILE_CNX as SELECT REPOSITORY_ID, CLASS_ID, CONNECTION_ID, CATALOG_ID, DATA_MGR_CLASS_ID, DATA_MANAGER_ID, SCHEMA_CLASS_ID, SCHEMA_ID, CONNECTION_TYPE, CONNECTION_NAME, CONNECTION_DESC, CONNECTION_SUBTYPE, HOST_NAME, USER_NAME, SCHEMA_NAME, ADDRESS, CONNECTION_TEXT1, CONNECTION_TEXT2, CONNECTION_TEXT3, VERSION_NUM, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT FROM V_PC8x_DEFILE_CNX

-------------------------------------------------------------------------- Date Conversion in view for IME_RUN interface ------------------------------------------------------------------------create view V_PC8x_MASTER_RUN as SELECT REPOSITORY_ID, CLASS_ID, RUN_ID,SERVER_CLASS_ID, SERVER_ID, USER_ACCT_CLASS_ID, USER_ACCOUNT_ID,EVENT_CLASS_ID, EVENT_ID,ACTIVITY_CLASS_ID, ACTIVITY_ID,FOLDER_CLASS_ID, FOLDER_ID, STATUS_CLASS_ID, STATUS_ID,RUN_START_DT, RUN_END_DT, RUN_NUMBER, PARENT_RUN_NUMBER, NORMAL_RUN_FLAG,MESSAGE, ACTIVITY_RUN_TEXT1,ACTIVITY_RUN_TEXT2, ACTIVITY_RUN_TEXT3,TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT , SUBJECT_ID FROM V_PC8x_RUN

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:249/334
Last modification: 3/12/2010 5:51:38 PM

-------------------------------------------------------------------------- Date Conversion in view for IME_TASK_LOG_INTERFACE ------------------------------------------------------------------------create view V_PC8x_MASTER_TSK_LOG as SELECT REPOSITORY_ID, SERVER_CLASS_ID, SERVER_ID, USER_ACCT_CLASS_ID, USER_ACCOUNT_ID, EVENT_CLASS_ID, EVENT_ID, START_DATE, END_DATE, RUN_CLASS_ID,RUN_ID, ACTIVITY_CLASS_ID, ACTIVITY_ID, STEP_CLASS_ID, STEP_ID, TASK_CLASS_ID, TASK_ID, TRANSFORM_CLASS_ID, TRANSFORM_ID, FOLDER_CLASS_ID, FOLDER_ID, STATUS_CLASS_ID, STATUS_ID, STEP_RUN_NUMBER, INPUT_ROWS, REJECTED_ROWS, FAILED_ROWS, OUTPUT_ROWS, LOG_BLOCK_READS, PHY_BLOCK_READS, LOG_BLOCK_WRITES, PHY_BLOCK_WRITES, EXECUTION_MSECS, READ_MSECS, WRITE_MSECS, IDLE_WAIT_MSECS, BUSY_WAIT_MSECS, IDLE_WAIT_EVENTS, BUSY_WAIT_EVENTS,MESSAGE , SUBJECT_ID FROM V_PC8x_TSK_LOG

-------------------------------------------------------------------------- Date Conversion in view for IME_EVENT_INTERFACE ------------------------------------------------------------------------create VIEW V_PC8x_MASTER_EVENT as SELECT REPOSITORY_ID, CLASS_ID, EVENT_ID, EVENT_TYPE, FREQUENCY_TYPE, EVENT_NAME, EVENT_DESC, EVENT_USAGE, EVENT_TEXT1, EVENT_TEXT2, EVENT_TEXT3, VERSION_NUM, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT FROM V_PC8x_EVENT

-------------------------------------------------------------------------- Date Conversion in view for IME_PARTITION ------------------------------------------------------------------------create view V_PC8x_MASTER_PARTITION as SELECT REPOSITORY_ID,PARTITION_CLASS_ID,PARTITION_ID, TASK_ID,TASK_CLASS_ID,PARTITION_TYPE, PARTITION_NAME,PARTITION_DESC,PARTITION_TEXT1, PARTITION_TEXT2,PARTITION_TEXT3,VERSION_NUM, TO_DATE(SRC_CREATE_DT,'mm/dd/YYYY, HH24:MI:ss') AS SRC_CREATE_DT, TO_DATE(SRC_UPDATE_DT,'mm/dd/yyyy, HH24:MI:SS') AS SRC_UPDATE_DT, TO_DATE(EFF_FROM_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_FROM_DT, TO_DATE(EFF_to_DT,'mm/dd/yyyy, HH24:MI:SS') AS EFF_TO_DT , SUBJECT_ID FROM V_PC8x_PARTITION

/* Port Links within a Mapping and Mapplet The query retrives all the hard links between transformation ports in a Mapping/Mapplet.
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:250/334
Last modification: 3/12/2010 5:51:38 PM

This query also links the mapplet instance port with the input or output transformation port. This query is designed for incremental extract based on the mappings and widgets last saved date. */ CREATE VIEW V_PC8X_FEAT_MAP_HLINKS_1 AS /* Hard Links between widget instances (excluding src and target transformations )*/ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN ('Mapping_'|| TO_CHAR(widgdep.MAPPING_ID)) ELSE ('Mapplet_'|| TO_CHAR(map.REF_WIDGET_ID)) END) "TRANSFORM_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN 'com.informatica.powercenter.map.Mapping' ELSE 'com.informatica.powercenter.map.Mapplet' END) "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_'|| (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE) ||'_'|| TO_CHAR(src_winst.MAPPING_ID) || '_' || TO_CHAR(src_winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.'|| REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE),' ',''),'-','')||'Instance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE) || '_' || 'Field_' || ltrim(to_char(src_winst.WIDGET_ID)) || '_' || ltrim(to_char(widgdep.FROM_FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE),' ',''),'-', '')|| 'Port' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_'||(select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = tgt_winst.WIDGET_TYPE) ||'_'|| TO_CHAR(tgt_winst.MAPPING_ID) || '_' || TO_CHAR(tgt_winst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = tgt_winst.WIDGET_TYPE) ,' ',''),'-', '')||'Instance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = tgt_winst.WIDGET_TYPE) || '_' || 'Field_' || ltrim(to_char(tgt_winst.WIDGET_ID)) || '_' || ltrim(to_char(widgdep.TO_FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = tgt_winst.WIDGET_TYPE) ,' ',''),'-', '')||

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:251/334
Last modification: 3/12/2010 5:51:38 PM

'Port' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID, map.SUBJECT_ID "TRFN_SUBJECT_ID", src.SUBJECT_ID "SRC_SUBJECT_ID", tgt.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_DEP widgdep, OPB_WIDGET src, OPB_WIDGET tgt, OPB_WIDGET_INST tgt_winst, OPB_WIDGET_INST src_winst, OPB_MAPPING map WHERE widgdep.FROM_INSTANCE_ID = src_winst.INSTANCE_ID AND widgdep.MAPPING_ID = src_winst.MAPPING_ID AND widgdep.VERSION_NUMBER = src_winst.VERSION_NUMBER AND src_winst.WIDGET_ID = src.WIDGET_ID AND src_winst.WIDGET_TYPE = src.WIDGET_TYPE AND src.IS_VISIBLE = 1 AND widgdep.TO_INSTANCE_ID = tgt_winst.INSTANCE_ID AND widgdep.MAPPING_ID = tgt_winst.MAPPING_ID AND widgdep.VERSION_NUMBER = tgt_winst.VERSION_NUMBER AND tgt_winst.WIDGET_ID = tgt.WIDGET_ID AND tgt_winst.WIDGET_TYPE = tgt.WIDGET_TYPE AND tgt.IS_VISIBLE = 1 AND widgdep.MAPPING_ID = map.MAPPING_ID AND widgdep.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 UNION ALL SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN ('Mapping_'|| TO_CHAR(widget_inst.MAPPING_ID)) ELSE ('Mapplet_'|| TO_CHAR(map.REF_WIDGET_ID)) END) "TRANSFORM_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN 'com.informatica.powercenter.map.Mapping' ELSE 'com.informatica.powercenter.map.Mapplet' END) "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_'|| (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE) ||'_'|| TO_CHAR(widget_inst.MAPPING_ID) || '_' || TO_CHAR(widget_inst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.'||

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:252/334
Last modification: 3/12/2010 5:51:38 PM

REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE),' ',''),'-','')||'Instance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE) || '_' || 'Field_' || ltrim(to_char(widget_inst.WIDGET_ID)) || '_' || ltrim(to_char(cust_portdep.IN_FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE),' ',''),'-', '')|| 'Port' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_'||(select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE) ||'_'|| TO_CHAR(widget_inst.MAPPING_ID) || '_' || TO_CHAR(widget_inst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE) ,' ',''),'','')||'Instance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE) || '_' || 'Field_' || ltrim(to_char(widget_inst.WIDGET_ID)) || '_' || ltrim(to_char(cust_portdep.OUT_FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = widget_inst.WIDGET_TYPE) ,' ',''),'','')|| 'Port' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID, map.SUBJECT_ID "TRFN_SUBJECT_ID", widget.SUBJECT_ID "SRC_SUBJECT_ID", widget.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET widget, OPB_WIDGET_INST widget_inst, OPB_MAPPING map, OPB_WFLD_INOUTDEP cust_portdep WHERE widget.WIDGET_ID = widget_inst.WIDGET_ID AND widget_inst.MAPPING_ID = map.MAPPING_ID AND widget.IS_VISIBLE = 1 AND widget.VERSION_NUMBER = map.VERSION_NUMBER AND widget_inst.WIDGET_ID = cust_portdep.WIDGET_ID AND widget_inst.WIDGET_TYPE = cust_portdep.WIDGET_TYPE AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:253/334
Last modification: 3/12/2010 5:51:38 PM

widget_inst.VERSION_NUMBER = map.VERSION_NUMBER AND widget.VERSION_NUMBER = cust_portdep.VERSION_NUMBER AND map.IS_VISIBLE=1

CREATE VIEW V_PC8X_FEAT_MAP_HLINKS_2 AS /* Hard Links between mapplet instance port and mapi(input transformation) port Incremental extract will be done if any of the input or output transformation of the mapplet is changed or any mapping widgets are changed */ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(winst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Mapplet_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.MappletInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Mapplet_Field_' || ltrim(to_char(wfld.WIDGET_ID)) || '_' || ltrim(to_char(wfld.FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.MappletPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_Input Transformation_'|| TO_CHAR(mplt.MAPPING_ID) || '_' || TO_CHAR(wfld.GROUP_ID) "TARGET_ID", 'com.informatica.powercenter.map.InputTransformationInstance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", 'Input Transformation_' || 'Field_' || ltrim(to_char(mpltwinst.WIDGET_ID)) || '_' || ltrim(to_char(wfld.WIDGET_FLD_PROP)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.InputTransformationPort' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID , map.SUBJECT_ID "TRFN_SUBJECT_ID", map.SUBJECT_ID "SRC_SUBJECT_ID", widg.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_FIELD wfld, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_WIDGET_INST mpltwinst, OPB_MAPPING mplt,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:254/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET widg WHERE map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND winst.WIDGET_ID = wfld.WIDGET_ID AND winst.WIDGET_TYPE = 44 AND mplt.REF_WIDGET_ID = winst.WIDGET_ID AND mplt.MAPPING_ID = mpltwinst.MAPPING_ID AND mplt.VERSION_NUMBER = mpltwinst.VERSION_NUMBER AND mplt.IS_VISIBLE = 1 AND wfld.GROUP_ID = mpltwinst.INSTANCE_ID AND mpltwinst.WIDGET_TYPE = 46 AND wfld.WIDGET_ID = widg.WIDGET_ID AND wfld.VERSION_NUMBER = widg.VERSION_NUMBER AND widg.IS_VISIBLE = 1 UNION ALL /* Hard Links between mapo (output transformation) port to mapplet instance Incremental extract will be done if any of the input or output transformation of the mapplet is changed or any mapping widgets are changed */ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(winst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Output Transformation_'|| TO_CHAR(mplt.MAPPING_ID) || '_' || TO_CHAR(wfld.GROUP_ID) "SOURCE_ID", 'com.informatica.powercenter.map.OutputTransformationInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Output Transformation_' || 'Field_' || ltrim(to_char(mpltwinst.WIDGET_ID)) || '_' || ltrim(to_char(wfld.WIDGET_FLD_PROP)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.OutputTransformationPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_Mapplet_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.MappletInstance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", 'Mapplet_Field_' || ltrim(to_char(wfld.WIDGET_ID)) || '_' || ltrim(to_char(wfld.FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.MappletPort' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME" , TO_DATE(NULL) "EFF_FROM_DT",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:255/334
Last modification: 3/12/2010 5:51:38 PM

TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID, map.SUBJECT_ID "TRFN_SUBJECT_ID", widg.SUBJECT_ID "SRC_SUBJECT_ID", map.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET_FIELD wfld, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_WIDGET_INST mpltwinst, OPB_MAPPING mplt, OPB_WIDGET widg WHERE map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND winst.WIDGET_ID = wfld.WIDGET_ID AND winst.WIDGET_TYPE = 44 AND mplt.REF_WIDGET_ID = winst.WIDGET_ID AND mplt.MAPPING_ID = mpltwinst.MAPPING_ID AND mplt.VERSION_NUMBER = mpltwinst.VERSION_NUMBER AND mplt.IS_VISIBLE = 1 AND wfld.GROUP_ID = mpltwinst.INSTANCE_ID AND mpltwinst.WIDGET_TYPE = 47 AND wfld.WIDGET_ID = widg.WIDGET_ID AND wfld.VERSION_NUMBER = widg.VERSION_NUMBER AND widg.IS_VISIBLE = 1 UNION ALL /* Links between input and output fields of router transformation */ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN ('Mapping_'|| TO_CHAR(map.MAPPING_ID)) ELSE ('Mapplet_'|| TO_CHAR(map.REF_WIDGET_ID)) END) "TRANSFORM_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN 'com.informatica.powercenter.map.Mapping' ELSE 'com.informatica.powercenter.map.Mapplet' END) "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_'||otype.OBJECT_TYPE_NAME||'_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-', '')||'Instance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(winst.WIDGET_ID)) || '_' || ltrim(to_char(wgt_fld.WIDGET_FLD_PROP)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Port' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:256/334
Last modification: 3/12/2010 5:51:38 PM

NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_'||otype.OBJECT_TYPE_NAME||'_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')||'Instance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(winst.WIDGET_ID)) || '_' || ltrim(to_char(wgt_fld.FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Port' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID , map.SUBJECT_ID "TRFN_SUBJECT_ID", wgt.SUBJECT_ID "SRC_SUBJECT_ID", wgt.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_WIDGET_INST winst, OPB_WIDGET wgt, OPB_WIDGET_FIELD wgt_fld, OPB_MAPPING map WHERE winst.WIDGET_ID = wgt.WIDGET_ID AND winst.WIDGET_TYPE = wgt.WIDGET_TYPE AND wgt.WIDGET_ID = wgt_fld.WIDGET_ID AND wgt.VERSION_NUMBER = wgt_fld.VERSION_NUMBER AND wgt.IS_VISIBLE = 1 AND winst.WIDGET_TYPE =15 AND winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND wgt_fld.PORTTYPE = 2 AND map.IS_VISIBLE = 1 AND wgt_fld.WIDGET_FLD_PROP!=0 UNION ALL /*Links between input and output ports of Normalizer transformation*/ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN ('Mapping_'|| TO_CHAR(map.MAPPING_ID)) ELSE ('Mapplet_'|| TO_CHAR(map.REF_WIDGET_ID)) END) "TRANSFORM_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN 'com.informatica.powercenter.map.Mapping' ELSE 'com.informatica.powercenter.map.Mapplet' END) "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:257/334
Last modification: 3/12/2010 5:51:38 PM

'WIDGET_INSTANCE_'||otype.OBJECT_TYPE_NAME||'_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'-', '')||'Instance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(winst.WIDGET_ID)) || '_' || ltrim(to_char(wgt_fld.FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Port' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_'||otype.OBJECT_TYPE_NAME||'_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')||'Instance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(winst.WIDGET_ID)) || '_' || ltrim(to_char(tgt_fld.FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Port' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID , map.SUBJECT_ID "TRFN_SUBJECT_ID", wgt.SUBJECT_ID "SRC_SUBJECT_ID", wgt.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_WIDGET_INST winst, OPB_WIDGET wgt, OPB_WIDGET_FIELD wgt_fld, OPB_MAPPING map, OPB_NORM_FLD norm_fld, OPB_WIDGET_FIELD tgt_fld WHERE winst.WIDGET_ID = wgt.WIDGET_ID AND winst.WIDGET_TYPE = wgt.WIDGET_TYPE AND wgt.WIDGET_ID = wgt_fld.WIDGET_ID AND wgt.VERSION_NUMBER = wgt_fld.VERSION_NUMBER AND wgt.IS_VISIBLE = 1 AND winst.WIDGET_TYPE = 14 AND winst.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND wgt_fld.PORTTYPE = 1 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:258/334
Last modification: 3/12/2010 5:51:38 PM

map.IS_VISIBLE = 1 AND norm_fld.WIDGET_ID = wgt.WIDGET_ID AND norm_fld.VERSION_NUMBER = wgt.VERSION_NUMBER AND wgt_fld.SRC_FIELD_ID = norm_fld.NORMAL_FLDID AND norm_fld.FLDTYPE=1 AND ltrim(rtrim(norm_fld.SRC_NAME)) = ltrim(rtrim(tgt_fld.FIELD_NAME)) AND tgt_fld.WIDGET_ID = norm_fld.WIDGET_ID AND norm_fld.VERSION_NUMBER = tgt_fld.VERSION_NUMBER UNION ALL /* Hard Links between widget instance and target instance port */ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(widgdep.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_'||(select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE)||'_'|| TO_CHAR(src_winst.MAPPING_ID) || '_' || TO_CHAR(src_winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE),' ',''),'-', '')||'Instance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", (select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE) || '_' || 'Field_' || ltrim(to_char(src_winst.WIDGET_ID)) || '_' || ltrim(to_char(widgdep.FROM_FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE((select otype.OBJECT_TYPE_NAME from OPB_OBJECT_TYPE otype where otype.OBJECT_TYPE = src_winst.WIDGET_TYPE),' ',''),'-', '')|| 'Port' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgt_winst.MAPPING_ID) || '_' || TO_CHAR(tgt_winst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgt_winst.WIDGET_ID)) || '_' || ltrim(to_char(widgdep.TO_FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID , map.SUBJECT_ID "TRFN_SUBJECT_ID", src.SUBJECT_ID "SRC_SUBJECT_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:259/334
Last modification: 3/12/2010 5:51:38 PM

tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_WIDGET src, OPB_WIDGET_INST src_winst, OPB_WIDGET_INST tgt_winst, OPB_WIDGET_DEP widgdep, OPB_MAPPING map, OPB_TARG tgt WHERE widgdep.FROM_INSTANCE_ID = src_winst.INSTANCE_ID AND widgdep.MAPPING_ID = src_winst.MAPPING_ID AND widgdep.VERSION_NUMBER = src_winst.VERSION_NUMBER AND src_winst.WIDGET_ID = src.WIDGET_ID AND src_winst.WIDGET_TYPE = src.WIDGET_TYPE AND src.IS_VISIBLE = 1 AND widgdep.TO_INSTANCE_ID = tgt_winst.INSTANCE_ID AND widgdep.MAPPING_ID = tgt_winst.MAPPING_ID AND widgdep.VERSION_NUMBER = tgt_winst.VERSION_NUMBER AND tgt_winst.WIDGET_ID = tgt.TARGET_ID AND tgt.IS_VISIBLE = 1 AND tgt_winst.WIDGET_TYPE = 2 AND widgdep.MAPPING_ID = map.MAPPING_ID AND widgdep.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 UNION ALL /* Hard Links between source instance and widget instance port */ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN ('Mapping_'|| TO_CHAR(widgdep.MAPPING_ID)) ELSE ('Mapplet_'|| TO_CHAR(map.REF_WIDGET_ID)) END) "TRANSFORM_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN 'com.informatica.powercenter.map.Mapping' ELSE 'com.informatica.powercenter.map.Mapplet' END) "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Source Definition_'|| TO_CHAR(src_winst.MAPPING_ID) || '_' || TO_CHAR(src_winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.SourceDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Source Definition_Field_' || ltrim(to_char(src_winst.WIDGET_ID)) || '_' || ltrim(to_char(widgdep.FROM_FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.SourceDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_'||otype2.OBJECT_TYPE_NAME||'_'|| TO_CHAR(tgt_winst.MAPPING_ID) || '_' || TO_CHAR(tgt_winst.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE(otype2.OBJECT_TYPE_NAME,' ',''),'','')||'Instance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:260/334
Last modification: 3/12/2010 5:51:38 PM

otype2.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(tgt_winst.WIDGET_ID)) || '_' || ltrim(to_char(widgdep.TO_FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype2.OBJECT_TYPE_NAME,' ',''),'','')|| 'Port' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID, map.SUBJECT_ID "TRFN_SUBJECT_ID", src.SUBJ_ID "SRC_SUBJECT_ID", tgt.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_OBJECT_TYPE otype2, OPB_WIDGET_INST src_winst, OPB_WIDGET tgt, OPB_WIDGET_INST tgt_winst, OPB_WIDGET_DEP widgdep, OPB_MAPPING map, OPB_SRC src WHERE widgdep.FROM_INSTANCE_ID = src_winst.INSTANCE_ID AND widgdep.MAPPING_ID = src_winst.MAPPING_ID AND widgdep.VERSION_NUMBER = src_winst.VERSION_NUMBER AND src_winst.WIDGET_TYPE = 1 AND src_winst.WIDGET_ID = src.SRC_ID AND src.IS_VISIBLE = 1 AND widgdep.MAPPING_ID = tgt_winst.MAPPING_ID AND widgdep.TO_INSTANCE_ID = tgt_winst.INSTANCE_ID AND widgdep.VERSION_NUMBER = tgt_winst.VERSION_NUMBER AND tgt_winst.WIDGET_TYPE = otype2.OBJECT_TYPE_ID AND tgt_winst.WIDGET_ID = tgt.WIDGET_ID AND tgt.WIDGET_TYPE = tgt_winst.WIDGET_TYPE AND tgt.IS_VISIBLE = 1 AND widgdep.MAPPING_ID = map.MAPPING_ID AND widgdep.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 UNION ALL /* Handling links between MQ Series and its associated source qualifier */ SELECT ' ' "REPOSITORY_ID", NULL "TASK_ID", NULL "TASK_CLASS_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN ('Mapping_'|| TO_CHAR(map.MAPPING_ID)) ELSE ('Mapplet_'|| TO_CHAR(map.REF_WIDGET_ID)) END) "TRANSFORM_ID", (CASE WHEN map.REF_WIDGET_ID = 0 THEN 'com.informatica.powercenter.map.Mapping' ELSE 'com.informatica.powercenter.map.Mapplet' END) "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:261/334
Last modification: 3/12/2010 5:51:38 PM

'WIDGET_INSTANCE_MQ Source Qualifier_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.MQSourceQualifierInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'MQ Source Qualifier_Field_' || ltrim(to_char(winst.WIDGET_ID)) || '_' || ltrim(to_char(wgt_fld.FIELD_ID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.MQSourceQualifierPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME", 'WIDGET_INSTANCE_'||otype.OBJECT_TYPE_NAME||'_'|| TO_CHAR(winst.MAPPING_ID) || '_' || TO_CHAR(winst1.INSTANCE_ID) "TARGET_ID", 'com.informatica.powercenter.map.'||REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')||'Instance' "TARGET_CLASS_ID", ' ' "TARGET_REPO_ID", otype.OBJECT_TYPE_NAME || '_' || 'Field_' || ltrim(to_char(winst1.WIDGET_ID)) || '_' || ltrim(to_char(wgt_fld1.FIELD_ID)) "TGT_FEATURE_ID", 'com.informatica.powercenter.map.' || REPLACE(REPLACE(otype.OBJECT_TYPE_NAME,' ',''),'','')|| 'Port' "TGT_FEAT_CLASS_ID", NULL "TGT_CONNECTION_ID", NULL "TGT_CONN_CLASS_ID", NULL "TARGET_NAME", NULL "TARGET_SCHEMA_NAME", NULL "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, map.MAPPING_ID , map.SUBJECT_ID "TRFN_SUBJECT_ID", wgt.SUBJECT_ID "SRC_SUBJECT_ID", wgt.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_OBJECT_TYPE otype, OPB_WIDGET_INST winst, OPB_WIDGET_INST winst1, OPB_WIDGET wgt, OPB_WIDGET wgt1, OPB_WIDGET_FIELD wgt_fld, OPB_WIDGET_FIELD wgt_fld1, OPB_MAPPING map WHERE winst.WIDGET_ID = wgt.WIDGET_ID AND winst.WIDGET_TYPE = wgt.WIDGET_TYPE AND wgt.WIDGET_ID = wgt_fld.WIDGET_ID AND wgt.VERSION_NUMBER = wgt_fld.VERSION_NUMBER AND wgt.IS_VISIBLE = 1 AND winst1.WIDGET_ID = wgt1.WIDGET_ID AND winst1.WIDGET_TYPE = wgt1.WIDGET_TYPE AND wgt1.WIDGET_ID = wgt_fld1.WIDGET_ID AND wgt1.VERSION_NUMBER = wgt_fld1.VERSION_NUMBER AND wgt1.IS_VISIBLE = 1 AND winst.WIDGET_TYPE =56 AND winst.WIDGET_PROP =winst1.INSTANCE_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:262/334
Last modification: 3/12/2010 5:51:38 PM

winst.MAPPING_ID =winst1.MAPPING_ID AND winst.VERSION_NUMBER =winst1.VERSION_NUMBER AND winst1.WIDGET_TYPE = otype.OBJECT_TYPE_ID AND winst.MAPPING_ID = map.MAPPING_ID AND winst.VERSION_NUMBER = map.VERSION_NUMBER AND wgt_fld.FIELD_NAME = 'MsgId' AND map.IS_VISIBLE = 1

/* View to handle parameterization/ override of Source & target table names both at the mapping & session level*/ CREATE VIEW V_PC8X_TASK_SRC_TGT_PAR AS SELECT ' ' "REPOSITORY_ID", tsk.TASK_ID , task_inst.INSTANCE_ID TASK_INSTANCE_ID, CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID=0 THEN OPB_SWIDGET_INST.INSTANCE_ID ELSE BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) END WIDGET_INSTANCE_ID, ATTR_VALUE PARAM_NAME, CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID=0 THEN OPB_MAPPING.MAPPING_ID ELSE OPB_SWIDGET_INST.MAPPLET_MAP_ID END MAPPING_ID, ATTR_ID,tsk.SUBJECT_ID, CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID=0 THEN OPB_MAPPING.MAPPING_NAME ELSE OPB_SWIDGET_INST.MAPPLET_INST_NAME END MAP_CONTEXT_NAME FROM OPB_SWIDGET_INST,OPB_SWIDGET_ATTR,OPB_TASK_INST task_inst,OPB_MAPPING,OPB_WIDGET_DEP, OPB_TASK tsk,OPB_TASK wflow, OPB_WIDGET_INST wdep WHERE task_inst.TASK_ID=OPB_SWIDGET_INST.SESSION_ID AND task_inst.TASK_ID = tsk.TASK_ID AND tsk.VERSION_NUMBER=OPB_SWIDGET_INST.VERSION_NUMBER AND task_inst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND task_inst.WORKFLOW_ID = wflow.TASK_ID AND task_inst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.SESSION_ID=OPB_SWIDGET_ATTR.SESSION_ID AND OPB_SWIDGET_INST.SESS_WIDG_INST_ID=OPB_SWIDGET_ATTR.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.VERSION_NUMBER=OPB_SWIDGET_ATTR.VERSION_NUMBER and ATTR_VALUE IS NOT NULL AND ((OPB_SWIDGET_INST.MAPPING_ID=OPB_MAPPING.MAPPING_ID AND OPB_SWIDGET_INST.MAPPLET_MAP_ID=0) OR(OPB_SWIDGET_INST.MAPPLET_MAP_ID=OPB_MAPPING.MAPPING_ID AND OPB_SWIDGET_INST.MAPPLET_MAP_ID!=0)) AND OPB_MAPPING.IS_VISIBLE = 1 AND OPB_WIDGET_DEP.MAPPING_ID=OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER=OPB_MAPPING.VERSION_NUMBER AND OPB_WIDGET_DEP.FROM_INSTANCE_ID = BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AND TO_FIELD_ID=1 AND ((OPB_SWIDGET_INST.MAPPLET_MAP_ID=0 AND OPB_SWIDGET_INST.MAPPING_ID=wdep.MAPPING_ID) OR (OPB_SWIDGET_INST.MAPPLET_MAP_ID!=0 AND OPB_SWIDGET_INST.MAPPLET_MAP_ID=wdep.MAPPING_ID)) AND OPB_WIDGET_DEP.TO_INSTANCE_ID=wdep.INSTANCE_ID AND OPB_SWIDGET_ATTR.ATTR_ID =31 AND OPB_SWIDGET_INST.WIDGET_TYPE=1 AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR swidg_attr,OPB_SWIDGET_INST WGT WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:263/334
Last modification: 3/12/2010 5:51:38 PM

swidg_attr.SESSION_ID=OPB_SWIDGET_ATTR.SESSION_ID AND swidg_attr.VERSION_NUMBER=OPB_SWIDGET_ATTR.VERSION_NUMBER AND ATTR_ID=1 AND WGT.SESSION_ID=swidg_attr.SESSION_ID AND WGT.VERSION_NUMBER=swidg_attr.VERSION_NUMBER AND WGT.SESS_WIDG_INST_ID=swidg_attr.SESS_WIDG_INST_ID AND WGT.WIDGET_TYPE=3 AND BITAND(65535,WGT.INSTANCE_ID)=OPB_WIDGET_DEP.TO_INSTANCE_ID AND ATTR_VALUE IS NOT NULL ) AND NOT EXISTS (SELECT 'X' from OPB_WIDGET_ATTR WHERE wdep.WIDGET_ID=OPB_WIDGET_ATTR.WIDGET_ID AND wdep.VERSION_NUMBER=OPB_WIDGET_ATTR.VERSION_NUMBER AND OPB_WIDGET_ATTR.WIDGET_TYPE=3 AND OPB_WIDGET_ATTR.ATTR_ID = 1 AND ATTR_VALUE IS NOT NULL) UNION ALL SELECT ' ' "REPOSITORY_ID", tsk.TASK_ID , task_inst.INSTANCE_ID TASK_INSTANCE_ID, CASE WHEN swidg_inst.MAPPLET_MAP_ID=0 THEN swidg_inst.INSTANCE_ID ELSE BITAND(65535,swidg_inst.INSTANCE_ID) END WIDGET_INSTANCE_ID, ATTR_VALUE PARAM_NAME, OPB_WIDGET_INST.MAPPING_ID, ATTR_ID,tsk.SUBJECT_ID, CASE WHEN swidg_inst.MAPPLET_MAP_ID=0 THEN map.MAPPING_NAME ELSE swidg_inst.MAPPLET_INST_NAME END MAP_CONTEXT_NAME from OPB_WIDGET_ATTR widg_attr,OPB_SWIDGET_INST swidg_inst,OPB_WIDGET_INST, OPB_WIDGET_INST wdep, OPB_WIDGET_DEP, OPB_MAPPING map, OPB_TASK_INST task_inst , OPB_TASK tsk, OPB_TASK wflow WHERE task_inst.TASK_ID=swidg_inst.SESSION_ID AND task_inst.TASK_ID = tsk.TASK_ID AND tsk.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND task_inst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND task_inst.WORKFLOW_ID = wflow.TASK_ID AND task_inst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND ((swidg_inst.MAPPLET_MAP_ID=0 AND swidg_inst.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID) OR (swidg_inst.MAPPLET_MAP_ID!=0 AND swidg_inst.MAPPLET_MAP_ID=OPB_WIDGET_INST.MAPPING_ID)) AND BITAND(65535, swidg_inst.INSTANCE_ID)=OPB_WIDGET_INST.INSTANCE_ID AND widg_attr.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND widg_attr.VERSION_NUMBER=OPB_WIDGET_INST.VERSION_NUMBER AND map.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND map.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND map.IS_VISIBLE=1 AND widg_attr.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID and widg_attr.WIDGET_TYPE=1 AND ATTR_ID =31 AND (widg_attr.ATTR_VALUE <> '0' OR widg_attr.ATTR_VALUE IS NOT NULL) AND OPB_WIDGET_DEP.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND OPB_WIDGET_DEP.VERSION_NUMBER=OPB_WIDGET_INST.VERSION_NUMBER AND OPB_WIDGET_DEP.FROM_INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND TO_FIELD_ID=1 AND ((swidg_inst.MAPPLET_MAP_ID=0 AND swidg_inst.MAPPING_ID=wdep.MAPPING_ID ) OR (swidg_inst.MAPPLET_MAP_ID!=0 AND swidg_inst.MAPPLET_MAP_ID=wdep.MAPPING_ID)) AND OPB_WIDGET_DEP.TO_INSTANCE_ID=wdep.INSTANCE_ID AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR swidg_attr,OPB_SWIDGET_INST WGT where swidg_attr.SESSION_ID=swidg_inst.SESSION_ID AND swidg_attr.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND ATTR_ID=1 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:264/334
Last modification: 3/12/2010 5:51:38 PM

WGT.SESSION_ID=swidg_attr.SESSION_ID AND WGT.VERSION_NUMBER=swidg_attr.VERSION_NUMBER AND WGT.SESS_WIDG_INST_ID=swidg_attr.SESS_WIDG_INST_ID AND WGT.WIDGET_TYPE=3 AND BITAND(65535,WGT.INSTANCE_ID)=OPB_WIDGET_DEP.TO_INSTANCE_ID AND ATTR_VALUE IS NOT NULL ) AND NOT EXISTS (SELECT 'X' from OPB_WIDGET_ATTR WHERE wdep.WIDGET_ID=OPB_WIDGET_ATTR.WIDGET_ID AND wdep.VERSION_NUMBER=OPB_WIDGET_ATTR.VERSION_NUMBER AND OPB_WIDGET_ATTR.WIDGET_TYPE=3 AND OPB_WIDGET_ATTR.ATTR_ID = 1 AND ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_INST sinst, OPB_SWIDGET_ATTR sattr WHERE sinst.SESSION_ID=swidg_inst.SESSION_ID AND sinst.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND sinst.SESSION_ID=sattr.SESSION_ID AND sinst.SESS_WIDG_INST_ID=sattr.SESS_WIDG_INST_ID AND sinst.VERSION_NUMBER=sattr.VERSION_NUMBER AND ((sinst.MAPPLET_MAP_ID=0 AND sinst.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID) OR (sinst.MAPPLET_MAP_ID!=0 AND sinst.MAPPLET_MAP_ID = OPB_WIDGET_INST.MAPPING_ID)) AND BITAND(65535,sinst.INSTANCE_ID)=OPB_WIDGET_INST.INSTANCE_ID and ATTR_ID =31 AND WIDGET_TYPE=1 AND ATTR_VALUE IS NOT NULL ) UNION ALL SELECT ' ' "REPOSITORY_ID", tsk.TASK_ID , task_inst.INSTANCE_ID TASK_INSTANCE_ID,OPB_SWIDGET_INST.INSTANCE_ID WIDGET_INSTANCE_ID, ATTR_VALUE PARAM_NAME, OPB_MAPPING.MAPPING_ID, ATTR_ID,tsk.SUBJECT_ID, CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID=0 THEN OPB_MAPPING.MAPPING_NAME ELSE OPB_SWIDGET_INST.MAPPLET_INST_NAME END MAP_CONTEXT_NAME FROM OPB_SWIDGET_INST, OPB_SWIDGET_ATTR,OPB_TASK_INST task_inst,OPB_MAPPING,OPB_TASK tsk, OPB_TASK wflow WHERE task_inst.TASK_ID=OPB_SWIDGET_INST.SESSION_ID AND task_inst.TASK_ID = tsk.TASK_ID AND tsk.VERSION_NUMBER=OPB_SWIDGET_INST.VERSION_NUMBER AND task_inst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND task_inst.WORKFLOW_ID = wflow.TASK_ID AND task_inst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.SESSION_ID=OPB_SWIDGET_ATTR.SESSION_ID AND OPB_SWIDGET_INST.SESS_WIDG_INST_ID=OPB_SWIDGET_ATTR.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.VERSION_NUMBER=OPB_SWIDGET_ATTR.VERSION_NUMBER and ATTR_VALUE IS NOT NULL AND OPB_SWIDGET_INST.MAPPING_ID=OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 and ATTR_ID =19 AND WIDGET_TYPE=2 UNION ALL select ' ' "REPOSITORY_ID", tsk.TASK_ID , task_inst.INSTANCE_ID TASK_INSTANCE_ID, swidg_inst.INSTANCE_ID WIDGET_INSTANCE_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:265/334
Last modification: 3/12/2010 5:51:38 PM

ATTR_VALUE PARAM_NAME, OPB_WIDGET_INST.MAPPING_ID, ATTR_ID ,tsk.SUBJECT_ID, CASE WHEN swidg_inst.MAPPLET_MAP_ID=0 THEN map.MAPPING_NAME ELSE swidg_inst.MAPPLET_INST_NAME END MAP_CONTEXT_NAME from OPB_WIDGET_ATTR widg_attr,OPB_SWIDGET_INST swidg_inst,OPB_WIDGET_INST, OPB_TASK_INST task_inst , OPB_TASK tsk, OPB_TASK wflow,OPB_MAPPING map where task_inst.TASK_ID=swidg_inst.SESSION_ID AND task_inst.TASK_ID = tsk.TASK_ID AND tsk.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND task_inst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND task_inst.WORKFLOW_ID = wflow.TASK_ID AND task_inst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND swidg_inst.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND swidg_inst.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND widg_attr.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND widg_attr.VERSION_NUMBER=OPB_WIDGET_INST.VERSION_NUMBER AND map.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND map.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND map.IS_VISIBLE=1 AND widg_attr.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID and ATTR_ID =19 AND (widg_attr.ATTR_VALUE <> '0' or widg_attr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_INST sinst, OPB_SWIDGET_ATTR sattr WHERE sinst.SESSION_ID=swidg_inst.SESSION_ID AND sinst.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND sinst.SESSION_ID=sattr.SESSION_ID AND sinst.SESS_WIDG_INST_ID=sattr.SESS_WIDG_INST_ID AND sinst.VERSION_NUMBER=sattr.VERSION_NUMBER AND sinst.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND sinst.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID and ATTR_ID =19 AND WIDGET_TYPE=2 AND ATTR_VALUE IS NOT NULL ) UNION ALL SELECT ' ' "REPOSITORY_ID", tsk.TASK_ID , task_inst.INSTANCE_ID TASK_INSTANCE_ID,OPB_SWIDGET_INST.INSTANCE_ID WIDGET_INSTANCE_ID, ATTR_VALUE PARAM_NAME, OPB_MAPPING.MAPPING_ID, ATTR_ID,tsk.SUBJECT_ID, CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID=0 THEN OPB_MAPPING.MAPPING_NAME ELSE OPB_SWIDGET_INST.MAPPLET_INST_NAME END MAP_CONTEXT_NAME FROM OPB_SWIDGET_INST, OPB_SWIDGET_ATTR,OPB_TASK_INST task_inst,OPB_MAPPING,OPB_TASK tsk, OPB_TASK wflow WHERE task_inst.TASK_ID=OPB_SWIDGET_INST.SESSION_ID AND task_inst.TASK_ID = tsk.TASK_ID AND tsk.VERSION_NUMBER=OPB_SWIDGET_INST.VERSION_NUMBER AND task_inst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND task_inst.WORKFLOW_ID = wflow.TASK_ID AND task_inst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.SESSION_ID=OPB_SWIDGET_ATTR.SESSION_ID AND OPB_SWIDGET_INST.SESS_WIDG_INST_ID=OPB_SWIDGET_ATTR.SESS_WIDG_INST_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:266/334
Last modification: 3/12/2010 5:51:38 PM

AND OPB_SWIDGET_INST.VERSION_NUMBER=OPB_SWIDGET_ATTR.VERSION_NUMBER and ATTR_VALUE IS NOT NULL AND OPB_SWIDGET_INST.MAPPING_ID=OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 and ATTR_ID =3 AND WIDGET_TYPE=2 UNION ALL select ' ' "REPOSITORY_ID", tsk.TASK_ID , task_inst.INSTANCE_ID TASK_INSTANCE_ID, swidg_inst.INSTANCE_ID WIDGET_INSTANCE_ID, ATTR_VALUE PARAM_NAME, OPB_WIDGET_INST.MAPPING_ID, ATTR_ID ,tsk.SUBJECT_ID, CASE WHEN swidg_inst.MAPPLET_MAP_ID=0 THEN map.MAPPING_NAME ELSE swidg_inst.MAPPLET_INST_NAME END MAP_CONTEXT_NAME from OPB_WIDGET_ATTR widg_attr,OPB_SWIDGET_INST swidg_inst,OPB_WIDGET_INST, OPB_TASK_INST task_inst , OPB_TASK tsk, OPB_TASK wflow,OPB_MAPPING map where task_inst.TASK_ID=swidg_inst.SESSION_ID AND task_inst.TASK_ID = tsk.TASK_ID AND tsk.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND task_inst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND task_inst.WORKFLOW_ID = wflow.TASK_ID AND task_inst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND swidg_inst.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND swidg_inst.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID AND widg_attr.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND widg_attr.VERSION_NUMBER=OPB_WIDGET_INST.VERSION_NUMBER AND map.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND map.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND map.IS_VISIBLE=1 AND widg_attr.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID and ATTR_ID =3 AND (widg_attr.ATTR_VALUE <> '0' or widg_attr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_INST sinst, OPB_SWIDGET_ATTR sattr WHERE sinst.SESSION_ID=swidg_inst.SESSION_ID AND sinst.VERSION_NUMBER=swidg_inst.VERSION_NUMBER AND sinst.SESSION_ID=sattr.SESSION_ID AND sinst.SESS_WIDG_INST_ID=sattr.SESS_WIDG_INST_ID AND sinst.VERSION_NUMBER=sattr.VERSION_NUMBER AND sinst.MAPPING_ID=OPB_WIDGET_INST.MAPPING_ID AND sinst.INSTANCE_ID=OPB_WIDGET_INST.INSTANCE_ID and ATTR_ID =3 AND WIDGET_TYPE=2 AND ATTR_VALUE IS NOT NULL )

/* The query retrives links target instance port and a database table column using the relational connection that exists in a Session Instance ( either in worklet or in workflow) with respect to Target definition. This is designed for incremental extract based on the last saved date of the workflow/worklet and the session. ( 8x metadata does not store task instance last saved date, hence the workflow last saved date is used). Incremental extract is done if there is a change in the Source Qualifier(3) or Lookup Transformation of the sessions mapping/Mapplet.( Note: OPB_WFLOW_VAR is used to get any task instance change. It is joined with a variable 'Status' to get a single record for a task instance. It is joined by task_instance_name because task_instance_id is not
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:267/334
Last modification: 3/12/2010 5:51:38 PM

consistently store the session instance id and will be 0 in some cases. ) */ CREATE VIEW V_PC8X_TGT_DB_FEAT_MAP AS SELECT ' ' "REPOSITORY_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_OBJECT_TYPE otype, OPB_SWIDGET_ATTR wattr, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:268/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND (wattr.ATTR_VALUE IS NULL OR wattr.ATTR_VALUE NOT LIKE('$%')) AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) UNION ALL SELECT ' ' "REPOSITORY_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:269/334
Last modification: 3/12/2010 5:51:38 PM

'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_WIDGET_ATTR wattr, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:270/334
Last modification: 3/12/2010 5:51:38 PM

wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND (wattr.ATTR_VALUE IS NULL OR wattr.ATTR_VALUE NOT LIKE('$%')) AND wattr.WIDGET_TYPE(+) = 2 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) /* Target Fields to database table fields. Connection reused from session*/ UNION ALL SELECT ' ' "REPOSITORY_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:271/334
Last modification: 3/12/2010 5:51:38 PM

'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_SWIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_OBJECT_TYPE otype, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:272/334
Last modification: 3/12/2010 5:51:38 PM

wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND (wattr.ATTR_VALUE IS NULL OR wattr.ATTR_VALUE NOT LIKE('$%')) AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) UNION ALL SELECT ' ' "REPOSITORY_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) ||

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:273/334
Last modification: 3/12/2010 5:51:38 PM

'_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_WIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND (wattr.ATTR_VALUE IS NULL OR wattr.ATTR_VALUE NOT LIKE('$%')) AND wattr.WIDGET_TYPE(+) = 2 AND cnxref.REF_OBJECT_ID != 0 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:274/334
Last modification: 3/12/2010 5:51:38 PM

cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL)

/* View for Target Table Name overrides*/ CREATE VIEW V_PC8X_TGT_DB_FEAT_MAP_1 AS SELECT ' ' "REPOSITORY_ID", tinst.INSTANCE_ID "TASK_INSTANCE_ID", swinst.INSTANCE_ID "WIDGET_INSTANCE_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:275/334
Last modification: 3/12/2010 5:51:38 PM

'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "ORG_TARGET_NAME", NULL "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_OBJECT_TYPE otype, OPB_SWIDGET_ATTR wattr, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:276/334
Last modification: 3/12/2010 5:51:38 PM

wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL UNION ALL SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) UNION ALL SELECT ' ' "REPOSITORY_ID", tinst.INSTANCE_ID "TASK_INSTANCE_ID", swinst.INSTANCE_ID "WIDGET_INSTANCE_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:277/334
Last modification: 3/12/2010 5:51:38 PM

NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "ORG_TARGET_NAME", NULL "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_WIDGET_ATTR wattr, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND wattr.WIDGET_TYPE(+) = 2 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:278/334
Last modification: 3/12/2010 5:51:38 PM

cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) AND EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL UNION ALL SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) /* Target Fields to database table fields. Connection reused from session*/ UNION ALL SELECT ' ' "REPOSITORY_ID", tinst.INSTANCE_ID "TASK_INSTANCE_ID", swinst.INSTANCE_ID "WIDGET_INSTANCE_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:279/334
Last modification: 3/12/2010 5:51:38 PM

NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME", NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "ORG_TARGET_NAME", NULL "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_SWIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_OBJECT_TYPE otype, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:280/334
Last modification: 3/12/2010 5:51:38 PM

cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL UNION ALL SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) UNION ALL SELECT ' ' "REPOSITORY_ID", tinst.INSTANCE_ID "TASK_INSTANCE_ID", swinst.INSTANCE_ID "WIDGET_INSTANCE_ID", 'TASK_INSTANCE_Session_'||TO_CHAR(tinst.INSTANCE_ID) "TASK_ID", 'com.informatica.powercenter.process.SessionTaskInstance' "TASK_CLASS_ID", 'Mapping_'|| TO_CHAR(swinst.MAPPING_ID) "TRANSFORM_ID", 'com.informatica.powercenter.map.Mapping' "TRANSFORM_CLASS_ID", 'Default_Expression' "MAP_ID", 'com.informatica.powercenter.map.MapExpression' "MAP_CLASS_ID", 'Default_FieldExpression' "FEATURE_MAP_ID", 'com.informatica.powercenter.map.MapExpression' "FEAT_MAP_CLASS_ID", 'WIDGET_INSTANCE_Target Definition_'|| TO_CHAR(tgtinst.MAPPING_ID) || '_' || TO_CHAR(tgtinst.INSTANCE_ID) "SOURCE_ID", 'com.informatica.powercenter.map.TargetDefinitionInstance' "SOURCE_CLASS_ID", ' ' "SOURCE_REPO_ID", 'Target Definition_Field_' || ltrim(to_char(tgtfld.TARGET_ID)) || '_' || ltrim(to_char(tgtfld.FLDID)) "SRC_FEATURE_ID", 'com.informatica.powercenter.map.TargetDefinitionPort' "SRC_FEAT_CLASS_ID", NULL "SRC_CONNECTION_ID", NULL "SRC_CONN_CLASS_ID", NULL "SOURCE_NAME",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:281/334
Last modification: 3/12/2010 5:51:38 PM

NULL "SOURCE_SCHEMA_NAME", NULL "SRC_FEATURE_NAME" , NULL "TARGET_ID", NULL "TARGET_CLASS_ID", NULL "TARGET_REPO_ID", NULL "TGT_FEATURE_ID", NULL "TGT_FEAT_CLASS_ID", otype.OBJECT_TYPE_NAME || '_' || ltrim(to_char(cnxref.REF_OBJECT_ID)) "TGT_CONNECTION_ID", 'com.informatica.powercenter.deployment.' || REPLACE(otype.OBJECT_TYPE_NAME,' ','') "TGT_CONN_CLASS_ID", UPPER(tgt.TARGET_NAME) "ORG_TARGET_NAME", NULL "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(NULL) "EFF_FROM_DT", TO_DATE(NULL) "EFF_TO_DT", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, swinst.MAPPING_ID, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_WIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND wattr.WIDGET_TYPE(+) = 2 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:282/334
Last modification: 3/12/2010 5:51:38 PM

swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) AND EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL UNION ALL SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL)

CREATE VIEW V_PC8X_TGT_DB_CONN_PAR AS /* Target Fields to database table fields. Connection defined at session instance */ SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnxref.REF_OBJECT_VALUE) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:283/334
Last modification: 3/12/2010 5:51:38 PM

tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_OBJECT_TYPE otype, OPB_SWIDGET_ATTR wattr, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:284/334
Last modification: 3/12/2010 5:51:38 PM

tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnxref.REF_OBJECT_VALUE) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_WIDGET_ATTR wattr, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND wattr.WIDGET_TYPE(+) = 2 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:285/334
Last modification: 3/12/2010 5:51:38 PM

tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) /* Target Fields to database table fields. Connection reused from session*/ UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnxref.REF_OBJECT_VALUE) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_SWIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_OBJECT_TYPE otype, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:286/334
Last modification: 3/12/2010 5:51:38 PM

wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnxref.REF_OBJECT_VALUE) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_WIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_OBJECT_TYPE otype,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:287/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND wattr.WIDGET_TYPE(+) = 2 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:288/334
Last modification: 3/12/2010 5:51:38 PM

swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnx.OBJECT_NAME) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_CNX cnx, OPB_OBJECT_TYPE otype, OPB_SWIDGET_ATTR wattr, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND wattr.ATTR_VALUE LIKE '$%' AND cnxref.REF_OBJECT_ID = cnx.OBJECT_ID AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:289/334
Last modification: 3/12/2010 5:51:38 PM

tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnx.OBJECT_NAME) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_CNX cnx, OPB_WIDGET_ATTR wattr, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst , OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tinst.TASK_TYPE = 68 AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:290/334
Last modification: 3/12/2010 5:51:38 PM

tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND wattr.WIDGET_TYPE(+) = 2 AND wattr.ATTR_VALUE LIKE '$%' AND cnxref.REF_OBJECT_ID = cnx.OBJECT_ID AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND tgtinst.WIDGET_TYPE = 2 AND map.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND tgtfld.TARGET_ID = tgt.TARGET_ID AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER ) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) /* Target Fields to database table fields. Connection reused from session*/ UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:291/334
Last modification: 3/12/2010 5:51:38 PM

tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnx.OBJECT_NAME) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_SWIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_OBJECT_TYPE otype, OPB_SESS_CNX_REFS cnxref, OPB_CNX cnx, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_ID = swinst.SESSION_ID AND wattr.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr.ATTR_ID = 3 AND wattr.ATTR_VALUE LIKE '$%' AND cnxref.REF_OBJECT_ID = cnx.OBJECT_ID AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:292/334
Last modification: 3/12/2010 5:51:38 PM

cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL) UNION ALL SELECT tinst.INSTANCE_ID "TASK_ID", tsk.TASK_ID "SESSION_ID", swinst.MAPPING_ID "TRANSFORM_ID", tgtinst.INSTANCE_ID "TGT_INST_ID", tgtfld.TARGET_ID "TARGET_ID", tgtfld.FLDID "TGT_FIELD_ID", otype.OBJECT_TYPE_NAME "CONNECTION_TYPE", UPPER(cnx.OBJECT_NAME) "PARM_NAME", UPPER(tgt.TARGET_NAME) "TARGET_NAME", UPPER(wattr.ATTR_VALUE) "TARGET_SCHEMA_NAME", UPPER(tgtfld.TARGET_NAME) "TGT_FEATURE_NAME", TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wflow.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", tgt.SUBJ_ID "TGT_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_WIDGET_INST tgtinst, OPB_WIDGET_ATTR wattr, OPB_TARG tgt, OPB_TARG_FLD tgtfld, OPB_SESS_CNX_REFS cnxref, OPB_CNX cnx, OPB_OBJECT_TYPE otype, OPB_TASK tsk, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_TASK wflow WHERE swinst.WIDGET_TYPE =2 AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_TYPE = 68 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:293/334
Last modification: 3/12/2010 5:51:38 PM

tinst.TASK_ID = swinst.SESSION_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wattr.SESSION_TASK_ID(+) = 0 AND wattr.MAPPING_ID(+) = tgtinst.MAPPING_ID AND wattr.INSTANCE_ID(+) = tgtinst.INSTANCE_ID AND wattr.ATTR_ID(+) = 3 AND wattr.WIDGET_TYPE(+) = 2 AND wattr.ATTR_VALUE LIKE '$%' AND cnxref.REF_OBJECT_ID = cnx.OBJECT_ID AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = tgtinst.MAPPING_ID AND swinst.INSTANCE_ID = tgtinst.INSTANCE_ID AND tgtinst.MAPPING_ID = map.MAPPING_ID AND tgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND tgtfld.TARGET_ID = tgtinst.WIDGET_ID AND tgtinst.WIDGET_TYPE = 2 AND tgt.TARGET_ID = tgtinst.WIDGET_ID AND tgtfld.VERSION_NUMBER = tgt.VERSION_NUMBER AND tgt.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_TYPE = otype.OBJECT_TYPE_ID AND cnxref.REF_OBJECT_TYPE != 75 AND EXISTS ( SELECT 'X' FROM OPB_WIDGET_DEP wtdep WHERE wtdep.MAPPING_ID = swinst.MAPPING_ID AND wtdep.TO_INSTANCE_ID = swinst.INSTANCE_ID AND wtdep.TO_FIELD_ID = tgtfld.FLDID AND wtdep.VERSION_NUMBER = map.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) AND NOT EXISTS ( SELECT 'X' FROM OPB_SWIDGET_ATTR wattr1 WHERE wattr1.SESSION_ID = swinst.SESSION_ID AND wattr1.VERSION_NUMBER = swinst.VERSION_NUMBER AND wattr1.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND wattr1.ATTR_ID = 3 ) AND NOT EXISTS (SELECT 'X' FROM OPB_SWIDGET_ATTR sattr WHERE sattr.SESSION_ID=swinst.SESSION_ID AND sattr.SESS_WIDG_INST_ID =swinst.SESS_WIDG_INST_ID AND ATTR_ID=19 and tsk.VERSION_NUMBER = sattr.VERSION_NUMBER and sattr.ATTR_VALUE IS NOT NULL) AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wattr1 WHERE wattr1.MAPPING_ID=swinst.MAPPING_ID AND wattr1.INSTANCE_ID =swinst.INSTANCE_ID AND wattr1.ATTR_ID=19 and wattr1.VERSION_NUMBER = map.VERSION_NUMBER and wattr1.ATTR_VALUE IS NOT NULL)

/* The query below extract all the DSQ's for a session and its connection. This is

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:294/334
Last modification: 3/12/2010 5:51:38 PM

designed for incremental extract based on the last saved date of the workflow/worklet and the session. ( 8x metadata does not store task instance last saved date, hence the workflow last saved date is used). Incremental extract is done if there is a change in the Source Qualifier(3) or Lookup Transformation of the sessions mapping/Mapplet. ( Note: OPB_WFLOW_VAR is used to get any task instance change. It is joined with a variable 'Status' to get a single record for a task instance. It is joined by task_instance_name because task_instance_id is not consistently store the session instance id and will be 0 in some cases. ) */ CREATE VIEW V_PC8X_SESS_DSQ_CNX AS -- Connection for mapplet dsq's with instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPLET_MAP_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, cnxref.REF_OBJECT_ID CONNECTION_ID, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst , OPB_TASK wflow WHERE swinst.WIDGET_TYPE IN (3,45) AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:295/334
Last modification: 3/12/2010 5:51:38 PM

wfvar.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPLET_MAP_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND BITAND(65535,swinst.INSTANCE_ID) = winst.INSTANCE_ID UNION ALL -- Connection for mapplet dsq's without instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPLET_MAP_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, cnxref.REF_OBJECT_ID CONNECTION_ID, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst, OPB_TASK wflow WHERE swinst.WIDGET_TYPE IN (3,45) AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:296/334
Last modification: 3/12/2010 5:51:38 PM

wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPLET_MAP_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND BITAND(65535,swinst.INSTANCE_ID) = winst.INSTANCE_ID AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) UNION ALL -- Connection for mapping dsq's with instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPING_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, cnxref.REF_OBJECT_ID CONNECTION_ID, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst , OPB_TASK wflow WHERE swinst.WIDGET_TYPE IN (3,45) AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:297/334
Last modification: 3/12/2010 5:51:38 PM

wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND swinst.INSTANCE_ID = winst.INSTANCE_ID UNION ALL -- Connection for mapping dsq's without instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPING_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, cnxref.REF_OBJECT_ID CONNECTION_ID, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst, OPB_TASK wflow WHERE swinst.WIDGET_TYPE IN (3,45) AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:298/334
Last modification: 3/12/2010 5:51:38 PM

wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID != 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND swinst.INSTANCE_ID = winst.INSTANCE_ID AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER)

CREATE VIEW V_PC8X_SESS_DSQ_CNX_PAR AS -- Connection for mapplet dsq's with instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPLET_MAP_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, UPPER(cnxref.REF_OBJECT_VALUE) PARM_NAME, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst , OPB_TASK wflow WHERE swinst.WIDGET_TYPE = 3 AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:299/334
Last modification: 3/12/2010 5:51:38 PM

tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPLET_MAP_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND BITAND(65535,swinst.INSTANCE_ID) = winst.INSTANCE_ID UNION ALL -- Connection for mapplet dsq's without instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPLET_MAP_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, UPPER(cnxref.REF_OBJECT_VALUE) PARM_NAME, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst, OPB_TASK wflow WHERE swinst.WIDGET_TYPE = 3 AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:300/334
Last modification: 3/12/2010 5:51:38 PM

tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPLET_MAP_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND BITAND(65535,swinst.INSTANCE_ID) = winst.INSTANCE_ID AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER) UNION ALL -- Connection for mapping dsq's with instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPING_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, UPPER(cnxref.REF_OBJECT_VALUE) PARM_NAME, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst , OPB_TASK wflow

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:301/334
Last modification: 3/12/2010 5:51:38 PM

WHERE swinst.WIDGET_TYPE = 3 AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND swinst.INSTANCE_ID = winst.INSTANCE_ID UNION ALL -- Connection for mapping dsq's without instance overide SELECT tinst.INSTANCE_ID TASK_INST_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, swinst.MAPPING_ID MAPPING_ID, swinst.INSTANCE_ID MAP_INSTANCE_ID, winst.INSTANCE_ID INSTANCE_ID, winst.WIDGET_ID WIDGET_ID, winst.WIDGET_TYPE WIDGET_TYPE, UPPER(cnxref.REF_OBJECT_VALUE) PARM_NAME, CASE WHEN swinst.MAPPLET_INST_NAME IS NOT NULL THEN swinst.MAPPLET_INST_NAME ELSE map.MAPPING_NAME END MAP_CONTEXT_NAME, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID" FROM OPB_SWIDGET_INST swinst, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_SESS_CNX_REFS cnxref, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst, OPB_TASK wflow WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:302/334
Last modification: 3/12/2010 5:51:38 PM

swinst.WIDGET_TYPE = 3 AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tinst.TASK_ID = swinst.SESSION_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND wfvar.VAR_NAME = 'Status' AND wfvar.VERSION_NUMBER = tinst.VERSION_NUMBER AND wfvar.VERSION_NUMBER = wflow.VERSION_NUMBER AND wfvar.WORKFLOW_ID = wflow.TASK_ID AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND cnxref.REF_OBJECT_ID = 0 AND cnxref.SESSION_ID = swinst.SESSION_ID AND cnxref.SESSION_INST_ID = 0 AND cnxref.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref.VERSION_NUMBER = swinst.VERSION_NUMBER AND cnxref.VERSION_NUMBER = tsk.VERSION_NUMBER AND swinst.MAPPING_ID = winst.MAPPING_ID AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND swinst.INSTANCE_ID = winst.INSTANCE_ID AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS cnxref2 WHERE cnxref2.SESSION_ID = tinst.TASK_ID AND cnxref2.SESSION_INST_ID = tinst.INSTANCE_ID AND cnxref2.SESS_WIDG_INST_ID = swinst.SESS_WIDG_INST_ID AND cnxref2.VERSION_NUMBER = swinst.VERSION_NUMBER)

/* The query below extract all the lookups's for a session. This is designed for incremental extract based on the last saved date of the workflow/worklet and the session. ( 8x metadata does not store task instance last saved date, hence the workflow last saved date is used). Incremental extract is done if there is a change in the Source Qualifier(3) or Lookup Transformation of the sessions mapping/Mapplet. ( Note: OPB_WFLOW_VAR is used to get any task instance change. It is joined with a variable 'Status' to get a single record for a task instance. It is joined by task_instance_name because task_instance_id is not consistently store the session instance id and will be 0 in some cases. ) */ CREATE VIEW V_PC8X_TASK_INST_LKP AS SELECT tinst.INSTANCE_ID TASK_INST_ID, swinst.SESSION_ID TASK_ID, swinst.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, ( CASE WHEN swinst.MAPPLET_MAP_ID = 0 THEN swinst.MAPPING_ID ELSE swinst.MAPPLET_MAP_ID END) MAPPING_ID, swinst.INSTANCE_ID LKP_MAP_INST_ID, TO_NUMBER(BITAND(65535,swinst.INSTANCE_ID)) LKP_INST_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:303/334
Last modification: 3/12/2010 5:51:38 PM

swinst.WIDGET_ID, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", wgt.SUBJECT_ID "TGT_SUBJECT_ID" from OPB_WIDGET wgt, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_SWIDGET_INST swinst , OPB_TASK wflow WHERE swinst.widget_type = 11 AND swinst.WIDGET_ID = wgt.WIDGET_ID AND wgt.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND map.IS_VISIBLE = 1 AND swinst.SESSION_ID = tsk.TASK_ID AND swinst.VERSION_NUMBER = tsk.VERSION_NUMBER AND tsk.IS_VISIBLE = 1 AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND swinst.SESSION_ID = tinst.TASK_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND tinst.VERSION_NUMBER = wfvar.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wfvar.VAR_NAME = 'Status'

CREATE VIEW V_PC8X_TASK_INST_SP AS SELECT tinst.INSTANCE_ID TASK_INST_ID, swinst.SESSION_ID TASK_ID, swinst.VERSION_NUMBER TASK_VERS_NUM, swinst.MAPPING_ID ORIG_MAPPING_ID, ( CASE WHEN swinst.MAPPLET_MAP_ID = 0 THEN swinst.MAPPING_ID ELSE END) MAPPING_ID, swinst.INSTANCE_ID SP_MAP_INST_ID, TO_NUMBER(BITAND(65535,swinst.INSTANCE_ID)) SP_INST_ID, swinst.WIDGET_ID, TO_DATE(tsk.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') TASK_UPDATE_DT, TO_DATE(wfvar.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') ACT_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, tsk.SUBJECT_ID "TASK_SUBJECT_ID", map.SUBJECT_ID "TRFN_SUBJECT_ID", wgt.SUBJECT_ID "TGT_SUBJECT_ID" from

swinst.MAPPLET_MAP_ID

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:304/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET wgt, OPB_TASK tsk, OPB_WFLOW_VAR wfvar, OPB_TASK_INST tinst, OPB_MAPPING map, OPB_SWIDGET_INST swinst , OPB_TASK wflow WHERE swinst.widget_type = 6 AND swinst.WIDGET_ID = wgt.WIDGET_ID AND wgt.IS_VISIBLE = 1 AND swinst.MAPPING_ID = map.MAPPING_ID AND map.IS_VISIBLE = 1 AND swinst.SESSION_ID = tsk.TASK_ID AND swinst.VERSION_NUMBER = tsk.VERSION_NUMBER AND tsk.IS_VISIBLE = 1 AND wfvar.SUBJECT_ID = tsk.SUBJECT_ID AND swinst.SESSION_ID = tinst.TASK_ID AND tinst.WORKFLOW_ID = wfvar.WORKFLOW_ID AND tinst.INSTANCE_NAME = wfvar.TASK_INST_NAME AND tinst.VERSION_NUMBER = wfvar.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.TASK_TYPE IN (70,71) AND wflow.IS_VISIBLE = 1 AND wfvar.VAR_NAME = 'Status'

/* Extracts Task Instance Connection. This information is later used to derive connections for Lookup which uses variable $SOURCE ( attr_id = 7 ) and $TARGET ( attr_id = 8 ) as the lookup location values This is a full extract */

CREATE VIEW V_PC8X_SESS_CNX_VAL AS /* Session Instance level override of connection values */ SELECT tinst.INSTANCE_ID TASK_INSTANCE_ID, tinst.TASK_ID TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, tattr.ATTR_ID ATTR_ID, LTRIM(RTRIM(tattr.ATTR_VALUE)) ATTR_VALUE, wflow.SUBJECT_ID SUBJECT_ID FROM OPB_TASK_ATTR tattr, OPB_TASK_INST tinst, OPB_TASK tsk, OPB_TASK wflow WHERE tinst.WORKFLOW_ID = tattr.WORKFLOW_ID AND tinst.TASK_ID = tattr.TASK_ID AND tinst.TASK_TYPE = tattr.TASK_TYPE AND tinst.INSTANCE_ID = tattr.INSTANCE_ID AND tinst.VERSION_NUMBER = tattr.VERSION_NUMBER AND tattr.ATTR_ID in (7,8) AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:305/334
Last modification: 3/12/2010 5:51:38 PM

tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND wflow.TASK_ID = tinst.WORKFLOW_ID AND wflow.VERSION_NUMBER = tinst.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND tattr.ATTR_VALUE IS NOT NULL UNION ALL /* Session level of connection values with no override in the session instance connection*/ SELECT tinst.INSTANCE_ID, tinst.TASK_ID, tsk.VERSION_NUMBER TASK_VERS_NUM, tattr.ATTR_ID, LTRIM(RTRIM(tattr.ATTR_VALUE)) ATTR_VALUE, wflow.SUBJECT_ID SUBJECT_ID FROM OPB_TASK_ATTR tattr, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK tsk WHERE tattr.workflow_id = 0 AND tinst.TASK_ID = tattr.TASK_ID AND tinst.TASK_TYPE = tattr.TASK_TYPE AND tinst.TASK_ID = tsk.TASK_ID AND tsk.IS_VISIBLE = 1 AND tsk.VERSION_NUMBER = tattr.VERSION_NUMBER AND tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND tattr.INSTANCE_ID = 0 AND tattr.ATTR_ID in (7,8) AND NOT EXISTS ( SELECT 'X' FROM OPB_TASK_ATTR tattr1 WHERE tinst.WORKFLOW_ID = tattr1.WORKFLOW_ID AND tinst.VERSION_NUMBER = tattr1.VERSION_NUMBER AND tinst.TASK_ID = tattr1.TASK_ID AND tinst.INSTANCE_ID = tattr1.INSTANCE_ID AND tattr1.ATTR_ID in (7,8)) AND tattr.ATTR_VALUE IS NOT NULL

/* This view is used for incremental extract queries for extracting mapping. Since date conversion functions are database dependent, the below query converts date for generic incremental extract sessions. */ CREATE VIEW V_PC8X_MAPPING_INCR AS SELECT OPB_WIDGET_INST.MAPPING_ID, TO_DATE(OPB_WIDGET.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') WGT_UPDATE_DT FROM OPB_WIDGET_INST, OPB_WIDGET, OPB_MAPPING WHERE

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:306/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET.WIDGET_ID = OPB_WIDGET_INST.WIDGET_ID AND OPB_WIDGET.WIDGET_TYPE = OPB_WIDGET_INST.WIDGET_TYPE AND OPB_WIDGET.IS_VISIBLE = 1 AND OPB_MAPPING.MAPPING_ID = OPB_WIDGET_INST.MAPPING_ID AND OPB_MAPPING.VERSION_NUMBER = OPB_WIDGET_INST.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1

CREATE VIEW V_PC8X_SESSION_INCR AS SELECT OPB_WIDGET_INST.MAPPING_ID, TO_DATE(OPB_WIDGET.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') WGT_UPDATE_DT FROM OPB_WIDGET , OPB_WIDGET_INST, OPB_MAPPING WHERE OPB_WIDGET.WIDGET_ID = OPB_WIDGET_INST.WIDGET_ID AND OPB_WIDGET.WIDGET_TYPE = OPB_WIDGET_INST.WIDGET_TYPE AND OPB_WIDGET.WIDGET_TYPE IN (11,3) AND OPB_WIDGET.IS_VISIBLE = 1 AND OPB_WIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_WIDGET_INST.VERSION_NUMBER = OPB_MAPPING.VERSION_NUMBER AND OPB_MAPPING.IS_VISIBLE = 1 UNION ALL SELECT winst1.MAPPING_ID, TO_DATE(wgt1.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') WGT_UPDATE_DT FROM OPB_WIDGET wgt1 , OPB_MAPPING map1, OPB_WIDGET_INST winst2, OPB_WIDGET_INST winst1, OPB_MAPPING map WHERE winst1.WIDGET_TYPE = 44 AND winst1.MAPPING_ID = map.MAPPING_ID AND winst1.VERSION_NUMBER = map.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND winst1.WIDGET_ID = map1.REF_WIDGET_ID AND winst2.MAPPING_ID = map1.MAPPING_ID AND winst2.VERSION_NUMBER = map1.VERSION_NUMBER AND map1.IS_VISIBLE = 1 AND wgt1.WIDGET_ID = winst2.WIDGET_ID AND wgt1.WIDGET_TYPE = winst2.WIDGET_TYPE AND wgt1.IS_VISIBLE = 1 AND winst2.WIDGET_TYPE IN (3,11)

/* This view is used to extract expressions and unconnected transformations ( which has return ports). The result data is an input to the expression parser. The transformation type for unconnected transformation is 1 and connected transformation with expressions is 2. For 8x, only rank, aggregator and expression transformation can have expressions ( type 2 ). Lookup, External procedure and stored procedure are the
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:307/334
Last modification: 3/12/2010 5:51:38 PM

possible unconnected transformations ( type 1). The mapping with parser expects the data in sorted order by mapping id and transformation type. Both view V_PC8x_EXPR_PARSE_1 and V_PC8x_EXPR_PARSE_2 are designed for incremental extract such that any changes in any of the widgets of the mapping will be extracted. Please see the sql override for S_M_PC8x_EXPR_PARSER for incremental extract code. */ CREATE VIEW V_PC8X_EXPR_PARSE AS SELECT winst.MAPPING_ID MAPPING_ID, map.VERSION_NUMBER MAPPING_VERS_NUM, otype.OBJECT_TYPE_NAME WIDGET_TYPE, winst.WIDGET_ID WIDGET_ID, widg.VERSION_NUMBER WIDGET_VERS_NUM, winst.INSTANCE_ID INSTANCE_ID, winst.INSTANCE_NAME INSTANCE_NAME, wdgtfld.FIELD_ID FIELD_ID, wdgtfld.FIELD_NAME FIELD_NAME, expr.EXPRESSION EXPR, 2 TRANSFORMATION_TYPE, (CASE WHEN expr.LINE_NO IS NULL THEN 1 ELSE expr.LINE_NO END ) map.REF_WIDGET_ID REF_WIDGET_ID, 'PC_'||repo.REPOSIT_NAME REPOSITORY_ID, TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, map.SUBJECT_ID "TRFN_SUBJECT_ID", widg.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_REPOSIT repo, OPB_OBJECT_TYPE otype, OPB_MAPPING map, OPB_EXPRESSION expr, OPB_WIDGET_EXPR wexpr, OPB_WIDGET_FIELD wdgtfld, OPB_WIDGET_INST winst, OPB_WIDGET widg WHERE repo.RECID = 1 AND winst.WIDGET_TYPE IN (9,26,5) AND winst.widget_id = wexpr.WIDGET_ID AND wdgtfld.FIELD_ID = wexpr.OUTPUT_FIELD_ID AND wdgtfld.VERSION_NUMBER = wexpr.VERSION_NUMBER AND wexpr.EXPR_ID = expr.EXPR_ID(+) and wexpr.VERSION_NUMBER = expr.VERSION_NUMBER (+) AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND wdgtfld.WIDGET_ID = winst.WIDGET_ID AND wdgtfld.WIDGET_ID = widg.WIDGET_ID AND wdgtfld.VERSION_NUMBER = widg.VERSION_NUMBER AND widg.IS_VISIBLE = 1 AND wdgtfld.PORTTYPE IN ( 2, 32) AND otype.OBJECT_TYPE_ID = winst.WIDGET_TYPE

LINE_NUM,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:308/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL SELECT winst.MAPPING_ID MAPPING_ID, map.VERSION_NUMBER MAPPING_VERS_NUM, otype.OBJECT_TYPE_NAME WIDGET_TYPE, winst.WIDGET_ID WIDGET_ID, widg.VERSION_NUMBER WIDGET_VERS_NUM, winst.INSTANCE_ID INSTANCE_ID, winst.INSTANCE_NAME INSTANCE_NAME, wdgtfld.FIELD_ID FIELD_ID, wdgtfld.FIELD_NAME FIELD_NAME, NULL EXPR, CASE WHEN winst.WIDGET_TYPE IN ( 11,6,8) THEN 1 ELSE 2 END TRANSFORMATION_TYPE, 1 LINE_NUM, map.REF_WIDGET_ID REF_WIDGET_ID, 'PC_'||repo.REPOSIT_NAME REPOSITORY_ID, TO_DATE(map.LAST_SAVED,'MM/DD/YYYY HH24:MI:SS') MAP_UPDATE_DT, TO_DATE(NULL) EFF_FROM_DT, TO_DATE(NULL) EFF_TO_DT, map.SUBJECT_ID "TRFN_SUBJECT_ID", widg.SUBJECT_ID "TGT_SUBJECT_ID" FROM OPB_REPOSIT repo, OPB_OBJECT_TYPE otype, OPB_WIDGET_FIELD wdgtfld, OPB_MAPPING map, OPB_WIDGET_INST winst, OPB_WIDGET widg WHERE repo.RECID = 1 AND ((winst.WIDGET_TYPE IN (11, 6, 8) AND wdgtfld.PORTTYPE IN ( 6,7,14)) OR (winst.WIDGET_TYPE IN (9,26,5) AND wdgtfld.PORTTYPE NOT IN (2,32))) AND map.MAPPING_ID = winst.MAPPING_ID AND map.VERSION_NUMBER = winst.VERSION_NUMBER AND map.IS_VISIBLE = 1 AND wdgtfld.WIDGET_ID = winst.WIDGET_ID AND wdgtfld.WIDGET_ID = widg.WIDGET_ID AND wdgtfld.VERSION_NUMBER = widg.VERSION_NUMBER AND widg.IS_VISIBLE = 1 AND otype.OBJECT_TYPE_ID = winst.WIDGET_TYPE

/* View that extracts source file type for a session instance. This is used in the lookup in the flatfile lineage stage mappings */ CREATE VIEW V_PC8X_FILE_TYPE AS select (CASE WHEN ATTR_VALUE = '0' THEN 'Direct' ELSE 'Indirect' END) SRC_FILE_TYPE , OPB_SESS_FILE_REF.FILE_ID, OPB_TASK_INST.INSTANCE_ID, OPB_EXTN_ATTR.PARTITION_ID from OPB_EXTN_ATTR, OPB_SESS_FILE_REF, OPB_TASK_INST, OPB_TASK where

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:309/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK.TASK_ID = OPB_EXTN_ATTR.SESSION_ID AND OPB_TASK.IS_VISIBLE = 1 AND OPB_EXTN_ATTR.SESSION_INST_ID = 0 AND OPB_TASK.VERSION_NUMBER = OPB_EXTN_ATTR.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESSION_ID = OPB_EXTN_ATTR.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER = OPB_EXTN_ATTR.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_EXTN_ATTR.SESS_WIDG_INST_ID AND OPB_EXTN_ATTR.OBJECT_TYPE IN (78,103) AND OPB_EXTN_ATTR.ATTR_ID = 3 AND OPB_TASK.TASK_ID = OPB_TASK_INST.TASK_ID AND EXISTS ( SELECT 'X' FROM OPB_TASK WFLOW where OPB_TASK_INST.WORKFLOW_ID = WFLOW.TASK_ID AND WFLOW.IS_VISIBLE = 1 AND WFLOW.VERSION_NUMBER = OPB_TASK_INST.VERSION_NUMBER ) AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR A WHERE A.SESSION_INST_ID = OPB_TASK_INST.INSTANCE_ID AND A.VERSION_NUMBER = OPB_TASK_INST.VERSION_NUMBER AND A.OBJECT_TYPE IN (78,103) AND A.ATTR_ID = 3 AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = A.SESS_WIDG_INST_ID) UNION ALL SELECT (CASE WHEN ATTR_VALUE = '0' THEN 'Direct' ELSE 'Indirect' END ) SRC_FILE_TYPE, OPB_SESS_FILE_REF.FILE_ID, OPB_TASK_INST.INSTANCE_ID, OPB_EXTN_ATTR.PARTITION_ID from OPB_EXTN_ATTR, OPB_SESS_FILE_REF, OPB_TASK_INST, OPB_TASK where OPB_TASK.TASK_ID = OPB_EXTN_ATTR.SESSION_ID AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID = OPB_EXTN_ATTR.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER = OPB_EXTN_ATTR.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_EXTN_ATTR.SESS_WIDG_INST_ID AND OPB_EXTN_ATTR.OBJECT_TYPE IN (78,103) AND OPB_EXTN_ATTR.ATTR_ID = 3 AND OPB_EXTN_ATTR.SESSION_INST_ID = OPB_TASK_INST.INSTANCE_ID AND OPB_TASK_INST.VERSION_NUMBER = OPB_EXTN_ATTR.VERSION_NUMBER

/* View to extract all file objects ( flatfile, XML and VSAM ). Used in the flatfile lineage stage mappings */ CREATE VIEW V_PC8X_FF_OBJECTS AS -- XML src SELECT tinst.INSTANCE_ID TASK_INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, mtype.DBTYPE_NAME "DB_TYPE",

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:310/334
Last modification: 3/12/2010 5:51:38 PM

xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_DBD dbd, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_SRC src WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = src.SRC_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 1 AND dbd.DBDID = src.DBDID AND src.IS_VISIBLE = 1 AND dbd.VERSION_NUMBER = src.VERSION_NUMBER AND mtype.DBTYPE_ID = dbd.DBTYPE and dbd.DBTYPE IN (0,7,12) AND xattr.SESSION_INST_ID = 0 AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 78 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = 0 AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 78 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.OBJECT_TYPE = 78 AND xattr.PARTITION_ID = xattr3.PARTITION_ID AND xattr3.ATTR_ID in (1,2)) AND xattr2.ATTR_VALUE IS NOT NULL

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:311/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL -- overiden source file name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, mtype.DBTYPE_NAME "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_DBD dbd, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_SRC src WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = src.SRC_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 1 AND dbd.DBDID = src.DBDID AND src.IS_VISIBLE = 1 AND dbd.VERSION_NUMBER = src.VERSION_NUMBER AND mtype.DBTYPE_ID = dbd.DBTYPE and dbd.DBTYPE IN (0,7,12) AND xattr.SESSION_INST_ID = 0 AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 78 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = tinst.INSTANCE_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:312/334
Last modification: 3/12/2010 5:51:38 PM

xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 78 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.PARTITION_ID = xattr.PARTITION_ID AND xattr3.OBJECT_TYPE = 78 AND xattr3.ATTR_ID in (1)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- overiden source directory name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, mtype.DBTYPE_NAME "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_DBD dbd, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_SRC src WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = src.SRC_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:313/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SWIDGET_INST.WIDGET_TYPE = 1 AND dbd.DBDID = src.DBDID AND src.IS_VISIBLE = 1 AND dbd.VERSION_NUMBER = src.VERSION_NUMBER AND mtype.DBTYPE_ID = dbd.DBTYPE and dbd.DBTYPE IN (0,7,12) AND xattr.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 78 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = 0 AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 78 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.PARTITION_ID = xattr.PARTITION_ID AND xattr3.OBJECT_TYPE = 78 AND xattr3.ATTR_ID in (2)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- overiden source file name and directory name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, mtype.DBTYPE_NAME "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_DBD dbd, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_SRC src

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:314/334
Last modification: 3/12/2010 5:51:38 PM

WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = src.SRC_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 1 AND dbd.DBDID = src.DBDID AND src.IS_VISIBLE = 1 AND dbd.VERSION_NUMBER = src.VERSION_NUMBER AND mtype.DBTYPE_ID = dbd.DBTYPE and dbd.DBTYPE IN (0,7,12) AND xattr.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 78 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 78 AND xattr2.ATTR_ID = 2 AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- XML targets -- no overrides SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, (CASE WHEN tgt.DBTYPE = 12 THEN 'XML' ELSE 'Flat File' END) "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:315/334
Last modification: 3/12/2010 5:51:38 PM

OPB_TASK task, OPB_TASK wflow, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_TARG tgt WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = tgt.TARGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 2 AND tgt.IS_VISIBLE = 1 AND tgt.DBTYPE = mtype.DBTYPE_ID AND xattr.SESSION_INST_ID = 0 AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 79 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = 0 AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 79 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.OBJECT_TYPE = 79 AND xattr3.ATTR_ID in (1,2)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- XML targets -- override directory name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:316/334
Last modification: 3/12/2010 5:51:38 PM

OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, (CASE WHEN tgt.DBTYPE = 12 THEN 'XML' ELSE 'Flat File' END) "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK task, OPB_TASK wflow, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_TARG tgt WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = tgt.TARGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 2 AND tgt.IS_VISIBLE = 1 AND tgt.DBTYPE = mtype.DBTYPE_ID AND xattr.SESSION_INST_ID = 0 AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 79 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 79 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.OBJECT_TYPE = 79 AND xattr3.ATTR_ID in (1)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- XML targets

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:317/334
Last modification: 3/12/2010 5:51:38 PM

-- override file name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, (CASE WHEN tgt.DBTYPE = 12 THEN 'XML' ELSE 'Flat File' END) "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK task, OPB_TASK wflow, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_TARG tgt WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = tgt.TARGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 2 AND tgt.IS_VISIBLE = 1 AND tgt.DBTYPE = mtype.DBTYPE_ID AND xattr.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 79 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = 0 AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 79 AND xattr2.ATTR_ID = 2 AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:318/334
Last modification: 3/12/2010 5:51:38 PM

NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.OBJECT_TYPE = 79 AND xattr3.ATTR_ID in (2)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- XML targets -- override file and directory name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, (CASE WHEN tgt.DBTYPE = 12 THEN 'XML' ELSE 'Flat File' END) "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK task, OPB_TASK wflow, OPB_MMD_DBTYPE mtype , OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_TARG tgt WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = tgt.TARGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 2 AND tgt.IS_VISIBLE = 1 AND tgt.DBTYPE = mtype.DBTYPE_ID AND xattr.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = tinst.VERSION_NUMBER AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:319/334
Last modification: 3/12/2010 5:51:38 PM

xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 79 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 79 AND xattr2.ATTR_ID = 2 AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- Lookup src SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, 'Flat File' "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_WIDGET wgt, OPB_WIDGET_ATTR wattr WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = wgt.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = wgt.WIDGET_TYPE AND OPB_SWIDGET_INST.WIDGET_TYPE = 11 AND wgt.IS_VISIBLE = 1 AND wattr.WIDGET_ID = wgt.WIDGET_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:320/334
Last modification: 3/12/2010 5:51:38 PM

wattr.VERSION_NUMBER = wgt.VERSION_NUMBER AND wattr.ATTR_ID = 7 AND wattr.ATTR_VALUE = '2' AND xattr.SESSION_INST_ID = 0 AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 103 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = 0 AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 103 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.PARTITION_ID = xattr2.PARTITION_ID AND xattr3.OBJECT_TYPE = 103 AND xattr3.ATTR_ID in (1,2)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- flatfile lookup with overiden source file name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, 'Flat File' "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_WIDGET wgt, OPB_WIDGET_ATTR wattr WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:321/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = wgt.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = wgt.WIDGET_TYPE AND OPB_SWIDGET_INST.WIDGET_TYPE = 11 AND wgt.IS_VISIBLE = 1 AND wattr.WIDGET_ID = wgt.WIDGET_ID AND wattr.VERSION_NUMBER = wgt.VERSION_NUMBER AND wattr.ATTR_ID = 7 AND wattr.ATTR_VALUE = '2' AND xattr.SESSION_INST_ID = 0 AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr.OBJECT_TYPE = 103 AND xattr.ATTR_ID = 1 AND xattr2.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 103 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.PARTITION_ID = xattr2.PARTITION_ID AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.OBJECT_TYPE = 103 AND xattr3.ATTR_ID in (1)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- flatfile lookup with overiden source directory name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID, xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, 'Flat File' "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST ,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:322/334
Last modification: 3/12/2010 5:51:38 PM

OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_WIDGET wgt, OPB_WIDGET_ATTR wattr WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = wgt.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = wgt.WIDGET_TYPE AND OPB_SWIDGET_INST.WIDGET_TYPE = 11 AND wgt.IS_VISIBLE = 1 AND wattr.WIDGET_ID = wgt.WIDGET_ID AND wattr.VERSION_NUMBER = wgt.VERSION_NUMBER AND wattr.ATTR_ID = 7 AND wattr.ATTR_VALUE = '2' AND xattr.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 103 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = 0 AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 103 AND xattr2.ATTR_ID = 2 AND NOT EXISTS ( SELECT 'X' FROM OPB_EXTN_ATTR xattr3 WHERE xattr3.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr3.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr3.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr3.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr3.OBJECT_TYPE = 103 AND xattr3.PARTITION_ID = xattr2.PARTITION_ID AND xattr3.ATTR_ID in (2)) AND xattr2.ATTR_VALUE IS NOT NULL UNION ALL -- flatfile lookup with overiden source file name and directory name SELECT tinst.INSTANCE_ID, OPB_SESS_FILE_REF.SESS_WIDG_INST_ID, OPB_SESS_FILE_REF.FILE_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:323/334
Last modification: 3/12/2010 5:51:38 PM

xattr2.ATTR_VALUE FILE_NAME, xattr.ATTR_VALUE DIR_NAME, OPB_SWIDGET_INST.MAPPING_ID, OPB_SWIDGET_INST.MAPPLET_MAP_ID, OPB_SWIDGET_INST.WIDGET_ID, OPB_SWIDGET_INST.WIDGET_TYPE, CAST(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID) AS INTEGER) WIDGET_INST_ID, 'Flat File' "DB_TYPE", xattr.PARTITION_ID, task.SUBJECT_ID FROM OPB_SESS_FILE_REF, OPB_SWIDGET_INST , OPB_MAPPING, OPB_TASK_INST tinst, OPB_TASK wflow, OPB_TASK task, OPB_EXTN_ATTR xattr, OPB_EXTN_ATTR xattr2, OPB_WIDGET wgt, OPB_WIDGET_ATTR wattr WHERE tinst.WORKFLOW_ID = wflow.TASK_ID AND tinst.VERSION_NUMBER = wflow.VERSION_NUMBER AND wflow.IS_VISIBLE = 1 AND OPB_SWIDGET_INST.MAPPING_ID = OPB_MAPPING.MAPPING_ID AND OPB_MAPPING.IS_VISIBLE = 1 AND tinst.TASK_ID = OPB_SESS_FILE_REF.SESSION_ID AND task.TASK_ID =OPB_SWIDGET_INST.SESSION_ID AND task.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND task.IS_VISIBLE = 1 AND OPB_SESS_FILE_REF.SESSION_ID =OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.VERSION_NUMBER =OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_ID = wgt.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = wgt.WIDGET_TYPE AND OPB_SWIDGET_INST.WIDGET_TYPE = 11 AND wgt.IS_VISIBLE = 1 AND wattr.WIDGET_ID = wgt.WIDGET_ID AND wattr.VERSION_NUMBER = wgt.VERSION_NUMBER AND wattr.ATTR_ID = 7 AND wattr.ATTR_VALUE = '2' AND xattr.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr.OBJECT_TYPE = 103 AND xattr.ATTR_ID = 1 AND xattr.PARTITION_ID = xattr2.PARTITION_ID AND xattr2.SESSION_INST_ID = tinst.INSTANCE_ID AND xattr2.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND xattr2.VERSION_NUMBER = tinst.VERSION_NUMBER AND xattr2.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND xattr2.OBJECT_TYPE = 103 AND xattr2.ATTR_ID = 2 AND xattr2.ATTR_VALUE IS NOT NULL

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:324/334
Last modification: 3/12/2010 5:51:38 PM

/* View to extract ftp connection for a flat file source */ CREATE VIEW V_PC8X_FF_FTP_CONN AS SELECT OPB_CNX.OBJECT_NAME, OPB_TASK_INST.INSTANCE_ID, OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID, OPB_SESS_CNX_REFS.PARTITION_ID FROM OPB_TASK, OPB_SESS_CNX_REFS, OPB_CNX, OPB_TASK_INST WHERE OPB_SESS_CNX_REFS.SESSION_ID = OPB_TASK.TASK_ID AND OPB_SESS_CNX_REFS.VERSION_NUMBER = OPB_TASK.VERSION_NUMBER AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SESS_CNX_REFS.SESSION_ID =OPB_TASK_INST.TASK_ID AND OPB_SESS_CNX_REFS.REF_OBJECT_ID = OPB_CNX.OBJECT_ID AND OPB_SESS_CNX_REFS.SESSION_INST_ID = 0 AND OPB_CNX.OBJECT_TYPE = 75 AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS A WHERE A.SESSION_INST_ID = OPB_TASK_INST.INSTANCE_ID AND A.SESS_WIDG_INST_ID = OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID AND A.PARTITION_ID = OPB_SESS_CNX_REFS.PARTITION_ID AND A.VERSION_NUMBER = OPB_TASK_INST.VERSION_NUMBER ) UNION ALL SELECT OPB_CNX.OBJECT_NAME, OPB_TASK_INST.INSTANCE_ID, OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID, OPB_SESS_CNX_REFS.PARTITION_ID from OPB_TASK, OPB_SESS_CNX_REFS, OPB_CNX, OPB_TASK_INST WHERE OPB_SESS_CNX_REFS.SESSION_ID = OPB_TASK.TASK_ID AND OPB_TASK.IS_VISIBLE = 1 AND OPB_SESS_CNX_REFS.SESSION_INST_ID =OPB_TASK_INST.INSTANCE_ID AND OPB_SESS_CNX_REFS.REF_OBJECT_ID = OPB_CNX.OBJECT_ID AND OPB_CNX.OBJECT_TYPE = 75

CREATE VIEW V_PC8X_FF_FIELDS AS SELECT src.SRC_ID WIDGET_ID, src.VERSION_NUMBER, srcfld.FLDID, srcfld.SRC_NAME FIELD_NAME, srcfld.FLDNO FIELD_ORDER, picdsc.SRC_PREC, picdsc.SRC_SCALE , (select MIN(DTYPE_NAME) from REP_FLD_DATATYPE dtype where (( picdsc.SRC_TYPE = dtype.DTYPE_NUM) OR (picdsc.SRC_NTYPE = dtype.DTYPE_NUM))) DTYPE_NAME,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:325/334
Last modification: 3/12/2010 5:51:38 PM

picdsc.SRC_NTYPE DTYPE_NUM, 1 WIDGET_TYPE, src.SUBJ_ID SUBJECT_ID FROM OPB_SRC src, OPB_SRC_FLD srcfld, OPB_DBD dbd, OPB_PICDSC picdsc WHERE src.SRC_ID = srcfld.SRC_ID AND src.VERSION_NUMBER = srcfld.VERSION_NUMBER AND src.IS_VISIBLE = 1 AND srcfld.PICID = picdsc.PICID AND dbd.DBDID = src.DBDID AND dbd.VERSION_NUMBER=src.VERSION_NUMBER AND dbd.DBTYPE NOT IN (12, 0) AND srcfld.VERSION_NUMBER = picdsc.VERSION_NUMBER AND exists ( SELECT 'X' FROM OPB_SESS_FILE_REF , OPB_SWIDGET_INST WHERE OPB_SESS_FILE_REF.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND src.SRC_ID = OPB_SWIDGET_INST.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 1 ) UNION ALL SELECT targ.TARGET_ID WIDGET_ID, targ.VERSION_NUMBER, targfld.FLDID, targfld.TARGET_NAME FIELD_NAME, targfld.FLDNO FIELD_ORDER, targfld.DPREC FIELD_PREC , targfld.DSCALE FIELD_SCALE , (select MIN(DTYPE_NAME) from REP_FLD_DATATYPE dtype where (( targfld.DTYPE = dtype.DTYPE_NUM) OR (targfld.NDTYPE = dtype.DTYPE_NUM))) DTYPE_NAME, targfld.DTYPE DTYPE_NUM, 2 WIDGET_TYPE , targ.SUBJ_ID SUBJECT_ID FROM OPB_TARG targ, OPB_TARG_FLD targfld WHERE targ.TARGET_ID = targfld.TARGET_ID AND targ.VERSION_NUMBER = targfld.VERSION_NUMBER AND targ.IS_VISIBLE = 1 AND targ.DBTYPE != 12 AND EXISTS ( SELECT 'X' FROM OPB_SESS_FILE_REF , OPB_SWIDGET_INST WHERE OPB_SESS_FILE_REF.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND targ.TARGET_ID = OPB_SWIDGET_INST.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 2 ) UNION ALL SELECT wgt.WIDGET_ID, wgt.VERSION_NUMBER, wfld.FIELD_ID FLDID, wfld.FIELD_NAME FIELD_NAME, wfld.FIELD_ORDER FIELD_ORDER, wfld.WGT_PREC FIELD_PREC , wfld.WGT_SCALE FIELD_SCALE ,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:326/334
Last modification: 3/12/2010 5:51:38 PM

dtype.DTYPE_NAME FIELD_DATA_TYPE, dtype.DTYPE_NUM FIELD_DTYPE_NUM, 11 WIDGET_TYPE, wgt.SUBJECT_ID SUBJECT_ID FROM OPB_WIDGET wgt, OPB_WIDGET_FIELD wfld, REP_FLD_DATATYPE dtype, OPB_WIDGET_ATTR wattr WHERE wgt.WIDGET_ID = wfld.WIDGET_ID AND wgt.VERSION_NUMBER = wfld.VERSION_NUMBER AND wgt.IS_VISIBLE = 1 AND wgt.WIDGET_TYPE = 11 AND wfld.WGT_DATATYPE = dtype.DTYPE_NUM AND wattr.WIDGET_ID = wgt.WIDGET_ID AND wattr.WIDGET_TYPE = wgt.WIDGET_TYPE AND wattr.VERSION_NUMBER = wgt.VERSION_NUMBER AND wattr.ATTR_ID = 7 AND wattr.ATTR_VALUE = '2' AND EXISTS ( SELECT 'X' FROM OPB_SESS_FILE_REF , OPB_SWIDGET_INST WHERE OPB_SESS_FILE_REF.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_FILE_REF.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND wgt.WIDGET_ID = OPB_SWIDGET_INST.WIDGET_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = wgt.WIDGET_TYPE ) AND wfld.PORTTYPE IN ( 8,10,14,2050)

CREATE VIEW V_PC8X_LKP_SESS_INST_CNX AS SELECT OPB_SESS_CNX_REFS.SESSION_INST_ID "SESSION_INST_ID", OPB_SESS_CNX_REFS.SESSION_ID "SESSION_ID", OPB_SWIDGET_INST.VERSION_NUMBER "VERSION_NUMBER", OPB_SWIDGET_INST.MAPPING_ID "ORIG_MAPPING_ID", ( CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID = 0 THEN OPB_SWIDGET_INST.MAPPING_ID ELSE OPB_SWIDGET_INST.MAPPLET_MAP_ID END) "MAPPING_ID", OPB_SWIDGET_INST.INSTANCE_ID "MAP_INSTANCE_ID", TO_NUMBER(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID)) "INSTANCE_ID", OPB_SWIDGET_INST.WIDGET_ID "WIDGET_ID", OPB_SESS_CNX_REFS.REF_OBJECT_VALUE "REF_OBJECT_VALUE", OPB_SESS_CNX_REFS.REF_OBJECT_ID "REF_OBJECT_ID", OPB_WIDGET.SUBJECT_ID "SUBJECT_ID" FROM OPB_SESS_CNX_REFS, OPB_TASK WFLOW, OPB_TASK SESS, OPB_SWIDGET_INST,OPB_WIDGET WHERE OPB_SESS_CNX_REFS.SESSION_INST_ID != 0 AND WFLOW.TASK_ID = OPB_SESS_CNX_REFS.WORKFLOW_ID AND WFLOW.VERSION_NUMBER = OPB_SESS_CNX_REFS.VERSION_NUMBER AND WFLOW.IS_VISIBLE = 1 AND SESS.TASK_ID = OPB_SWIDGET_INST.SESSION_ID AND SESS.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND SESS.IS_VISIBLE = 1 AND OPB_SESS_CNX_REFS.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 11 AND OPB_SWIDGET_INST.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND OPB_WIDGET.IS_VISIBLE = 1

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:327/334
Last modification: 3/12/2010 5:51:38 PM

UNION ALL SELECT TINST.INSTANCE_ID "SESSION_INST_ID", OPB_SESS_CNX_REFS.SESSION_ID "SESSION_ID", OPB_SWIDGET_INST.VERSION_NUMBER "VERSION_NUMBER", OPB_SWIDGET_INST.MAPPING_ID "ORIG_MAPPING_ID", ( CASE WHEN OPB_SWIDGET_INST.MAPPLET_MAP_ID = 0 THEN OPB_SWIDGET_INST.MAPPING_ID ELSE OPB_SWIDGET_INST.MAPPLET_MAP_ID END) "MAPPING_ID", OPB_SWIDGET_INST.INSTANCE_ID "MAP_INSTANCE_ID", TO_NUMBER(BITAND(65535,OPB_SWIDGET_INST.INSTANCE_ID)) "INSTANCE_ID", OPB_SWIDGET_INST.WIDGET_ID "WIDGET_ID", OPB_SESS_CNX_REFS.REF_OBJECT_VALUE "REF_OBJECT_VALUE", OPB_SESS_CNX_REFS.REF_OBJECT_ID "REF_OBJECT_ID", OPB_WIDGET.SUBJECT_ID "SUBJECT_ID" FROM OPB_SESS_CNX_REFS, OPB_TASK WFLOW, OPB_TASK_INST TINST , OPB_TASK SESS, OPB_SWIDGET_INST,OPB_WIDGET WHERE OPB_SESS_CNX_REFS.SESSION_INST_ID = 0 AND OPB_SESS_CNX_REFS.WORKFLOW_ID = 0 AND SESS.TASK_ID = OPB_SWIDGET_INST.SESSION_ID AND SESS.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND SESS.IS_VISIBLE = 1 AND SESS.TASK_ID = TINST.TASK_ID AND WFLOW.TASK_ID = TINST.WORKFLOW_ID AND WFLOW.VERSION_NUMBER = TINST.VERSION_NUMBER AND WFLOW.IS_VISIBLE = 1 AND OPB_SESS_CNX_REFS.VERSION_NUMBER = OPB_SWIDGET_INST.VERSION_NUMBER AND OPB_SESS_CNX_REFS.SESSION_ID = OPB_SWIDGET_INST.SESSION_ID AND OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID = OPB_SWIDGET_INST.SESS_WIDG_INST_ID AND OPB_SWIDGET_INST.WIDGET_TYPE = 11 AND OPB_SWIDGET_INST.WIDGET_ID = OPB_WIDGET.WIDGET_ID AND OPB_WIDGET.IS_VISIBLE = 1 AND NOT EXISTS ( SELECT 'X' FROM OPB_SESS_CNX_REFS B WHERE B.SESSION_INST_ID = TINST.INSTANCE_ID AND B.SESSION_ID = OPB_SESS_CNX_REFS.SESSION_ID AND B.SESS_WIDG_INST_ID = OPB_SESS_CNX_REFS.SESS_WIDG_INST_ID )

CREATE VIEW V_LKP_FLDS_IN_COND_EXTRACT (WIDGET_ID,FIELD_NAME,FIELD_ID,MAPPING_ID, REF_WIDGET_ID,MAP_INSTANCE_ID, EXPRESSION,MAP_UPDATE_DATE,WIDGET_UPDATE_DATE,SUBJECT_ID) AS SELECT wdgt.WIDGET_ID "WIDGET_ID", wdgtfld.FIELD_NAME "FIELD_NAME", wdgtfld.FIELD_ID "FIELD_ID", map.MAPPING_ID "MAPPING_ID", map.REF_WIDGET_ID "REF_WIDGET_ID", wdgtattr.INSTANCE_ID "MAP_INSTANCE_ID", wdgtattr.ATTR_VALUE "EXPRESSION", TO_DATE(map.LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "MAP_UPDATE_DATE", TO_DATE(wdgt.LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "WIDGET_UPDATE_DATE", wdgt.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdgt, OPB_WIDGET_FIELD wdgtfld, OPB_WIDGET_ATTR wdgtattr,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:328/334
Last modification: 3/12/2010 5:51:38 PM

OPB_WIDGET_INST wdgtinst, OPB_MAPPING map WHERE wdgt.WIDGET_ID = wdgtfld.WIDGET_ID AND wdgt.WIDGET_ID = wdgtattr.WIDGET_ID AND wdgtattr.ATTR_ID = 5 AND wdgtattr.MAPPING_ID = wdgtinst.MAPPING_ID AND wdgtattr.INSTANCE_ID = wdgtinst.INSTANCE_ID AND wdgtattr.VERSION_NUMBER = wdgtinst.VERSION_NUMBER AND map.VERSION_NUMBER = wdgtinst.VERSION_NUMBER AND wdgt.VERSION_NUMBER = wdgtfld.VERSION_NUMBER AND wdgtinst.MAPPING_ID = map.MAPPING_ID AND wdgt.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND wdgtattr.LINE_NO=1 AND wdgt.WIDGET_TYPE=11 AND wdgtfld.PORTTYPE IN(1,3,7) UNION ALL SELECT wdgt.WIDGET_ID "WIDGET_ID", wdgtfld.FIELD_NAME "FIELD_NAME", wdgtfld.FIELD_ID "FIELD_ID", map.MAPPING_ID "MAPPING_ID", map.REF_WIDGET_ID "REF_WIDGET_ID", wdgtinst.INSTANCE_ID "MAP_INSTANCE_ID", wdgtattr.ATTR_VALUE "EXPRESSION", TO_DATE(map.LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "MAP_UPDATE_DATE", TO_DATE(wdgt.LAST_SAVED,'mm/dd/yyyy, HH24:MI:SS') "WIDGET_UPDATE_DATE", wdgt.SUBJECT_ID "SUBJECT_ID" FROM OPB_WIDGET wdgt, OPB_WIDGET_FIELD wdgtfld, OPB_WIDGET_ATTR wdgtattr, OPB_MAPPING map, OPB_WIDGET_INST wdgtinst WHERE wdgtinst.MAPPING_ID = map.MAPPING_ID AND wdgtinst.WIDGET_ID = wdgt.WIDGET_ID AND wdgt.WIDGET_ID = wdgtfld.WIDGET_ID AND wdgt.WIDGET_ID = wdgtattr.WIDGET_ID AND wdgt.IS_VISIBLE = 1 AND map.IS_VISIBLE = 1 AND wdgt.VERSION_NUMBER = wdgtattr.VERSION_NUMBER AND wdgtinst.VERSION_NUMBER = map.VERSION_NUMBER AND wdgt.VERSION_NUMBER = wdgtfld.VERSION_NUMBER AND wdgtattr.ATTR_ID = 5 AND wdgtattr.MAPPING_ID = 0 AND wdgt.WIDGET_TYPE=11 AND wdgtattr.LINE_NO=1 AND NOT EXISTS (SELECT 'X' FROM OPB_WIDGET_ATTR wdgtattr1 WHERE wdgtattr1.WIDGET_ID = wdgt.WIDGET_ID AND wdgtattr1.MAPPING_ID=map.MAPPING_ID AND wdgtinst.INSTANCE_ID=wdgtattr1.INSTANCE_ID AND wdgtattr1.ATTR_ID=wdgtattr.ATTR_ID) AND wdgtfld.PORTTYPE IN(1,3,7)

CREATE UNIQUE INDEX OPB_DBD_IDX ON OPB_DBD(DBDID, VERSION_NUMBER)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:329/334
Last modification: 3/12/2010 5:51:38 PM

CREATE UNIQUE INDEX OPB_TARGINDEX_IDX ON OPB_TARGINDEX(INDEXID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_TINDEXFLD_IDX ON OPB_TARGINDEXFLD(FLDID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_PICDSC_IDX ON OPB_PICDSC(PICID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_SRC_FLD_IDX ON OPB_SRC_FLD(FLDID, VERSION_NUMBER) CREATE INDEX OPB_SRC_FLD_IDX1 ON OPB_SRC_FLD(SRC_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_SRC_IDX ON OPB_SRC(SRC_ID, VERSION_NUMBER) CREATE INDEX OPB_SRC_IDX1 ON OPB_SRC(SUBJ_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_SELINFO_IDX ON OPB_SELINFO(SELID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_TARG_IDX ON OPB_TARG(TARGET_ID, VERSION_NUMBER) CREATE INDEX OPB_TARG_IDX1 ON OPB_TARG(SUBJ_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_TARG_FLD_IDX ON OPB_TARG_FLD(FLDID, VERSION_NUMBER) CREATE INDEX OPB_TARG_FLD_IDX1 ON OPB_TARG_FLD(TARGET_ID, VERSION_NUMBER) CREATE INDEX OPB_TARG_FLD_IDX2 ON OPB_TARG_FLD(DFLDID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_RTSEQ_IDX ON OPB_RTSEQ(SEQNAME) CREATE UNIQUE INDEX OPB_MAPPING_IDX ON OPB_MAPPING(MAPPING_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_EXPR_IDX ON OPB_EXPRESSION(EXPR_ID, LINE_NO, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_WIDGET_IDX ON OPB_WIDGET(WIDGET_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_REP_IDX ON OPB_REPOSIT_INFO(REPOSITORY_ID) CREATE UNIQUE INDEX OPB_USER_IDX ON OPB_USERS(USER_ID) CREATE UNIQUE INDEX OPB_GROUP_IDX ON OPB_GROUPS(GROUP_ID) CREATE UNIQUE INDEX OPB_SERV_IDX ON OPB_SERVER_INFO(SERVER_ID) CREATE UNIQUE INDEX OPB_DIM_LEVEL ON OPB_MD_LEVEL(DIMENSION_ID, LEVEL_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_HIERARCHY_IDX ON OPB_MD_HIERARCHY(DIMENSION_ID, HIERARCHY_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_FACT_IDX ON OPB_MD_FACT(CUBE_ID, FACT_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_BCF_TREE_IDX ON OPB_BCF_TREE(BCFNODE_ID) CREATE UNIQUE INDEX OPB_BCFBCOMPS_IDX ON OPB_BCF_BUSCOMPS(BUSCOMP_ID) CREATE INDEX OPB_DBD2 ON CREATE UNIQUE INDEX OPB_SUBJ_IDX CREATE INDEX OPB_TARGINDEX_IDX2 ON CREATE INDEX OPB_TINDEXFLD_IDX2 ON CREATE INDEX OPB_KEYWORD_IDX ON CREATE INDEX OPB_MAPPING_IDX2 ON CREATE INDEX OPB_DBDS_IDX ON CREATE INDEX OPB_TDS_IDX ON CREATE INDEX OPB_WIDGET_DEP_IDX ON CREATE INDEX OPB_WIDGET_IDX2 ON CREATE INDEX OPB_WIDGEXPR_IDX ON CREATE INDEX OPB_EXPR_IDX2 ON CREATE INDEX OPB_WIDG_INST_IDX ON VERSION_NUMBER) CREATE INDEX OPB_WIDG_INST_IDX2 ON CREATE INDEX OPB_MAPTARGINF_IDX ON CREATE INDEX OPB_WIDGFLD_IDX ON CREATE INDEX OPB_NORMFLD_IDX ON CREATE INDEX OPB_OBJTYPE_IDX ON CREATE INDEX OPB_ATTR_IDX ON CREATE INDEX OPB_WIDG_ATTR_IDX ON VERSION_NUMBER) CREATE INDEX OPB_WIDG_ATTR_IDX2 ON SESSION_TASK_ID, VERSION_NUMBER) OPB_DBD(SUBJ_ID, VERSION_NUMBER) ON OPB_SUBJECT(SUBJ_ID) OPB_TARGINDEX(TARGET_ID, VERSION_NUMBER) OPB_TARGINDEXFLD(INDEXID, VERSION_NUMBER) OPB_KEYWORD(TARGET_ID, VERSION_NUMBER) OPB_MAPPING(SUBJECT_ID, VERSION_NUMBER) OPB_DBDS(MAPPING_ID, VERSION_NUMBER) OPB_TDS(MAPPING_ID, VERSION_NUMBER) OPB_WIDGET_DEP(MAPPING_ID, VERSION_NUMBER) OPB_WIDGET(SUBJECT_ID, VERSION_NUMBER) OPB_WIDGET_EXPR(WIDGET_ID, VERSION_NUMBER) OPB_EXPRESSION(WIDGET_ID, VERSION_NUMBER) OPB_WIDGET_INST(MAPPING_ID, WIDGET_ID, WIDGET_TYPE, OPB_WIDGET_INST(MAPPING_ID, VERSION_NUMBER) OPB_MAP_TARG_INFO(MAPPING_ID, VERSION_NUMBER) OPB_WIDGET_FIELD(WIDGET_ID, VERSION_NUMBER) OPB_NORM_FLD(WIDGET_ID, VERSION_NUMBER) OPB_OBJECT_TYPE(OBJECT_TYPE_ID, OBJECT_TYPE) OPB_ATTR(OBJECT_TYPE_ID, ATTR_ID) OPB_WIDGET_ATTR(WIDGET_ID, WIDGET_TYPE, MAPPING_ID, OPB_WIDGET_ATTR(MAPPING_ID, INSTANCE_ID,

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:330/334
Last modification: 3/12/2010 5:51:38 PM

CREATE INDEX OPB_WIDG_ATTR_IDX3 ON OPB_WIDGET_ATTR(MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDG_ATTR_IDX4 ON OPB_WIDGET_ATTR(WIDGET_TYPE, ATTR_ID, SESSION_TASK_ID, MAPPING_ID, WIDGET_ID, VERSION_NUMBER) CREATE INDEX OPB_MAP_OPT_IDX ON OPB_MAP_OPTIONS(MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_SHORTCUT_IDX ON OPB_SHORTCUT(OBJECT_ID, OBJECT_TYPE, SUBJECT_ID, VERSION_NUMBER) CREATE INDEX OPB_SHORTCUT_IDX2 ON OPB_SHORTCUT(OBJECT_TYPE, VERSION_NUMBER) CREATE INDEX OPB_SHORTCUT_IDX3 ON OPB_SHORTCUT(SUBJECT_ID, VERSION_NUMBER) CREATE INDEX OPB_ANAL_DEP_IDX ON OPB_ANALYZE_DEP(MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_TARGFLDXPR_IDX ON OPB_TARG_FLD_EXPR(MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_TARGTBLXPR_IDX ON OPB_TARG_TBL_EXPR(MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_CUBE_IDX2 ON OPB_MD_CUBE(SUBJECT_ID, VERSION_NUMBER) CREATE INDEX OPB_DIMN_IDX2 ON OPB_MD_DIMENSION(SUBJECT_ID, VERSION_NUMBER) CREATE INDEX OPB_LEVEL_FLD_IDX ON OPB_MD_LEVEL_FIELD(DIMENSION_ID, VERSION_NUMBER) CREATE INDEX OPB_LVLHRCHY_IDX ON OPB_MD_LVL_HRCHY(DIMENSION_ID, VERSION_NUMBER) CREATE INDEX OPB_CUBEFLD_IDX ON OPB_MD_CUBE_FIELD(CUBE_ID, VERSION_NUMBER) CREATE INDEX OPB_FACTLVL_IDX ON OPB_MD_FACT_LEVEL(CUBE_ID, DIMENSION_ID, VERSION_NUMBER) CREATE INDEX OPB_FACTFLD_IDX ON OPB_MD_FACT_FIELD(CUBE_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_GENOBJ_IDX ON OPB_GEN_OBJECT(OBJECT_ID, OBJECT_TYPE) CREATE INDEX OPB_GENOBJ_IDX2 ON OPB_GEN_OBJECT(SUBJECT_ID) CREATE INDEX OPB_SRVVARS_IDX ON OPB_SRV_LOC_VARS(SERVER_ID) CREATE INDEX OPB_WIDGINIT_IDX ON OPB_WIDGET_INIT(WIDGET_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDGINIT_IDX2 ON OPB_WIDGET_INIT(MAPPING_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_WIDFLDATTR_IDX ON OPB_WIDG_FLD_ATTR(OBJECT_TYPE, OBJECT_ID, FIELD_ID, ATTR_ID, LINE_NO, VERSION_NUMBER) CREATE INDEX OPB_PROG_IDX ON OPB_PROGRAM_INFO (SUBJECT_ID, MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_TABLE_GRP_IDX ON OPB_TABLE_GROUP(OBJECT_TYPE, OBJECT_ID, GROUP_ID, VERSION_NUMBER) CREATE INDEX OPB_XML_INFO_IDX ON OPB_XML_INFO(OBJECT_TYPE, OBJECT_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_SAP_F_IDX ON OPB_SAP_FUNC(FUNC_ID, SUBJECT_ID, VERSION_ID) CREATE INDEX OPB_SAP_FP_IDX ON OPB_SAP_FUNC_PARAM(FUNC_ID, SUBJECT_ID, VERSION_ID) CREATE UNIQUE INDEX OPB_SAP_ST_IDX ON OPB_SAP_STRUCT(STRUCT_ID, SUBJECT_ID, VERSION_ID) CREATE UNIQUE INDEX OPB_MAP_PV_IDX ON OPB_MAP_PARMVAR(MAPPING_ID, SUBJECT_ID, PV_ID, VERSION_NUMBER) CREATE INDEX OPB_SEBL_MVL_IDX ON OPB_SEBL_MVL_LREL(SUBJECT_ID, SRC_ID, FIELD_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_SEBL_MVLA_IDX ON OPB_SEBL_MVL_ATTR(SUBJECT_ID, SRC_ID, MVLINK_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_MMD_DMN_IDX ON OPB_MMD_DOMAIN(VENDOR_ID, DOMAIN_ID) CREATE INDEX OPB_MMD_MXTN_IDX ON OPB_MMD_METAEXT(VENDOR_ID, DOMAIN_ID, OBJECT_TYPE, METAEXT_NAME, DBTYPE) CREATE INDEX OPB_MXTN_VAL_IDX ON OPB_METAEXT_VAL(SUBJECT_ID, VENDOR_ID, DOMAIN_ID, VERSION_NUMBER) CREATE INDEX OPB_MXTN_VAL_IDX2 ON OPB_METAEXT_VAL(OBJECT_ID, OBJECT_TYPE, SUBJECT_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_TASK_IDX ON OPB_TASK(SUBJECT_ID, TASK_ID, VERSION_NUMBER) CREATE INDEX OPB_TASK_IDX2 ON OPB_TASK(TASK_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_TASK_INST_IDX ON OPB_TASK_INST(WORKFLOW_ID, INSTANCE_ID, VERSION_NUMBER) CREATE INDEX OPB_TASK_INST_IDX2 ON OPB_TASK_INST(TASK_TYPE, TASK_ID, VERSION_NUMBER) CREATE INDEX OPB_TASK_INST_IDX3 ON OPB_TASK_INST(TASK_ID) CREATE INDEX OPB_TASK_ATTR_IDX ON OPB_TASK_ATTR(WORKFLOW_ID, TASK_ID, TASK_TYPE, VERSION_NUMBER) CREATE INDEX OPB_TASKATTR_IDX2 ON OPB_TASK_ATTR(REF_SESSION_ID, COMPONENT_TYPE)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:331/334
Last modification: 3/12/2010 5:51:38 PM

CREATE INDEX OPB_TASK_ATTR_IDX3 ON OPB_TASK_ATTR(TASK_TYPE, WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_TASK_ATTR_IDX4 ON OPB_TASK_ATTR(WORKFLOW_ID, TASK_ID, TASK_TYPE, ATTR_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_WFLOW_IDX ON OPB_WORKFLOW(WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_WFDEP_IDX ON OPB_WFLOW_DEP(WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_WFEXPR_IDX ON OPB_WFLOW_EXPR(WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_WFVAR_IDX ON OPB_WFLOW_VAR(WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_EVENT_IDX ON OPB_EVENT(EVENT_ID, VERSION_NUMBER) CREATE INDEX OPB_EVENT_IDX2 ON OPB_EVENT(WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_SCHD_IDX2 ON OPB_SCHEDULER(SUBJECT_ID, SCHEDULER_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_SESSION_IDX ON OPB_SESSION(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_SESCFG_IDX ON OPB_SESSION_CONFIG(SUBJECT_ID, CONFIG_ID, VERSION_NUMBER) CREATE INDEX OPB_SESCOMP_IDX ON OPB_COMPONENT(WORKFLOW_ID, TASK_ID, VERSION_NUMBER) CREATE INDEX OPB_SESWINST_IDX ON OPB_SWIDGET_INST(SESSION_ID, SESS_WIDG_INST_ID, VERSION_NUMBER) CREATE INDEX OPB_SESWINST_IDX1 ON OPB_SWIDGET_INST(WIDGET_TYPE, SESSION_ID, SESS_WIDG_INST_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_CNX_IDX ON OPB_CNX(OBJECT_ID) CREATE INDEX OPB_SESCXREF_IDX ON OPB_SESS_CNX_REFS(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_SESCXREF_IDX2 ON OPB_SESS_CNX_REFS(WORKFLOW_ID,SESSION_INST_ID, REF_OBJECT_ID,VERSION_NUMBER) CREATE INDEX OPB_SESEXTN_IDX ON OPB_SESS_EXTNS(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_EXTNATTR_IDX ON OPB_EXTN_ATTR(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_EXTNATTR_IDX2 ON OPB_EXTN_ATTR(WORKFLOW_ID, SESSION_INST_ID, VERSION_NUMBER) CREATE INDEX OPB_SESFLREF_IDX ON OPB_SESS_FILE_REF(SESSION_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_FILEDESC_IDX ON OPB_FILE_DESC(SUBJECT_ID, FILE_ID, VERSION_NUMBER) CREATE INDEX OPB_FILEDESC_IDX2 ON OPB_FILE_DESC(FILE_ID, VERSION_NUMBER) CREATE INDEX OPB_PARTDEF_IDX ON OPB_PARTITION_DEF(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_KEYRANGE_IDX ON OPB_KEY_RANGE(SESSION_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_MMDSESEX_IDX ON OPB_MMD_SESS_EXTNS(OBJECT_TYPE, OBJECT_SUBTYPE) CREATE INDEX OPB_MMDLIB_IDX ON OPB_MMD_LIBS(OBJECT_TYPE, OBJECT_SUBTYPE) CREATE UNIQUE INDEX OPB_MMDEXAT_IDX ON OPB_MMD_EXTN_ATTR(OBJECT_TYPE, OBJECT_SUBTYPE, ATTR_ID) CREATE UNIQUE INDEX OPB_MMDEATTR_IDX ON OPB_MMD_EATTR_VAL(OBJECT_TYPE, OBJECT_SUBTYPE, ATTR_ID, ATTR_INDEX) CREATE UNIQUE INDEX OPB_MMDDBEX_IDX ON OPB_MMD_DBTYP2EXTN(DB_TYPE, OBJECT_TYPE, OBJECT_SUBTYPE) CREATE UNIQUE INDEX OPB_MMDEXCNX_IDX ON OPB_MMD_EXTN_CNXN(OBJECT_TYPE, OBJECT_SUBTYPE, CONNECTION_NUM) CREATE UNIQUE INDEX OPB_MMDECNXR_IDX ON OPB_MMD_ECNXN_REF(OBJECT_TYPE, OBJECT_SUBTYPE, CONNECTION_NUM, REF_OBJ_TYPE, REF_OBJ_SUBTYPE) CREATE UNIQUE INDEX OPB_MMDCNX_IDX ON OPB_MMD_CNX(CNX_OBJECT_TYPE, CNX_OBJECT_SUBTYPE) CREATE UNIQUE INDEX OPB_MMDCNXAT_IDX ON OPB_MMD_CNX_ATTR(OBJECT_TYPE, OBJECT_SUBTYPE, ATTR_ID) CREATE UNIQUE INDEX OPB_MMDCATTV_IDX ON OPB_MMD_CATTR_VAL(OBJECT_TYPE, OBJECT_SUBTYPE, ATTR_ID, ATTR_INDEX) CREATE UNIQUE INDEX OPB_MMDCTLG_IDX ON OPB_MMD_CATALOG(VENDOR_ID, PLG_ID) CREATE INDEX OPB_MMDPLGC_IDX ON OPB_MMD_PLGCOMP(VENDOR_ID, PLG_ID) CREATE UNIQUE INDEX OPB_MMDDBTYP_IDX ON OPB_MMD_DBTYPE(DBTYPE_ID) CREATE UNIQUE INDEX OPB_MMDDBSUB_IDX ON OPB_MMD_DBSUBTYPE(DBTYPE_ID, DBSUBTYPE_ID) CREATE UNIQUE INDEX OPB_MMDKTYP_IDX ON OPB_MMD_KEYTYPE(DBTYPE_ID, KEY_NAME, SRCTGT_FLAGS) CREATE INDEX OPB_MMDDTYP_IDX2 ON OPB_MMD_DATATYPE(DBTYPE_ID, ORDER_NUM) CREATE UNIQUE INDEX OPB_MMDFLDATTR_IDX ON OPB_MMD_FLDATTR(DBTYPE_ID, DBSUBTYPE_ID, ATTR_ID) CREATE INDEX OPB_MMDDBWATT_IDX ON OPB_MMD_DBTY2WATTR(DBTYPE_ID, DBSUBTYPE_ID, OBJECT_TYPE, ATTR_ID)
PSPad editor 4.5.4 (2356) www.pspad.com 12/27/2011 12:02:45 AM Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:332/334
Last modification: 3/12/2010 5:51:38 PM

CREATE INDEX OPB_MMDDBWAVL_IDX ON OPB_MMD_DBTY2WAVAL(DBTYPE_ID, DBSUBTYPE_ID, OBJECT_TYPE, ATTR_ID) CREATE INDEX OPB_STASKLG_IDX ON OPB_SESS_TASK_LOG(WORKFLOW_ID, WORKFLOW_RUN_ID, VERSION_NUMBER) CREATE INDEX OPB_SWINSTLG_IDX ON OPB_SWIDGINST_LOG(WORKFLOW_ID, WORKFLOW_RUN_ID) CREATE INDEX OPB_WFLG_IDX ON OPB_WFLOW_RUN(WORKFLOW_ID, WORKFLOW_RUN_ID, VERSION_NUMBER) CREATE INDEX OPB_WFLG_IDX2 ON OPB_WFLOW_RUN(WORKFLOW_RUN_ID, VERSION_NUMBER, SUBJECT_ID) CREATE INDEX OPB_WFLG_IDX3 ON OPB_WFLOW_RUN(SERVER_ID, SUBJECT_ID, START_TIME) CREATE INDEX OPB_TINSTLG_IDX ON OPB_TASK_INST_RUN(WORKFLOW_ID, WORKFLOW_RUN_ID, VERSION_NUMBER) CREATE INDEX OPB_TINSTLG_IDX2 ON OPB_TASK_INST_RUN(WORKFLOW_RUN_ID, WORKLET_RUN_ID) CREATE INDEX OPB_WFVARLG_IDX ON OPB_WFLOW_VAR_RUN(WORKFLOW_ID, WORKFLOW_RUN_ID) CREATE INDEX OPB_WFDEPLG_IDX ON OPB_WFLOW_DEP_RUN(WORKFLOW_ID, WORKFLOW_RUN_ID) CREATE INDEX OPB_WFDEPLG_IDX2 ON OPB_WFLOW_DEP_RUN(WORKFLOW_RUN_ID) CREATE INDEX OPB_WFCACHELG_IDX ON OPB_WFLOW_CACHE(WORKFLOW_ID, WORKFLOW_RUN_ID) CREATE INDEX OPB_MAPPSV_IDX ON OPB_MAP_PERSISVAL(SESSION_INST_ID) CREATE INDEX OPB_MMDEWATT_IDX ON OPB_MMD_EXTN_WATTR(OBJECT_TYPE, OBJECT_SUBTYPE) CREATE INDEX OPB_TSKVALST_IDX ON OPB_TASK_VAL_LIST(TASK_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_HASHKEY_IDX ON OPB_HASH_KEY(SESSION_ID, SWIDGET_INST_ID, KEY_NAME, VERSION_NUMBER) CREATE INDEX OPB_SPERFILES_IDX ON OPB_SESS_PER_FILES(SERVER_ID, SESSION_INST_ID, WIDGET_INST_ID) CREATE UNIQUE INDEX OPB_VER_PROPS_IDX ON OPB_VERSION_PROPS(OBJECT_ID,OBJECT_TYPE, VERSION_NUMBER,SUBJECT_ID) CREATE UNIQUE INDEX OPB_CM_QUERY_IDX ON OPB_CM_QUERY(QUERY_ID) CREATE UNIQUE INDEX OPB_QUERYPARAM_IDX ON OPB_CM_QUERY_PARAM(QUERY_ID, DISPLAY_ORDER, LINE_NO, LEVEL_NO, INPUT_NO) CREATE UNIQUE INDEX OPB_CM_LABEL_IDX ON OPB_CM_LABEL(LABEL_ID) CREATE INDEX OPB_LABELREF_IDX ON OPB_CM_LABEL_REF(LABEL_ID) CREATE INDEX OPB_LABELREF_IDX2 ON OPB_CM_LABEL_REF(SUBJECT_ID, OBJECT_ID, OBJECT_TYPE, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_DEPLOY_IDX ON OPB_CM_DEPLOY(DEP_GROUP_ID) CREATE UNIQUE INDEX OPB_DEPLOYREF_IDX3 ON OPB_CM_DEPLOY_REF(DEP_GROUP_ID, SUBJECT_ID, OBJECT_TYPE, OBJECT_ID) CREATE INDEX OPB_DEPLOYREF_IDX ON OPB_CM_DEPLOY_REF(DEP_GROUP_ID) CREATE INDEX OPB_DEPLOYREF_IDX2 ON OPB_CM_DEPLOY_REF(SUBJECT_ID, OBJECT_ID, OBJECT_TYPE, VERSION_NUMBER) CREATE INDEX OPB_DEP_LOG_IDX ON OPB_CM_DEPLOY_LOG(DEP_GROUP_ID, DEPLOY_TYPE) CREATE INDEX OPB_DEPDETAIL_IDX ON OPB_CM_DEPDETAIL(DEP_RUN_ID) CREATE UNIQUE INDEX OPB_SRVNET_IDX ON OPB_SERVER_NET(SERVER_NET_ID) CREATE INDEX OPB_SRVNETREF_IDX ON OPB_SERVER_NET_REF(SERVER_ID) CREATE INDEX OPB_WFATTDEF_IDX ON OPB_WFLD_ATTR_DEF(WIDGET_ID, VERSION_NUMBER) CREATE INDEX OPB_WFATT_IDX ON OPB_WFLD_ATTR(WIDGET_ID, VERSION_NUMBER) CREATE INDEX OPB_WFOUTDEP_IDX ON OPB_WFLD_INOUTDEP(WIDGET_ID, VERSION_NUMBER) CREATE INDEX OPB_SWIDGGRP_IDX ON OPB_SWIDG_GROUP(SESSION_ID, SESS_WIDG_INST_ID, VERSION_NUMBER) CREATE INDEX OPB_VALIDATE_IDX ON OPB_VALIDATE(SUBJECT_ID, OBJECT_ID, OBJECT_TYPE, VERSION_NUMBER) CREATE INDEX OPB_XML_QUAL_IDX ON OPB_XML_QUAL(OBJECT_TYPE, OBJECT_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_CUBE_IDX ON OPB_MD_CUBE(CUBE_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_DIMENSION_IDX ON OPB_MD_DIMENSION(DIMENSION_ID, VERSION_NUMBER) CREATE UNIQUE INDEX OPB_PROFRS_IDX ON OPB_PROF_RULESET(RULESET_ID) CREATE INDEX OPB_PROFMD_IDX ON OPB_PROF_METADATA(RULESET_ID) CREATE INDEX OPB_PROFSR_IDX ON OPB_PROF_SRC_REF(RULESET_ID) CREATE UNIQUE INDEX OPB_MMDTMPL_IDX ON OPB_MMD_TEMPLATE (TEMPLATE_ID) CREATE INDEX OPB_MMDTMPLATT_IDX ON OPB_MMD_TMPL_ATTR (TEMPLATE_ID)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:333/334
Last modification: 3/12/2010 5:51:38 PM

CREATE INDEX OPB_SCHEMAIDS_IDX ON OPB_SCHEMA_IDS(SUBJECT_ID, SEQ_TYPE, OLD_PARENT_ID, OLD_ID, RUN_ID) CREATE INDEX OPB_SCHEMADEP_IDX ON OPB_SCHEMA_DEPLOY(SUBJECT_ID) CREATE UNIQUE INDEX OPB_MMDTMPLEX_IDX ON OPB_MMD_TMPL2EXTN(TEMPLATE_ID, OBJECT_TYPE, OBJECT_SUBTYPE) CREATE UNIQUE INDEX OPB_ATTRCAT_IDX ON OPB_ATTR_CATEGORY(CATEGORY_ID) CREATE UNIQUE INDEX OPB_PROF_RES_IDX ON OPB_PROF_RESOURCE(RESOURCE_ID) CREATE INDEX OPB_PROFRD_IDX ON OPB_PROF_RES_DATA(RESOURCE_ID) CREATE INDEX OPB_PROFRR_IDX ON OPB_PROF_RES_REF(RULESET_ID) CREATE INDEX OPB_TASKSTATS_IDX ON OPB_TASK_STATS(WORKFLOW_ID, WORKLET_ID) CREATE UNIQUE INDEX OPB_SERVLEVEL_IDX ON OPB_SERVICE_LEVEL(OBJECT_ID) CREATE UNIQUE INDEX OPB_MMDSLATTR_IDX ON OPB_MMD_SLVL_ATTR(ATTR_ID) CREATE INDEX OPB_SLATTR_IDX ON OPB_SLEVEL_ATTR(OBJECT_ID) CREATE INDEX OPB_RESREF_IDX ON OPB_TASK_RES_REFS(TASK_ID, VERSION_NUMBER) CREATE INDEX OPB_RESREF_IDX2 ON OPB_TASK_RES_REFS(WORKFLOW_ID, TASK_INST_ID, VERSION_NUMBER) CREATE INDEX OPB_OBJLOCKS1 ON OPB_OBJECT_LOCKS(OBJECT_TYPE_ID, OBJECT_ID, SUBJECT_ID, REPOSIT_ID, USER_ID, CNX_ID, LOCK_OP, LOCK_TYPE) CREATE INDEX OPB_OBJLOCKS2 ON OPB_OBJECT_LOCKS(CNX_ID) CREATE INDEX OPB_SERVREQ1 ON OPB_SERVICED_REQ(CNX_ID, REQUEST_ID) CREATE INDEX OPB_SERVREQ2 ON OPB_SERVICED_REQ(UTC_REQ_TIME) CREATE INDEX OPB_REQREPLY1 ON OPB_REQ_REPLY(CNX_ID, REQUEST_ID) CREATE INDEX OPB_REQREPLY2 ON OPB_REQ_REPLY(UTC_REQ_TIME) CREATE UNIQUE INDEX OPB_CCONN ON OPB_CLIENT_CONN(CNX_ID) CREATE UNIQUE INDEX OPB_MMDFUNCGRP_IDX ON OPB_MMD_FUNC_GRP(FUNC_GRP_ID) CREATE UNIQUE INDEX OPB_MMDFUNC_IDX ON OPB_MMD_FUNCTION(FUNC_ID) CREATE UNIQUE INDEX OPB_MACRO_IDX ON OPB_MACRO(MACRO_ID, VERSION_NUMBER) CREATE INDEX OPB_MACRO_IDX1 ON OPB_MACRO(SUBJECT_ID, MACRO_NAME) CREATE UNIQUE INDEX OPB_MACRO_EXPR_IDX ON OPB_MACRO_EXPR(MACRO_ID, VERSION_NUMBER, LINE_NO) CREATE INDEX OPB_MACRO_ARGS_IDX ON OPB_MACRO_ARGS(MACRO_ID, VERSION_NUMBER) CREATE INDEX OPB_MACRO_REF_IDX ON OPB_MACRO_REF(MACRO_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDG_MCR_IDX ON OPB_WIDG_MCR_DEP(WIDGET_ID, WIDGET_TYPE, MAPPING_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDG_MCR_IDX2 ON OPB_WIDG_MCR_DEP(MAPPING_ID, INSTANCE_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDG_MCR_IDX3 ON OPB_WIDG_MCR_DEP(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDG_MCR_IDX4 ON OPB_WIDG_MCR_DEP(SUBJECT_ID, MACRO_NAME) CREATE INDEX OPB_LINK_MCR_IDX ON OPB_LINK_MCR_DEP(WORKFLOW_ID, CONDITION_ID) CREATE INDEX OPB_LINK_MCR_IDX1 ON OPB_LINK_MCR_DEP(WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_LINK_MCR_IDX2 ON OPB_LINK_MCR_DEP(SUBJECT_ID, MACRO_NAME) CREATE INDEX OPB_TASK_MCR_IDX ON OPB_TASK_MCR_DEP(TASK_ID, WORKFLOW_ID) CREATE INDEX OPB_TASK_MCR_IDX1 ON OPB_TASK_MCR_DEP(WORKFLOW_ID,VERSION_NUMBER) CREATE INDEX OPB_TASK_MCR_IDX2 ON OPB_TASK_MCR_DEP(SUBJECT_ID, MACRO_NAME) CREATE INDEX OPB_WFBRK_IDX ON OPB_WFLOW_RUN_BRK(WORKFLOW_ID,WORKFLOW_RUN_ID) CREATE INDEX OPB_TINSBRK_IDX ON OPB_TASK_INST_BRK(WORKFLOW_ID,WORKFLOW_RUN_ID) CREATE INDEX OPB_PROXYUSR_IDX ON OPB_PROXYUSER_INFO(CNX_ID) CREATE INDEX OPB_NOTIFMSG_IDX ON OPB_NOTIF_MSG(NOTIFICATION_ID) CREATE INDEX OPB_OBJNOTIF_IDX ON OPB_OBJECT_NOTIF(NOTIFICATION_ID) CREATE UNIQUE INDEX OPB_SERVNODE_IDX ON OPB_SERVER_NODE(SERVER_ID, NODE_ID) CREATE INDEX OPB_PF_COUNT_IDX ON OPB_PERF_COUNT(SUBJECT_ID, WORKFLOW_ID, WORKFLOW_RUN_ID, WORKLET_ID, TASK_ID, TASK_INST_ID, WIDGET_ID, WIDGET_INST_ID, PARTITION_ID, FRAGMENT_ID, GROUP_ID, ATTR_ID) CREATE INDEX OPB_PF_COUNT_IDX2 ON OPB_PERF_COUNT(TIME_STAMP)

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

activity.log
C:\Documents and Settings\Administrator\My Documents\Downloads\

Page:334/334
Last modification: 3/12/2010 5:51:38 PM

CREATE INDEX OPB_DTLWIDLG_IDX ON OPB_DTL_SWIDG_LOG(WORKFLOW_ID) CREATE INDEX OPB_SWIDGATTR_IDX ON OPB_SWIDGET_ATTR(SESSION_ID, VERSION_NUMBER) CREATE INDEX OPB_SWIDGATTR_IDX1 ON OPB_SWIDGET_ATTR(SESSION_ID, VERSION_NUMBER, ATTR_ID, SESS_WIDG_INST_ID) CREATE INDEX OPB_USR_GRP_IDX ON OPB_USER_GROUP(NAME_SPACE, NAME) CREATE UNIQUE INDEX OPB_USR_GRP_IDX2 ON OPB_USER_GROUP(ID, TYPE) CREATE INDEX OPB_ROLE_IDX ON OPB_ROLE(ID, TYPE) CREATE INDEX OPB_WF_RUNINFO_IDX ON OPB_WF_RUNINFO(SUBJECT_ID, WORKFLOW_ID, VERSION_NUMBER) CREATE INDEX OPB_WIDGET_IDX3 ON OPB_WIDGET(SUBJECT_ID, WIDGET_ID, WIDGET_TYPE, VERSION_NUMBER) Processing files in the directory [C:\Informatica\PowerCenter8.6.1\server\bin\native]... Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Processing file Create Contents Elapsed time is [httptransform.xml]... [lmapitgt.xml]... [pmdatamasking.xml]... [pmexprfunctions.xml]... [pmflxtgtkeytransform.xml]... [pmjms.xml]... [pmjtx.xml]... [pmmsmq.xml]... [pmnullplg.xml]... [pmpchrdb.xml]... [pmpwxclnt.xml]... [pmsapplg.xml]... [pmsfdc.xml]... [pmsqlt.xml]... [pmtdfexp.xml]... [pmtibco.xml]... [pmudt.xml]... [pmuniontransform.xml]... [pmwebm.xml]... [pmwsconsumer.xml]... [pmwsprovider.xml]... [pmxmlmgep.xml]... operation on repository [PowerCenter] ended at 03/12/2010 17:50:19. 0:00:48.

PSPad editor 4.5.4 (2356) www.pspad.com

12/27/2011 12:02:45 AM

Administrator

Sign up to vote on this title
UsefulNot useful