Você está na página 1de 64
CHAPTER 15 Using Metadata Exchange (MX) Views This chapter includes the folowing topics: “+ Viewing the Repository Metadata, 152 ‘+ Database Definition View, 155 + Source Views, 156 + Target Views, 163 ‘+ Mapping and Mapplet Views, 169 ‘+ Metadata Extension Views, 181 ‘+ Transformation Views, 182 ‘+ Worktlow, Worklet, and Task Views, 187 + Security Views, 208 + Deployment Views, 208 “+ Repositary View, 211 ‘+ Integration Service Views, 212 ‘+ Change Management Views, 213, “+ Folder View. 215 Viewing the Repository Metadata 182 PowerCenter Metadata Exchange (MX) provides a set of relational views that allow easy SQL access to the PowerCenter metadata repository. The Repository Manager generates these views when you create of upgrade a repository Warning: The PowerCenter repository tables have an open architecture, Although you can view the pository tables, Informatica strongly advises against altering the tables of data within the tables, Informatica Is not responsible for corrupted data that is caused by customer alteration ofthe repository tables or data within those tables. Therefore, do not directly access the actual repository tables. Instead, use MX to access the repository, MX View Categories MX views provide information to help you analyze metadata stored inthe repository. ‘The following table ists the available MX views by category Category Description Database Provides asf database dation inthe eposoy. Sourees Provides asf source dettons by fle. Targets Provides ast of target dtatons by fdr. Mappings and Wappets | Provides aso sources, targets, anc transformations used in mappings and ‘applets by flr. Metadata Extensions | Provides detals of metadala extensions defined for object. ‘Transformations Provides detals of tansfrmation instances by folder. Workdows, Worlets, and | Provides static and run Ue dell for workflows and worklels by flier. Tasks secunty Provides user information. Deployment Provides deployment deals such as deployment groups and objects that wee oployod tom one repository to ancther Repostory Provides repostory deals such a epostory nae and conection iformaton, Inesraton Seco Provides datas such as sumer ae ad host nama ‘change Management | Provide version history of object nd be estas. Faldo Provides datas sue as folder name and docttin. For example, ia source table changes, and you need to re-import the source definition into the repository, you could use the REP_SRC_MAPPING view to see how many mappings include this source. Likewise, i You want to view source and target dependencies for a mapping, you could use REP_TBL_MAPPING, ‘Almost all views supporl access to comment information. You can add comments to any object within PowerCenter through the Designer and Workllow Manager. You can access comments about individual tables, table relationships, data fields, and data transformations. Use these views to create reports using third-party reporting tools, such as Crystal Reports. MX faciltates the integration of decision support metadata between the PowerCenter repository and popular Decision Support System (DSS) tools, data modeling tools, and any other metadata resources. With MX, you can drill down to the operational metadata level and expose information needed to support decisions. MX also helps you make precise information requests that draw from data models, mappings, and transformation data, For IS professionals, the MX architecture provides the following benefits ‘+ Improves warehouse maintenance and management capabiliy ‘+ Reduces time and resources required to support end-user requests, ‘+ Expands the abiliy to provide information resources in a controlled manner. Note: The Designer includes options to save MX data, Viewing he Repostny Metadata 153, 164 Using PowerCenter Repository Reports You can browse and analyze PowerCenter metadata with PowerCenter Repository Reports PowerCenter Repository Reports prepackages a set of reports and dashboards, which can be easily customized to meet business needs. The prepackaged dashboards and reports enable you to analyze the {allowing types of metadata stored in a PowerCenter repositery: ‘+ Source and target metadata ‘+ Transformation metadata ‘+ Mapping and mapplet metadata “+ Workflow and worklet metadata + Session metadata ‘+ Change management metadata ‘+ User metadata + Operational metadata SQL Definition of Views PowerCenter provides two sets of SCL. scripts: one to create the MX views and one to drop MX views. Creating MX Views Each time you create or upgrade a repository, the Repository Service runs SQL scripts that creates the MX views. ‘The following table ists the SQL scripts to create MX views: Repository Database SQL Serint tow 082 zm sg_ and dB2moI2sg_ Micosot Sab Sener sloldsa_and smeb2sq_ Oracle cram sq_and ora. Sypase sybmbldsq_ ane syomabsq_ These SQL scripts are stored in the Repository Service installation directory. Dropping MX Views Ityou delete a repository, the Repository Service runs SQL. scripts that drops the MX views. You can run the scripts from the Designer. The following table lists the SQL scripts to drop MX views: Repository Database ‘8QL Script Taw 082 doamesrp.sq_and dbase? sa Microsoft SOL Server ‘salmdep and sgimar2 ‘Chapter 15: Using Metadata Exchange (MX) Views Repository Database ‘SQL Script Oracle oramap.sq_ and oramua2 sq_ Sybase sybmadipse_ and syomade2 sa ‘These SQL scripts are stored in the Repository Service installation directory. Integrating MX Views with Third-Party Software With MX software and support from Informatica, vendors of popular query and reporting tools can quickly create a metadata link between their products and the PowerCenter repository. Software vendors can integrate PowerCenter metadata with their products through different methods, from pulling the PowerCenter metadata into product or user repositories lo providing dynamic desktop pass- through access, The next generation of MX, called Metadata Exchange SDK, provides an object-based application programming interface (API) to read and wrte metadata in Informatica repositories. Database Definition View ‘The database definition view provides a list ofall database definitions in the repository. A database definition includes the source database names, flat file or RDBMS, and the folder where the database definition resides. MX provides the REP_DATABASE_DEFS view to help you analyze database defintions, REP_DATABASE_DEFS The following table lists database definition details: ‘column Name Datatype Description DATABASE NAME ‘VARCHAR? (240) | Database duinton rane DEF_SOURCE ‘VARCHAR® 240) | Source ofthe defriton SUBIECT AREA YVARCHAR® (240) | Folir name. VERSION_O INTEGER Version 1D of he source DATABASE. VERSION_NUNBER NUWBER Version number fh database Database Definition View 155 Source Views 186 Source views provide a list ofthe atest version of all source definitions defined by folder of any PowerCenter repository. Source definitions can be defined for both relational and non-relational sources. These views also show source properties such as shortcuts, creation date, version, description, and business name. They also provide information such as source columns, column properties, source metadata extensions, and mappings and mapplets where these sources are used, The following table ists the different views that help you analyze source metadata’ view Description REP_ALL_SOURCES ‘This view proves ast ofthe latos version of surcas dened in each older of repos. REP_ALL_SOURCE_FLOS | This view provides all he fils and ld properties for all sources dtned in REP_ALL_ SOURCES MX View. REP_SROFILES ‘This view proves a st fal fle detntons in the repstory. REP_SRC_TALS ‘This view povdes a st of relational elabase table sources that have been analyzed through the Source Analyzer tol or mported from a DDL (Data Definition Language} fe REP_SRC_FILE_FLDS ‘These views provide access othe elds n a nonelational sou REP_SEG FLOS REP_SRC_TBL_FLOS ‘This view povdes access to tefl in relational sources. Use the source name oreiove al he Feds belonging te the source, REP_ALL_SOURCES This view provides a list of the latest version of sources defined in each folder of a repository. Sources Include both relational sources and non-relational sources such as XML files and flat fles. ‘The following table ists source information inthe REP_ALL_ SOURCES view: ‘Column Name Datatype Description PARENT, SUBJECT AREA VARCHAR® (240). | Feder namo PARENT. SUBJECT 1D° NUMBER Falder PARENT_SOURGE, NAME VARCHAR2 240). | Name ofthe pant sours. PARENT_SOURCE BUSINESS.NAME | VARCHAR? (240) | Business name ofthe parent source. PARENT, SOURCE [O° NUMBER 10 ofthe paren source PARENT SOURCE DESCRIPTION | VARCHAR® (2000) | Deserpton ofthe parent source PARENT.SOURGE_VERSION_NUMBER® | NUMBER Source version number. PARENT SOURCE VERSION STATUS | NUMBER Pant source version las. ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description PARENT_SOURCE_UTC.CHECKIN | NUMBER UTC tme (Coordinated Universal Time) ‘when the paren source was checked in PARENT_SOURCE_UTC_LAST.SAVED | NUMBER UTC time when the parent source was lst rode PARENT_SOURCE_LAST_SAVED \VARCHARZ (30) | Time when the parent source was lst saved PARENT_SOURCE_SCHEMA, NAME. VARCHAR? (240) Name ofthe source schema, PARENT.SOURCE FIRST_FIELD_O* | NUMBER 1D of te frst fl inthe source. PARENT_SOURCE_SELECT_NFO,1D* | NUMBER Fil ganization nfrmation. PARENT.SOURCE.DISPLAY SIZE | NUMBER Peron source display size (uncompressed binary) PARENT_SOURCE_PHYSICAL.size | NUMBER Parent source physical size compressed binary) PARENT_SRC_NIN_PHYSICAL_siz= | NUMBER Physical size (compress binary) PARENT SOURCE DATABASE NAME | VARCHAR2 (240) | Database name ofthe parent source. PARENT_SOURCE_TYPE NUMBER Species whether the source is relational ora non-eational sauce PARENT_SOURCE DATABASE TYPE | VARCHAR2 (60) | Name ol the database type of the parent SUBIECT AREA VARCHAR® 240). | Feder namo. SUBIECT_IO* NUMBER Felder SOURCE_NAME VARCHAR® (240). | Source name SOURCEIO* NUMBER Sours SOURCE_DESCRIPTION VARCHAR® 2000) | Source desertion SOURCE_VERSION_NUMBER* NUMBER Source version number. SOURCE_VERSION_STATUS NUMBER ‘Species whother the source versions acve ovhas been deleted. SOURCE_UTC_CHECKIN NUMBER UTC te for source check, SOURCE_UTC_LAST_SAVED NUMBER UTC time when the source display was last saved. SOURCE_LAST_SAVED VARCHAR? (80) | Time when the source was lst save. SSOURCE_DATABASE_NAME VARCHAR? (240) | Source database name, Source Views 1s ‘Column Name Datatype Description REPOSITORY_NAME VARCHAR? (240) | The repository name. 1s_SHORTOUT NUMBER Species whether he source i shortcut 1 = shortcut, 0= nota short 1s_GLOBAL_sHORTCUT NUMBER Spoctos wheter the source ia global shortcut 1 shortcut 0= not ashore “Indicates that the column sa key elu. REP_ALL_SOURCE_FLDS This view provides all the folds and field properties for all sources defined in REP_ALL_SOURCES MX View. For global shortcuts, the name of the shortcut appears. For local shortcuts, the names of shortcut and the parent targets display. The following table lists Source field information in the REP_ALL_SOURCE_FLDS view ‘column Name Datatype Description PARENT_SUBJECT_AREA VARCHAR® (240). | Parent older rane PARENT SUBJECT 1D" NUMBER Pant folder. PARENT_SOURCE_NANE VARCHAR® (240). | Parent soucs name. PARENT SOURCE USINESS.NAME | VARCHAR2 (240) | Business name ofthe parent source. PARENT_SOURCE_1O* NUMBER Parent source 10 PARENT_SOURCE_DESCRIPTION VARCHAR? (2000) | Descspon of he parent source PARENT_SOURCE_VERSION_NUNBER* | NUMBER ‘Version numberof he parent source. PARENT_SOURCE VERSION STATUS | NUMBER Status ofthe parent source version. PARENT_SOURCE.UTC CHECKIN | NUMBER UTC time when the parent source was nachos in PARENT_SOURCE_UTC_LAST_SAVED | NUMBER UTC time when the parent source was lst saved. PARENT_SOURCE_LAST_SAVED VARCHAR? (80) | Time whon the parent source was lst saved PARENT_SOURCE_TYPE NUMBER Source type suchas relational database or fat ie PARENT_SOURCE_DATABASE_NAME | VARCHAR? (240) | Database name ofthe parent source PARENT_SOURCE DATABASE TYPE | VARCHARZ (50) | Database typeof parent source. 158 Chapter 15: Using Metadata Exchange (WX) Views ‘Column Name Datatype Description SUBIECT AREA VARCHAR® (240). | Feder namo SUBIECT_IO* NUMBER Felder 1. SOURCE_NAME VARCHAR® (240). | Souce name SOURCE1D" NUMBER Source 1 SOURCE_DESCRIPTION VARCHAR® 2000) | Source desertion SOURCE.VERSION NUMBER NUMBER Source version number. ‘SOURGE_VERSION_STATUS NUMBER Spectes wheter the source vrsion is ‘tive orhas boon daletad SOURCE_UTC_CHECKIN NUMBER UTC time when the source was lst hacked SOURCT_UTC_LAST_SAVED NUMBER UTC tne when the source was lst saved. SOURCE_LAST_SAVED VARCHAR® (20) | Time hen the source was kt saved, SOURCE_DATABASE_NAME VARCHAR? (240) Name ofthe database forthe source. SSOURCE_FIELD_NAME \VARCHAR? (240) Source fld name. SOURCE _FIELO_BUSINESS_NAME VARCHAR? (240) Business name of he source fl SOURCE FIELD_IO* NUMBER 1D of he soute fala (primary ky) SOURCE_FIELD_DESCRIPTION VARCHAR? (2000) Desespion ofthe source fal. SOURCE _FIELO_NUMBER NUMBER Sues field number. SOURCE _FIELO_NEXTFIELD_IO* NUMBER 1D of the itd that ellos the current ld SOURCE FIELO_LEVEL NUMBER Fie level number for norelatonal sources, SOURCE _FIELO_PICTURE_TEXT VARCHAR? (240) Picture text hata COBOL source uses. Null for relational sources, SSOURCE_FIELD_OCCURS_TIME NUMBER Number of tie that he Fl (or record) ‘occurs in the sours, SOURCE FIELO_REDEFINES FIELO | VARCHAR2 (240) | denies he elaracord hat his feldtacors redone. SOURCE FIELO_DISPLAY.oFFSET | NUMBER (et fh il win he sou, SOURCE_FIELO_DISPLAY.LENGTH | NUMBER Display eld egth. SOURCE. FIELO_PHYSICAL OFFSET | NUMBER (fst fh fi within his F. SOURCE.FIELO_PHYSICAL.LENGTH | NUMBER Physical el length Source Views 160 ‘Column Name Datatype Description SOURCE FIELD_CHILD FIELDID | NUMBER The nextel, any, for a nonelaonal (COBOL source SOURCE FIELO_KEY_TYPE VARCHAR? (60) | Species whether he source fel key isa primary kay ora foreign Koy. ‘SOURCE_FIELD_DATATYPE VARCHAR? (40) | Fiel datatype. SOURCE FIELD_PRECISION NUMBER Length or preciion forthe Fld SOURCE_FIELD_SCALE NUMBER Scale or he Fla SOURCE FIELD_PIC_USAGE NAME | NUMBER. ‘Source fl pictur usage name, ‘SOURCE _FIELD_NULLTYPE NUMBER Species whether nul ar alowed. (= nuls allowed: 1 = nulls not allowed, REPOSITORY _NANE VARCHAR? (240) | Repostory name. Is_SHORTOUT NUMBER Species wheter the source is a shortcut 41> shortut 0 = nota shortcut 18_GLOBAL_sHORTCUT NUMBER Species whether he source is a global storie, 41= shrtut 0 = not shortcut “Incicaes that the column i key column REP_SRC_FILES This view provides a list of al ile definitions in the repository. Use FIRST_FIELD_1D to retrieve the fields bolonging to a non-relational source by following the inks in the REP_SRC_FILE_FLDS viow. Any flat file Imported through the Source Analyzer has an enty, ‘The following table lists file information in the REP_SRC_FILES view: ‘Column Name Datatype Description FILE IO" INTEGER Source 1D {primary ko) SUBJECT_AREA* VARCHAR? (240) | Folder name DATABASE_TYPE \VARCHAR2 (240) | Type of database extracted ftom. DATABASE_NAME VARCHARZ (240) | Name of database extracted rom (DSN. FILE_NAME YVARCHARZ (240) | Nan of le dofaitns. SCHEMA FILE_NAME VARCHAR2 (240) | File om which schema was extracted SELECT_INFO_D INTEGER Fle organization infomation 180 Chapter 15: Using Metadata Exchange (MX) Views SOURCE_DESCRIPTION ‘Column Name Datatype Description DISPLAY SIZE INTEGER Display Sze anconpressad) PHYSICAL SUE INTEGER Physical sie (compressed trary. MIN, PHYSICAL, SIZE INTEGER ism physical siz (varying acre), FIRST FIELD_O INTEGER Link to es eld fl etitons. "VARCHAR? (2000) ‘Source desertion VERSION_D INTEGER, Version 1. ‘SOURCE_VERSION NUMBER NUMBER ‘Source version number. REP_SRC_TBLS Analy “Indicates that the column i a key clu. This view provides alist of relational database table sources that have tool or imported from a DDL (Data Definition Language) fle. The following table ists relational database table information in the REP_SRC_TBLS view: yen analyzed through the Source ‘column Name Datatype Description TABLE, NAME VARCHAR2 (240) | Table name. TABLE_BUSNANE ‘VARCHAR? (240) | Business ram othe tbl. TABLED NUMBER Unique tay. SUBIECT AREA ‘aRcHARe 240) | olde name. DATABASE_TYPE VARCHAR (240) | Type of database exacted fom. DATABASE_NAME ‘VARCHAR? (240) Name of database extracted rom, ‘SCHEMANAME ‘VARCHAR? 240) | Name of schema exact tom. FIRST_FIELD_O NuMBER Link et et ‘SOURCE_DESCRPTION ‘VARCHAR2 (2000) | Source desrotion. VERSION_10 INTEGER Felder verson. VERSION, NAME VARCHAR? (240) | Folder version name. LAST SAVED ‘VARCHAR? (0) | Last moto souro ltl was saved SOURCE_VERSION.NUMBER | NUMBER Source version umber. SuBIECT 10 NUMBER Feld Source Views 161 REP_SRC_FILE_FLDS and REP_SEG_FLDS These views provide access to the flelds in a non-relational source. Each field is contained in the scanned tables listed In the REP_SEG_FLOS view. ‘The following table ists source field information in the REP_SRC_FILE_FLOS and REP_SEG_FLOS views: ‘Column Name type Description FIELD_O INTEGER Feld 1D (primary key) SUBJECT AREA \VARCHARZ (240) | Folder name. FILE IO INTEGER ‘Source ID (primary ko). FIELD_NAME ‘VARCHAR (240) | Feld name. FIELD_LEVEL NUMBER Fld evel or example, 01 and 02). FIELD_NUMBER NUMBER ‘Order number of he fl FIELD_DESCRIPTION | VARCHAR2 (2000) | Comments for his Fld PICTURE _TEXT VARCHAR? (240) | PIC clause ‘occurs NUMBER "Number of oocURS, REDEFINES FIELD \VARCHARZ (240) | Redotines wis Fo Key_TYPE NUMBER Key type. t= primary kay; 0= nota Key DISPLAY_OFFSET NUMBER ‘Offset using esp lant DISPLAY_LENGTH NUMBER Disa length, PHYSICAL_OFFSET | NUMBER Physical off PHYSICAL_LENGTH | NUMBER Physical length USAGE_TYPE \VARCHAR2 (240) | COMP type (binary compressed field) DATA_PRECISION NUMBER ‘Decimal precision fr numeric elds old length fr CHAR falas. DATA_SCALE: NUMBER Decimal scale for numeric fils. HILD_1O NUMBER Link to cil fl i this sa group tom, SIBLING_IO NUMBER nk to nent fil at this level VERSION_D NUMBER Unk to nox fold at this lve 'SRC_VERSION.NUMBER | NUMBER Version number ofthe source. 162 Chapter 15: Using Metadata Exchange (WX) Views REP_SRC_TBL_FLDS This view provides accoss tothe fields in relational sources. Use the source name to retrieve all the fields bolonging tothe source. The columns inthis view are part ofthe tables listed in the REP_SRC_TBLS views. ‘The following table ists relational source fields in the REP_SRC_TBL._FLOS view: ‘Column Name Datatype Description CCOLUMN.NAME. VARCHAR? (240) | Fait name, ‘COLUMN_BUSNAME VARCHAR? (240) | Business name of he fl CCOLUMN_IO* INTEGER Fil 10 (primary ke). SUBJECT_AREA* VARCHAR? (240) | Folder name TABLE_ID INTEGER Source table. TABLE NAME VARCHAR? (240) | Table name. ‘TABLE_BUSNAME VARCHAR? (240) | Business name ofthe table, ‘COLUMN_NUMBER INTEGER (Order numberof the ealums, COLUMN_DESCRIPTION | VARCHAR? (2000) | Deserption ofthe column. KEY_IVPE VARCHAR? (50) | Key ype or this column. SOURCE_TYPE VARCHAR? (40) | Datatype fortis column, DATA PRECISION INTEGER Decimal precision for numer liso ld length for CHAR Foes DATA_SCALE, INTEGER Decimal scale for numete lds. NexT_COLUMND INTEGER LUnk to neti in source tale. VERSION INTEGER Folder version LVERSION_NAME VARCHAR? (240) | Folder version name. SOURCE_VERSION_NUMBER | NUMBER Source version number “Inicaes that the column is Target Views Target views provide alist of the latest version of al target definitions defined by folder of a PowerCenter repository for both relational and non-relational sources. These views also show target properties such as shorteuts, creation date, version, description, and business name. They also provide information such as target columns, column properties, target metadata extensions, and mappings and mapplets where these target are used ‘The following table ists the different views that help you analyze target metadata: View Description REP_ALL_TARGETS This view provides alto the latest version of al agets defined in each folder of arepostory REP_ALL_TARGETFLOS | This ew provides allthe feds and field properties fr targets desned in REP_ALL. TARGETS vow. REP_TARG.TALS “This view provides a ist of targets in the repository. FIRST_COLUMN_ID is nk {othe 96 feels for ths lable, REP_TARG_TL_COLS | This view provides the properties of columns defined forthe target ables in & dala warehoute of data mar. REP_ALL_TARGETS This view provides a ist ofthe atest version of all targots defined in each folder of a repository. Targets include both relational and non-relational targets such as XML files and fat files. For global shortcuts, the ‘name of the shortcut appears, For local shortcuts, the names of shorteut and the parent targets display. The following table ists target details in the REP_ALL_TARGETS view: ‘column Name Datatype Description PARENT_SUBJECT_AREA VARHAR® 240). | Parent ‘der rane PARENT SUBJECT 1D" NUMBER Foor PARENT.TARGET_NANE VARCHAR® (240). | Target name PARENT TARGET BUSINESS_NAME | VARCHARZ (240) | Business name forthe target. PARENT.TARGET O° NUMBER ‘TargtiD (nary ky. PARENT TARGET_DESCRIPTION | VARCHAR2 2o00) | Targat destin. PARENT.TARGET_VERSION_NUMBER® | NUVBER ‘Target version number PARENT TARGET VERSION STATUS | NUVBER ‘aus ofthe parent target varsion PARENT. TARGET_UTC_CHECKN | NUMBER UTC te (Coorsnsed Universal Tine) when the paant target was chockd in PARENT_TARGET_UTC_LAST_SAVED | NUVBER UTC tne when the target was ast sved. PARENT. TARGET LAST SAVED VARCHAR2 (30) | Tmo when the target was at saved PARENT TARGET_FIRST_FIELD_O* | VARCHAR Link fisted of his table PARENT, TARGET_CONSTRAINT VARCHAR® 2000) | User-speciiod consti sting used when the DDL is generated PARENT.TARGET_CREATE_OPTIONS | VARCHAR? (2000) | Options for use when generating DDL. 164 Chapter 15: Using Metadata Exchange (WX) Views ‘Column Name Datatype Description PARENT TARGET.FIRSTINDEXO* | NUVBER Link est ld of his tab. PARENT TARGET_FILEO NUMBER 1D forthe parent target fl PARENT TARGET_DATABASE_TYPE | VARCHAR® (50) | Database typo forthe paant rot SUBIECT AREA VARCHAR® (240). | Foliar name. SUBIECT IO" NUMBER Foe, TARGET NAME. VARCHAR® (240). | Target name TARGET JO" NUMBER Target. TARGET DESCRPTION| ‘VARCHAR2 (2000) | Target dosrston. TARGET_VERSION_NUVBER® NUMBER “Target version numba TARGET_VERSION_STATUS NUMBER Slats of the target vrin. TARGET _UTC_CHECKIN NUMBER UTC time (Coorsnsta Urvarsl Tine) when the age wa last chockan TARGET _UTC_LAST_SAVED NUMBER UTC time whan te target was ast sved TARGET LAST SAVED YVARCHAR® (20) | Timo when the target was at saved REPOSITORY_NAME VARCHAR® (240). | Repostoy name Is SHORTCUT NUMBER Spoctoswhator he ago a short 18_GLOBAL_SHORTCUT NUMBER Species whether the targets a slobal ote, 41 = sharteut = naa share “Incicates that the column is a key column. REP_ALL_TARGET_FLDS This view provides all the fields and field properties for targets defined in REP_ALL_TARGETS view. For Global shortcuts, the shortcut name appears. For local shortcuts, the names of the shortcut and the parent targets display. The following table lists target field data in the REP_ALL_TARGET_FLDS view Column Name Datatype Description PARENT _SUBJECT_AREA VARCHAR? (240) | Folder name PARENT_SUBJECT ID" NUMBER Fober ID Target Views 165, ‘Column Name Datatype Des iption PARENT. TARGET_NAME \VARCHARZ (240) Name of parent target, PARENT.TARGET_BUSINESS,NAME \VARCHAR2 (2000) Business name ofthe parent target, PARENT. TARGET [O° NUMBER Pi nt target. PARENT.TARGET_DESCRIPTION PARENT. TARGET_VERSION, NUMBER" VARCHAR? (2000) Descplion of parent large. NUMBER ‘Target version number PARENT TARGET_VERSION sTaTUS | NUMBER Slats othe parentage version PARENT TARGET_UTC_CHECKN | NUMBER UTC timo (Coorsnatd Unvarsl Tne) when the paant large waslaschaced in. PARENT.TARGET_UTC_LAST_SAVED | NUVBER UTC tme when ne parent target was lst saved PARENT.TARGET_LAST_SAVED YVARCHAR® (30) | Time when the parent iret was ast ines PARENT.TARGET FILE_IO* NUMBER 10 ot parentage fe PARENT.TARGET_DATABASE_TYPE | VARCHAR2 (60) | Databac ype of parantarget SUBJECT_AREA VARCHAR® (240). | Folie name SUBIECT_10* NUMBER Foto, TARGET_NAME: VARCHAR® (240). | Target name TARGET |O* NUMBER Target. ‘TARGET _DESCRIPTION VARCHAR? (2000) Target description. TARGET. VERSION _NUVBER® NUMBER “Target version number TARGET VERSION STATUS NUMBER ‘Slats othe target version. TARGET _UTC_CHECKIN NUMBER UTC tme when the target was ast chckes in TARGET _UTC_LAST_SAVED NUMBER UTC te when he target was ast saved TARGET LAST SAVED VARCHAR2 (30) | Timo when argo wa ast saved TARGET FIELD_NAVE VARCHAR® (240). | Target eld name TARGET FIELD_BUSNESS NAME | VARCHARZ 240) | Busines namo ofrgl Fld TARGET FIELD IO" NUMBER ‘Target eld. ‘TARGET FIELD_DESCRIPTION \VARCHAR2 (2000) Desepin of target fl 185 Chapter 15: Using Metadata Exchange (WX) Views ‘Column Name Datatype Description ‘TARGET FIELD_NUMBER VARCHAR? (240) | Target fold numbor. ‘TARGET FIELD _NEXT_FIELO_I NUMBER 1D ofthe next fel in target ‘TARGET FIELD_PICTURE_TEXT VARCHAR? (240) | Picture text that COBOL sources us, ‘TARGET FIELD _18_ NULLABLE NUMBER ‘Species whether target fli ul = Nut t= Not Nu TARGET FIELD_SOURGE_FIELD_IO* | NUMBER Unk to souroe tam which this ld was created ‘TARGET_FIELD_KEY_TYPE NUMBER Key ype of target ld ‘TARGET FIELD_DATATYPE YVARCHARZ (240) | Datatype of target fd TARGET FIELD_DATATYPE_GROUP | CHAR(1) Datatype group codes. B= Binary and Bt C= Character, Sting Text, and Byte D= Date N= Numeric and Monsy ‘TARGET FIELD_PREGISION NUMBER rection fr trget el TARGET FIELO_SCALE NUMBER Sea for target lt REPOSITORY NAME VARCHAR® 240). | Repository name is SHORTCUT NUMBER Spectos wheter he large isa shortcut 1 shoteut 0 = nota share 15 GLOBAL, SHORTCUT NUMBER Spoctos wheter he ago a gabl shorteu. 15 shortest rota short “Indicates that the column is a key clumn. REP_TARG_TBLS This view provides a ist of targets in the repository. FIRST_COLUMN.ID is alink to the set of columns for this table. All tables contained inthe target table model are part of this view. Itis the primary table lst used to delineate a PowerCenter data model, The tables are virtual, not physically created. Therefore, verify that the table exists before you use this view, The following table ists the columns in the REP_TARG_TBLS view: ‘Column Name Datatype Deserption SUBJECT AREA" VARCHAR? (240) | Folder name. ‘TABLE,NAME YVARCHARZ (240) | Table name. Target Views 167 ‘Column Name Datatype Description BUSNAME VAROHAR2 240). | Table busnass name VERSION_1O INTEGER Folder version. VERSION NAME VARCHAR2 240). | Folder version nano DESCRIPTION \ARCHAR2 2000) | Desripton of ha FIRST_COLUWN 10 INTEGER Lint first el of is tate ‘TABLE CONSTRAINT ‘VaRCHAR2 (2000) | Table contait pected nthe Tare! Desgnr. ‘CREATE OPTIONS YVARCHAR2 2000) | Table creation options specie in he Target Designer. FIRST_INDEX.10| INTEGER Lin fet nx UST SAVED YVARCHAR® (30) | Tine target able was fst saves TARGET_VERSION, NUMBER’ | NUVBER Target version umber. SUBIECT_IO* NUMBER Folder TABLE_IO* NUMBER Tate “Indicates that the column sa key column REP_TARG_TBL_COLS This view provides the properties of columns defined for the target tables in a data warehouse or data mart. The following table lists target table column properties for the REP_TARG_TBL_COLS view: Column Name Datatype Description SUBJECT_AREA® VARCHAR (240). | Folie name TABLE, NAME® VARCHAR® (240). | Table this cluma blogs TABLE, BUSNAME VARCHAR® (240). | Busnese name othe table ‘COLUMN.NANE VARCHAR® 240). | Column name. ‘COLUMN, BUSNAME VARCHAR® (240). | Busness name of hie calunn ‘COLUMN _NUVEER INTEGER (nde ube ofthe column. ‘COLUMN 10° INTEGER Catan 1 orimary ke. VERSION_IO INTEGER Folie version. VERSION NAME" VARCHAR® (240). | Folie vrsion namo. 188 Chapter 15: Using Metadata Exchange (WX) Views ‘Column Name Datatype Description DESCRIPTION VARCHAR? (2000) | Column esctipton. ‘COLUMN_KEYTYPE. VARCHARZ (50) Fersign Key, Primary and Foreign Key. DATATYPE VARCHAR? (40) | Native databate datatype. DATATYPE_GROUP (CHAR (1) Datatype group. = Character D= Dawe N= Numeric DATA_PRECISION INTEGER Decimal precision for numeric liso el length for (CHAR Fees. DATALSCALE: INTEGER Decimal scale fr numeric columns, NEXT_COLUMN_1D INTEGER Unk to net eoluma, 15 _NULABLE INTEGER Wether NULLS are sceple. SSOURCE_COLUMN1D| INTEGER Unk to source this column was cated fom. TARGET_VERSION NUMBER | NUVBER “Target version number. “Indicates that the column is a key column. Mapping and Mapplet Views Mapping and mapplet views allow you to see the sources, targets, and transformations used in a mapping or a mapplet by folder in a PowerCenter repository. These views also display properties of mappings and ‘applets such as description, version and creation date, validty of the mapping or mapplet, and whether the ‘mapping or mapplet isa shortcut \When you save MX data for mappings, PowerCenter creates a feld exprassion for each target feld in the mappings. The field expression describes the source definition and transformation corresponding to the target feld. In addition to viewing the MX data in MX views, you ean view the field expressions in the Main window of the Repository Manager when you analyze source-target dependencies. Note: MX views do not provide field expressions forall ransformations. MX views provide field expressions for Expression, Aggregator, Rank, Lookup, Stored Procedure, External Procedure, Router, Custom, and Normalizer transformations. All other transformations produce NULL values in the TRANS_EXPRESSION column for views such as the REP_TARG_FLD_MAP view. Mapping ard Mapplet Views 169 7 ‘The following table ists the different views that help you analyze mapping and mapplet metadata: View Description REP_ALL_MAPPINGS ‘This view provides ast o the lates version of ll mappings defined in ‘ach olter of a epost. REP_ALL_APPLETS ‘This view provides alist of the nts version of llmappets detined in ‘ach folter of a epost. REP_TARG.NAPPING This view provides access othe compound table-evel transformation ‘expressions foreach lage able REP_TARG_FLD_MAP ‘This view shows compound felt levelansforation expressions associated witha target REP_FLO_MAPPING ‘This view shows he source fs used by the argat feds in@ mapping. This iste companion view forthe REP_TBL, MAPPING view. REP_SRC_MAPPING ‘This view shows all sources used in a maping REP_SRO_FLD_NAP. This view shows all ofthe source Feldsused ina mapping REP_TBL_MAPPING “This view shows allo the target tables use in a mapping and provides Source to target mapping information REP_TARG_TBL_JONS This iw conan jon information between target ables REP_MAPPING_CONN_PORTS ‘This view displays the porlevel connections between the objects of & mapping. REP_MAPPING_UNCONN.PORTS ‘This view displays te unconnected pots in sources, target ‘ransfrmations ina mapping, and REP_ALL_MAPPINGS shortcut appears, This view provides alist ofthe latest version of all mappings defined in each folder of a repository. shortcuts, the names of the shortcut and the parent mappings display. For lobal shortcuts, the nay The following table ists mapping information in the REP_ALL_MAPPINGS view: For local ame of the ‘Column Name Datatype Description PARENT_SUBJECT_ARER* VARCHAR? (240) | Patent older name. PARENT _SUBJECT 1D" NUMBER Prent flder 1D. SUBJECT_AREA VARCHAR? (240) | Folder name SUBJECT.10* NUMBER Folger 1. PARENT.MAPPING_NAME VARCHAR? (240) | Name ofthe parent maping PARENT.MAPPING_IO* NUMBER Sequence ID ofthe parent mapping ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description PARENT_MAPPING VERSION NUMBER” | INTEGER Parent mapping version ube. PARENT MAPPING VERSION STATUS | NUMBER Pent mapping version sats, PARENT MAPPING UTC.CHECKN | NUVBER UTC tino (Coord Univeral Tino) when the patnt mapping was enacked in PARENT.MAPPING_UTC.LAST_SAVED | NUVBER UTC time when maping was lst saved, PARENT MAPPING LAST SAVED NUMBER Date ad tine whan parent mapping was last saved PARENT MAPPING 1S, VALID NUMBER Spaces whter he parent mappings vale. PARENT.MAPPING_DESCRIPTION \VARCHAR2 (2000) Parent napping description MAPPING _NAME VARCHAR? (240) | Name of mapping MAPPING_O* NUMBER Sequence ID for mapeing, MAPPING_VERSION_NUMBER* NUMBER Napping version number. MAPPING_VERSION_STATUS NUMBER Status ofthe mapping version. MAPPING_UTC_CHECKIN| NUMBER LUTC time when the mapping was checked in MAPPING _UTC_LAST_SAVED NUMBER UTC ime when the mapping was lst saved. MAPPING_LAST_SAVED NUMBER ‘Time when the mapping was lst saved MAPPING _DESCRIPTION VARCHAR? (2000) | Mapping description REPOSITORY_NAME VARCHAR2 (240) | Rapostory name. 1S_GLOBAL_SHORTCUT NUMBER Species whether he mapping i lobal serteut, 41= shortcut = no a shore Is_SHORTOUT NUMBER Species wheter ine mapping is a shortcut += sharteut = nota short “Indcstes that the column fs a key column. REP_ALL_MAPPLETS This view provides alist ofthe latest version of all mapplets dofined in each folder of a repository. For local shortcuts, the names of the shortcut and the parent mapplets display. For global shortcuts, the name of the shortcut appears. Mapping ane Mapalt Views ” ‘The following table ists mapplet metadata In the REP_ALL_ MAPPLETS view: ‘Column Name Datatype Description PARENT_SUBJECT_AREA \VARCHARZ (240) | Parent folder name. PARENT _SUBJECT 1D" NuMBER Parent foler 1. ‘SUBIECT_AREA \VARCHARZ (240) | Folder name SUBJECT.I0* NUMBER Folder 10. PARENT.MAPPLET NAME ‘VARCHARZ (240) | Name of arent mapplet, PARENT.MAPPLET.ID* NUMBER ‘Sequence 0 of paront mapple. PARENT_MAPPLET.VERSION_NUMBER® | INTEGER Field 1D (primary ke). PARENT.MAPPLET.VERSION STATUS | NUMBER Parent mapplel version satus PARENT.MAPPLET_UTC_CHECKIN | NUMBER UTC time (Coordinated Universal Time) when the parent maple was checked in PARENT_MAPPLET_UTC_LAST.SAVED. | NUMBER Te UTC mewhen nappa waslot PARENT.MAPPLET.LAST_SAVED NUMBER ‘The date and time when parent mapplet was last saved, PARENT MAPPLET.IS_VALID NUMBER ‘Species whether the paren mappa is vali PARENT,MAPPLET DESCRIPTION ‘vaRCHAR2 (2000) | Parent mapplet description. MAPPLET_NANE: ‘VARCHAR (240) | Name ofmapplet. MAPPLET 10° NUMBER applet 1. MAPPLET_VERSION NUMBER" NUMBER applet version umber. MAPPLET_VERSION_STATUS NUMBER ‘Status ofthe mapplet version MAPPLET_UTC_CHECKIN NUMBER UTC time when the mappet was checked MAPPLET_UTC.LAST_SAVED NUMBER LTC time when the mappet was last save. MAPPLET_LAST_SAVED NUMBER Time when the mapplet was ast saved MAPPLET_DESCRIPTION ‘VARCHAR? (2000), applet dscrpton. REF_WIDGET_1O* NUMBER Foreign key hat points to generated ‘mapplettransfrmaton. REPOSITORY_NAME \VARCHAR2 (240) | Repostory name. 172 Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description 1s_GLOBAL_sHORTCUT NUMBER ‘Specs whether the mappet is 2 global shortcut 1 = shortcut: 0 = not a shortcut 1s_SHORTOUT NUMBER ‘Specs whether the mappet is a shortcut 1 = shout; 0= nota shotet, “Inccaes that the column sa kay column REP_TARG_MAPPING This view provides access to the compound table-level transformation expressions for each target table. This View pulls information from all the transformation objects that contribute to the target table ina valid mapping ‘This view contains information about mappings defined for target tables, t does not contain information about Note: Use the REP_TBL_MAPPING view to analyze source and target relationships. Join REP_TBL_MAPPING and REP_TARG_MAPPING by MAPPING_NAME to include column-level mapping Information in the REP_FLO_MAPPING view. The following table lists expression information in the REP_TARG_MAPPING view: Column Name Datatype Description ‘TARGET NAME" VARCHAR2 240) | Targetrame, TARG_BUSNAME \VARCHAR2 (240) | Targetbusiness name SUBIECT AREA VARCHAR? (240) | Folderrane MAPPING NAME VARCHAR? (240) | Mapping name. VERSION_10 INTEGER Folder varsion VERSION. NAME VARCHAR? (240) | Foldr version nama SOURCE. FILTER ‘aRCHAR2 2000) | Compound source ite conn, ‘CONDITIONAL LOAD ‘VARCHAR? (2000) | Compound conditorsl bss GROUP_BY CLAUSE ‘VARCHAR2 2000) | Compound group by expression S01_OVERRIDE \VARCHAR2 2000) | Compound SOL over expression, DESCRIPTION YVARCHAR2 (2000) | Description of wanstommtion expression. MAPPING. COMMENT VARCHAR? 2000) | estpion of mapig MAPPING LAST_SAVED \VARCHAR2 (0) | Tine tho mapping was save ast. MAPPING VERSION.NUMBER | NUMBER ‘Mapping version runtr. Mapping snd Mapplet Views 173 ‘Column Name Datatype Description ‘TARGET _VERSION_NUMBER NUMBER Targot version number. “Inicaes that the column is key column. REP_TARG_FLD_MAP This view shows compound fiold-ovel transformation expressions associated with a target. This view pulls information from all ransformation objects that contribute tothe target table in a valid mapping. There might ‘be many mappings fora set of fields, each distinguished by the MAPPING_NAME field. The feld-evel ‘expression contains all the source fields (both fle definion/non-relational source) that determine the value of the target field ‘The following table ists expression motadata thal you find in the REP_TARG_FLD_MAP view: ‘column Name Datatype Description ‘TARGET _COLUNN NAME VARCHAR? 240) | Namo of target ld abel, ‘TARG_COL_BUSNANE \VARCHAR2 240) | Busnes name of ters ld TARGET_NAME: YVARCHAR2 240) | Name oftaret (abe. TARG_BUSNAME VARCHAR® (240) | uenes name of target able SUBIECT_AREA YVARCHAR@ (240) | Foliernane, MAPPING NAME VARCHAR2 240) | Mapping name VERSION_1O INTEGER Foor version VERSION NAME VARCHAR2 (240) | Faldervarson rane ‘TRANS EXPRESSION VARCHAR? 2000) | Compound tanfomation oxen USER_COMMENT VARCHAR? 2000) | End user comment 84_COMNENT vaRcHAR2 2000) | Admirisrator eorment MAPPING COMMENT. YARCHAR® 2000) | Wapping common MAPPING AAST_SAVED YVARCHAR® (30) | Tima the maping was saved last. MAPPING VERSION NuMBER | NUMBER \Vapprgvarslonrunber. ‘TARGET VERSION NUMBER NuMBER “Target version number. REP_FLD_MAPPING ‘This view shows the source fields used by the targat fields in a mapping. This isthe companion view for the REP_TBL_MAPPING view. It contains both source and target column names and details. {ATA Chapter 15: Using Metadata Exchange (MX) Views ‘The following table ists the source and target field metadata in the REP_FLD_MAPPING view: ‘Column Name Datatype Descriptions: SOURCE FIELO_NAME® \VARCHAR? (240) Name ofthe source eld 'SRC_FLO_BUSNAME VARCHAR? (240) ‘Business name ofthe source fl ‘SOURCE_NAME \VARCHARZ (240) "Name ofthe source table SSRC_BUSNAME VARCHAR? (240) Business name ofthe source table ‘TARGET_COLUNN_NAME* \VARCHARZ (240) Name ofthe target fel TARG_COL,BUSNAME. VARCHAR? (240) Business nama ofthe TARGET_NANE: VARCHAR® (240) | Target nae. TARG_BUSNAME VARCHAR® (240) | Businoss name of the target SUBIECT_AREA™ VARCHAR® (240) | Foler name SUBIECT IO" NUMBER Folder MAPPING _NAME VARCHAR? (240) "Name of the maping VERSION. NUMBER Folder version 1. \VERSION_NAME VARCHAR? (240) Folér version name ‘TRANS EXPRESSION \VARCHAR2 (2000) argo field vansformatonexprosion, USER_COMMENT VARCHAR? (2000) End user comment DBA_COMMENT \VARCHAR2 (2000) ‘Adminsator comment. MAPPING _COMMENT VARCHAR? (2000) Napping comment MAPPING LAST SAVED VARCHAR® (240) | Timo th mapping was saved lst. MAPPING NUMBER \aperg version runer. VERSION, NUNBER* SOURCE_VERSION NUMBER | NUMBER ‘Souro version umber. TARGET_VERSION.NUMBER* | NUNBER Target version number. SOURCE.10" NUMBER Souro ible TARGET 10" NUMBER “Target table 10. MAPPING_O* NUMBER Mapping. “Indicates that the column i a key column. Mapping ane Mapalt Views 15 REP_SRC_MAPPING This view shows all sources used in a mapping. Query this view by MAPPING_NAME and VERSION_NAME. ‘A mapping might contain several sources, This view contains the mapping names defined for an individual source table. It does not contain information about the targets involved in a mapping. The REP_TBL_MAPPING view contains the entire source and target mapping relationship. ‘The following table ists mapping source metadata in the REP_SRC_MAPPING view ‘Column Name Datatype Description SOURCE_NAME VARCHAR? 240) | Name ofthe sou. SOURCE 10 NumBeER Source 1 SRC_BUSNAME: VARCHAR2 240) | Business name of source able SUBIECT AREA aRoHAR2 240) | Fedor name SUBIECT_IO* NUMBER Felder MAPPING NAME vaRoHAaR® 240) | Maing nam. MAPPING O° NUMBER Marri . VERSION 10 INTEGER Felder veron ©. VERSION, NAME YVARCHAR® 240) | Folder version name. MAPPING COMMENT VaRCHAR® 2000) | Waping comment MAPPING AAST_SAVED VARCHAR® (30) “Time the mapping was at saved MAPPING_ VERSION" NUMBER NuMBER Mapping version umber. SOURCE_VERSION.NUMBER™ ‘NUMBER Sours version number. “iicates tha teen a key column REP_SRC_FLD_MAP This view shows all ofthe source flelds used in a mapping. The transformation exoression corresponds to the target felds that get data from a particular source field, This view creates these expressions by pulling information from all transformation objects that contribute to the target table in a valid mapping. The following table sts mapping source felds: ‘Column Namo Datatype Description SOURCE. FIELO_NANE® VARCHAR? (240) | Source Feld name SRC_FLO_BUSNAME VARCHAR® (240) | Buslnass name ofthe fl SOURCE_NAME® VARCHAR? (240) | Name ofthe source. 178 Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description SRC_BUSNAME: VARCHAR® (240) | Businass name ofthe source ale SUBJECT AREA vaRCHAR (240) | Folder name MAPPING_NAME™ vancuare (40) | Nan ofthe mapping VERSION_10 INTEGER Folder version. VERSION NAME VARCHAR® (240) | Feder version nam. ‘TRANS EXPRESSION ‘VARCHAR? (2000) ‘Compound target. Felt transformation expression USER_CONMENT VARCHAR? (2000) End user comment DBA_COMMENT ‘VARCHAR? (2000) ‘Rgminsatar comment MAPPING _COMMENT VARCHAR? (2000) Mapping comment MAPPING_LAST_SAVED VARCHAR? (30) Tine the mapping was saved last. SOURCE_VERSION_NUMBER | NUMBER ‘Soure version number, TARGET_VERSION.NUMBER | NUVBER Target version sumbor. “Indicates that the column sa key column. REP_TBL_MAPPING This view shows all ofthe target tables ed in a mapping and provides source to target mapping Information. This view pulls information from all transformation objects thal contribute tothe target table In a valid mapping to provide the tabl level expressions. The following table ists mapping target metadata in the REP_TBL_MAPPING view: Column Name Datatype scription SOURCE, NAME" VARCHAR2 (240) | Namo ofthe sure abject SOURCE ID" NUMBER Source 1. SRC_BUSNAME: VARCHAR2 (240) | Busines name of he source TARGET_NANE: VARCHAR® (240) | Target name TARGET |0" NUMBER Target O TARG_BUSNAME VARCHAR® (240) | Business name ofthe age, SUBIECT AREAY VARCHAR® (240) | Folderrane, SUBIECT NUMBER Foor 10 Mapping ane Mapalt Views 7 ‘Column Name Datatype Description MAPPING, NAME VARCHAR® 240) | Name ofthe mapping MAPPING O° NUMBER epeng VERSION_10 INTEGER Foor vrsion VERSION NAME VARCHAR? (240) | Folder version rane SOURCE.FILTER VAROHAR® 2000) | Compound sours fe onston ‘CONDITIONAL,LOAD ‘vaRcHAR2 2000) | Compound condtonal as GROUP_BY CLAUSE YVARCHAR® 2000) | Compound group by cus. S01 OVERRIDE ‘aRCHAR® 2000) | Compound SAL overdo expresin. DESCRIPTION YVAROHAR® 2000) | Dessrpton of nstomaton MAPPING COMMENT ‘vaRcHAR2 2000) | Mapping comment MAPPING LAST_SAVED YVARCHAR® (240) | Tima the maping was saved ast MAPPING_VERSION NuMBER’ | NUMBER \Vappngvrslonrunber. SOURCE_VERSION.NUMBER* NUMBER Source version umber. ‘TARGET VERSION, NUMBER* NUMBER Targt vorion number. “inicates that the column sa Key comm REP_TARG_TBL_JOINS This view contains join information between target tables. Use this view to query the PowerCenter defined joins fr a target table model. It is populated when you lnk fields in the Target Designer of through primary key-foroign key relationships. ‘The following table ists target table join metadata in the REP_TARG_TBL_JOINS view: ‘column W Datatype Description SUBIECT AREAY VARCHAR (240) | Feldorrame VERSION_1O NuMBER Felder version. VERSION, NAME VARCHAR® 240) | Fold vrsion name TABLEI_NAME \VARCHAR? (240) | Name of fest tse inthe jin TABLE, BUSNAME VARCHAR® 240) | Bunnas namo of rt bl. TABLE IO" NUMBER 10 of fest able int jin 178 Chapter 15: Using Metadata Exchange (WX) Views ‘Column Name Datatype Description ‘COLUMN NAME VARCHAR® 240) | Namo of lum in st abe ‘COLUMN_BUSNAME VARCHAR® 240) | Business name of column fist tbl. ‘COLUMN NUVEER NUMBER Numbor of clunn in fist bb. ‘COLUMN O° NuMBER 10 of clan in fst bb. TABLE2 NAME \VARCHAR2 (240) | Name of second tbl in te join ‘TABLE? BUSNAME VARCHAR® 240) | Buns name of second tbl TABLED" NUMBER 10 of sacond tate in ten. ‘COLUWN2. NAME VARCHAR2 240) | Name of eaumnin second able ‘COLUYN2_BUSNAME ‘VARCHAR? (240) | Business name of column in scond tt ‘COLUMN, NUVEER VARCHAR® 240) | Number of eaunn secon able, ‘COUN NUMBER 10 of column in seco able, TABLE! VERSION NUMBER | NUMBER Tabet varion number TABLE2_VERSION.NUMBER | NUMBER ‘Table version ruber, “indicates tha the ean ake ctu REP_MAPPING_CONN_PORTS This view displays the port-level connections between the objects of a mapping. Objects include sources targets, transformations, and mapplets. Unconnected transformations are not included vel connection metadata in the REP_MAPPING_CONN_PORTS view: The following table lists port ‘Column Name Datatype Description ‘SUBIECT_IO" NUMBER Folder 1. SUBJECT_AREA VARCHAR (240) | Folder name MAPPING 0° NUMBER ‘Sequence ID for he mapping (ximary key) MAPPING_NAME VARCHAR? (260) | Mapping name. MAPPING_VERSION_NUMBER’ | NUMBER. Napping version number FROM_OBJECT_IO* NUMBER Source object Ib, FROM_OBJECT_TYPE NUMBER Source objec type FROM_OBJECT_TYPE,NAME \VARCHAR2 (240) | Name ofthe source abject ye. Mapping ond Mapplet Views 178 180 ‘Column Name Datatype Description FROM_OBJECT,NANE. VARCHAR (et) | Source objet rane FROW_OBIECT.NSTANCE.1D" | NUMBER Source bjt instance. FROM_OBJECT.FIELD_NAME | VARCHAR2 240) | Source objet fel namo. FROM_OBJECT.VERSION,NUNAER | NUMBER ‘Source objet version umber. 0 OBIECT IO" NUWBER “Target bjt ‘To oBiECT_TVPE NuMBER “Target bjt ype sueh at por, target, applet, and vansfomaton, TO_OBJECT_TYPE_NAME \VARCHAR2 (240) | Target object ype name, TO_OBJECT_NANE "VARCHAR? (240) Target object nae, ‘TO_OBJECT_INSTANCE_D* NUMBER Targot objetinstace 1D. TO_OBJECT_FIELD_NAME "VARCHAR? (240) Target objet fed name, ‘TO_OBJECT_VERSION,NUMBER’ | NUMBER Target object version number “Incicaes that the column is a ky column. The following table lists unconnected port metad: REP_MAPPING_UNCONN_PORTS This view displays the unconnected ports in sources, targets, and transformations in a mapping. in the REP_MAPPING_UNCONN_PORTS vie Column Name Datatype Description SUBJECT_AREA VARCHARZ (240) | Folder name ‘SUBIECT_10° NUMBER Folder 1D (pray key). MAPPING _NAME VARCHAR? (240) | Name ofthe mapping, MAPPING_0* NUMBER Sequence ID forthe mapping (primary key) MAPPING_VERSION NUMBER’ | NUMBER Mapping version number. COBJECT_INSTANCE_NAME | VARCHAR2 (240) | Name of the instance. ‘OBJECT INSTANCE 10" ‘NUMBER \Ungue 10 forthe inelance ina mapping, OBJECT_TVPE NUMBER Object ype ‘OBJECT_TYPE, NAME. ARCHARZ (240) | Object ype name. FIELD_O* NUMBER Source fl 1D (primary ke). ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description FIELO_NAME VARCHAR (240) | Source fold name. ‘OBECT_VERSION NUMBER’ | NUMBER Version number ofthe source target, oF transormation| “Ynlcates that the column i a key column. Metadata Extension Views Metadata views allow you to see metadata extens for objects in metadata extension domains. n details including reusable metadata extensions defined The following table ists the different views that help you analyze metadata extensions metadata view Jeseription REP_METADATA_EXTNS ‘This view display the detals of all metadata extensions inthe repository REP METADATA EXTN,DEFINES | This vow dspays reusable metadata exonsons define fr objec in smetagata exenson domain, REP_METADATA_EXTNS This view displays the details ofall metadata extensions in the repository The following table lists metadata extension information in the REP_METADATA_EXTNS view. ‘Column Name Datatype Description SUBIECT_IO* NUMBER Foie, METADATA. BXTN_NAME VARCHAR? (240). | Matadata exorson rare, METADATAEXTN_OBIECT_TYPE | NUMBER (Object ype the metadata is assocsted wih METADATA OXTN_oBIECT 1D" | NUMBER (Object metadata vals assole wth METADATALEXTN_DATALTYPE | NUMBER Datatype ofthe metadata extension value. PERMISSIONS NUMBER Porson ype METADATAEXTN_VALUE VARCHAR® 2600) | Metadata extension va. LINE. No NUMBER Line runt of tho txt whan thar ro multiple tins of et METADATAEXTN_DESCRIPTION | VARCHAR? (200) | Destpton of he meade extension Metacata Extension Views 181 ‘Column Name Datatype Description VERSION NUMBER? NUMBER (bjt vorsin numba. ‘OBIECT_TYPE_NAWE NUNBER Name ofthe objet ype DOWAN 1° NUMBER Global unique domain donor DOMAIN NAME VARCHAR® (240). | Une name fora user-defined metadata domsin. DOWAN KEY vaRckare (to) | Domain key. DOWANN_USAGE NUMBER Species domain uage main is visible through cent oo, 2= Domains ett main has ful acess without key. trough cent too DOMAIN DESCRIPTION VARCHAR? (2000) | Domain description. REP_METADATA_EXTN_DEFINES Trans 182 chapter This view “Incicaes that the column is a key column. plays reusable metadata extensions defined for objects in metadata extension domains. The following table lists information in the REP_METADATA_EXTN_DEFINES view: ‘Column Namo Datatype Description DOWANNANE VARCHAR® 240) | Unique name fora user-deres dons DOWAN 1 NUWBER ‘loally nique doman dontr. METAEXT.NAME: VARCHAR? (240) | Unique name for metadata within @ domain. (OBJECT_TYPE_NAME YVARCHAR® (240) | Objet type name. DATABASE_TYPE VARCHARZ 240) | Nam othe celabase pe METADATAEXTN_DESCRIPTION | VARCHARZ 2000) | Descrpon fhe metadata extension. ‘VENDOR NAME aRCHAR® 240) | Name of formation Views Transformation views display details ofall reusable and nom- “Indicates thatthe column isa key column. usable transformation instances by folder in a PowerCenter repository. These views also display properties such as attributes, dependencies, port-level ‘connections, and field level details of transformations. 18: Using Metadata Excharge (WX) Views ‘The following table ists the different views that help you analyze transformation metadata: View Description REP_ALL_TRANSFORMS. This view provides alist ofthe latest version of al ransformations and tele ‘rope in each okie af 2 raposioy REP_WIOGET.INST This view displays the detals of al tansformaton instances, REP_WIOGET,DEP This viw displays the dotals of dependences belween transformation instancas ina mapping REP_WIDGET_ATTR This view displays attribute dell for ansformations instances, and sessions REP_WIOGET_FIELD This view displays Fe lvel details for ransformatons. REP_ALL_TRANSFORMS This view provides alist ofthe latest version of all ransformations and their properties in each folder of @ repository. This view displays both reusable tr sformations defined in the Transformation Designer and transformation instances defined in mapping and mapplets. It also shows ll shortcut transformations in & folder. For local shortcuts, the names of the shortcut and the parent transformation display. For global shorteuts, the name ofthe shortcut appears. The following table ists transformation metadata in the REP_ALL_TRANFORMS view: ‘Column Name Datatype serption PARENT.SUBJECT_AREA VARCHAR? (240) | Parent flier name, PARENT SUBJECT ID" NUMBER Parent foler I. SUBJECT_AREA ‘VARCHAR (240) | Folder name SUBJECT_IO* NUMBER Folder 10. PARENT_WIDGET_NAME \VARCHAR2 (240) | Name of he parent tansfomation PARENT. WIDGET 1D* NUMBER Parent transformation I (primary key) PARENT_WIDGET_VERSION_NUMBER® | NUMBER Parent vansformation I. PARENT_WIDGET_VERSION STATUS | NUMBER ‘Status ofthe parent Vansfomatin version PARENT.WIDGET_UTC.CHECKIN. | NUMBER UTC time (Coordinated Universal Time) when ‘he parent ransformaton was last checked PARENT WIDGET_UTC_LAST.saveo | NUMBER UTC te when th parent ranstermaton as last saved, PARENT_WIDGET_LAST_SAVED VARCHAR2 (30) | ate and Une when vansfomatin was ast save, “Transformation Views 169 14 ‘Column Name Datatype Description PARENT WIDGET 18. REUSABLE NuMBER ‘Specs wheter the transformations reusable. t= reusable; 0 = not reusable PARENT_WIDGET_DESORIPTION ‘VARCHAR? (2000) | Parent vansfomation description, WIDGET. NAWE VARCHAR? (240) | Nae of he ransfrmatin \WiDGET_IO* NUMBER “Transtomaton WIDGET. VERSION NUMBER” NuMBER Version number ofthe tanslormatin. WIDGET. VERSION. STATUS NUMBER ‘Stats ofthe transformation version, \WIDGET_UTC. CHECKIN NuMBER UTC time whan the ansfomaton was choc. \WIDGET_UTC.LAST_SAVED| NuMBER UTC tine whan the ansfrmaton wast saves WIDGET LAST_ SAVED warcHAta 0) Tn we he toomson asi WIDGET_1YPE_0* NUMBER Transformation type . \WIDGET_TYPE_NAME ‘VARCHAR (240) Transformation ype name. \WIDGET_DESCRIPTION ‘VARCHAR? (2000) Transformation desertion REPOSITORY _NANE ‘VARCHAR? (240) Roposiry name 1s_GLOBAL_SHORTCUT NUMBER Specifies wheter the transformation isa lbalshortut 1 = shortcut 0 =not a shortcut Is_SHORTOUT NuMBER ‘Specie wheter the ransforation sa “Tndeates that tho column is a key column. REP_WIDGET_INST This view displays the details of al transformation instances. The following table list transformation metadata in the REP_WIOGET_INST view: ‘column Name Datatype Description MAPPING 0° NUMBER Mapping 1. wiDgeT_10° NUMBER ‘Transformation 1. ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description \WIDGET_TYPE NUMBER ‘Transformaton po, \WIDGET_TYPE_NAME ‘VARCHAR (240) ‘Transformation name. INSTANCE _D* NUMBER 10 ofthe tansomation instance INSTANCE_NAME | VARCHAR® (240) | Name ofthe tanstomation instance DESCRIPTION ‘VARCHAR? (2000) | Description fhe ransformaton instance. VERSION NuweER’ | NUMBER Version number af he tanslormatn ReF_wioceT_0 | NUMBER ‘for mappings. For applets, contains &forign ey which pola to table ta asthe ganerated mapal! wage SUBIECT_ NUMBER Folder “Indicates that the column is a key clumn. REP_WIDGET_DEP This view displays the details of dependencies between transformation instances in a mapping ‘The following table ists transformation dependency information in the REP_WIDGET_DEP view: ‘Column Name Datatype | Description MAPPING_* uwser | Wapping FROM.INSTANCE_IO" NuMBER | Source tansormaton instance 0. FROM FIELO_IO* NUMBER | Fel 1 ofthe source transformation instance. TO_NSTANCE_1O* NUMBER | Fil 1 o ho tre! tansloraton instance To FIELO_IO" numer — | Target felt. ‘VERSION. NUMBER™ NUMBER | Version numberof the mapping “Incicates that the column is a key column. REP_WIDGET_ATTR This view plays attribute details for transformations, instances, “Transformation Views rd 106 ‘The following table lists at bute details for transformations, instances, and sessions: ‘column Name Datatype Description WwiDGeT_1O° NUWBER “eanstomaton . WwiDGET_TYPE NuweeR “Transtomaton pe MAPPING O° NUWEER Mapping 1D. INSTANCE 0" NuwBeR Insane 1. ATTRIO* NUWEER ‘tribute. |ATTR_DESCRIPTION | VARCHAR? (2000) | Deserpton ofthe abu ATTRDATATYPE | NUVBER ‘Abts data pe. ATTR, NAME VARCHAR? (240) | Atibut namo ATTR_IVPE, NUWEER ‘Abt pe LINE. No) NUMBER Used to break up og tins ito mip row ATTRVALUE YaRCHAR® 2000) | Aout value PARTITION 10" NUWOER Parton. SESSION_TASK_IO" | NUMBER Session ask D VERSION NUWBER’ | NUMBER (Objet (sesen, mapping, of ansforaton) varson number. REP_WIDGET_FIELD This view displays feld level details for “Incicaes that the column i a key column ‘formations. The following table lists transformation field information in the REP_WIDGET_FIELD view: Column Name Datatyp ripion wiDGET_O* NUMBER “Transformation 1D FIELO_NAME VARCHAR® (240). | Tresfomaton fell namo. FeLD_O* NUMBER “Transformation fl 1, Wor_PREC NUMBER “Transfomaton fl pres. WGT SCALE NUMBER “Transformation fl sel WGT_DATATYPE NUMBER “Trnsfomaton fl tape. PORTIYPE: NUMBER Transformation port oe. ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description FIELD_ORDER NUMBER “eansfomaton oder. DESCRIPTION VARCHAR® 2000) | Comments on th el. PROPERTY NUMBER Foddovl popu used by vansfrmatns DEFAULT VALUE \VARCHAR® (2000) | Default vale ofthe ansoration Fal SRC_FIELD_IO* NUMBER Soute fe 1 for noma tansforaton, GROUP O° NUMBER 10 ofthe cmesponing instance inthe mapplats mapping VERSION NUNBER™ NUMBER “Tensfomaton version number DATATYPE, NUM NUMBER Datatype nunber. DATATYPE VARCHAR® 40) | Transomaton datatype a he por. DATATYPE GROUP_CODE | CHAR Datatype rou cde DATABASE_TYPE VARCHAR® 20) | External database ps. EXPRESSION VARCHAR® 2000) | Expression namo EXPR.DESCRIPTION | VARCHARZ (2000) | Comments onthe expresso. EXPR_VPE, NUMBER Exprosson pe “inicates that the column sa key coun Workflow, Worklet, and Task Views Workflow, worklet, and task views provide both static and run time details about all workflows and worklets created in each folder in a PowerCenter repository. ‘These views provide information about worklets and sessions inside a workllow. The views also provide Information about events, schedules, tasks, connections, and metadata extensions associated with a workflow or a worklt; workflow and worklet execution details such as start time, end time, and the Integration, ‘Service on which a workflow or worklet runs and its run status. ‘Task views provide both static and run time details about tasks such as sessions created in each folder of a PowerCenter repository. These views provide information such as the validly of a session, creation dat Sources and targets defined in a session, session connections, and metadata extensions associated with a session. These views also give information about session runtime details lke start time, end time, and run status, Wirt, Worle, and Task Views 187 ‘The following table ists the different views that help you analyze workflow, worklel, and task metadata View Description REP_WORKFLOWS ‘This view conains information about individual workflows ane workiow scheduling REP_ALL_TASKS ‘This view provides a isto all usable and non reusable tasks that can be used bya worflow oa worl REP_ALL_SCHEDULERS ‘This view displays alist of schedulers by folie, REP_WFLOW_VAR This view displays a tof al variables declared within a workflow or wort, REP_EVENT “This view display the detalls of events created a the workflow o work Tova REP_TASK_INST This view splays al tsk instances within worklows and words REP_WORKFLOW_DEP This view shows how individual tasks and works are connected win a wort or a worl, REP_TASK_INST_RUN “This view display the un stats and flier referonce for ask within a \wortow or worl REP_WFLOW_RUN ‘This view display the run stats fo all workonsby ode. REP_LOAD_SESSIONS This view provides information about sesion inthe repository. REP_SESSION_ONXS, “This view conains information about connection associated wit reusable REP_SESSION_INSTANCES | Ths view contains connection information fr session instances, REP_SESSION FILES “This view contain le connections associated wih reusable sessons REP_SESSION_NST.FILES | This view contains le comecton informatio or session nsiances assocated wih worl, REP_SESS_WIDGET_CNxS | Ths view contains information about the sources end targets used in REP_COMPONENT This view displays the Isto asks suchas @ command or an emallfr each REP_SESS_PARTITION_OEF | This iow rovdes parton dell ofthe sources, ages, and ‘eansfrmations ina sesso. REP_SESS_CONFIG_PARM | ‘This viow displays sesion configuration parameter detail. the session ‘verdes parameter in the cofigured object, ie view isplas wo rows, REP_SESS_NST_CONFIG_PA | This viow displays the atibues that are overriden atthe session instance Rw REP_TASK_ATTR This view displays the atibute values and overridden values for session and worfow ass. 188 Chapter 15: Using Metadata Exchange (WX) Views View Description REP_SESS_LOG This view provides lg information about sessions REP_SESS_TBL_LOG This view contains infomation abou the status ofan individual session run against a trget. REP_WORKFLOWS This view contains information about individual workflows and workflow scheduling The following table ists workllow and scheduling information in the REP_WORKFLOWS view: ‘Column Name Datatype Description ‘SUBJECT_AREAY VARCHAR2 (240) Folder name, \WORKFLOW_NAME* VARCHAR2 (240) Wortiow name, SCHEDULER_NAME* VARCHAR? (240) ‘Scheduler assoriaed wit he worfow. START_TIME TIMESTAMP ‘Star time configured forthe scheduler. END_TIME TIMESTAMP End time conigured forthe schedule 18_RUN_ON LIMIT NUMBER (Object 1D used for cyte edundancy check (RC), RUN_OPTIONS: INTEGER ‘Te wotkow schedule ype. Records the folowing values foreach Schedule ype 11 Run on demand. 2 Run once 44 Run ovary DELTA. VALUE seconds = Customized repeat. 18 = Run on Integration Serie intaization. 48 = Run on Iniegraton Senceintakzation and 20 = Run on Inegraton Service inialzation and every DELTALVALUE seconds 24 = Run on Intopraton Serve inalzation and customized 32 Run continuously END_OPTIONS INTEGER ‘The stop condition option forthe workow schedule type. Record the flowing values for ch stop conaton option 0 = En ona date 41 End after the number of run stored in RUN_COUNT. 2= Run forever. Wir, Worle, and Task Views 19 ‘Column Name Datatype Description DELTAVALUE: NUMBER "Number of seconds the Integration Service walts between successive werklow uns. RUN_COUNT INTEGER "Number of times he Integration Service run he worklow before stopping the wordtiow. ‘SCHEDULER 0° NUMBER ‘Scheduler SCHEDULER IS_REUSABLE NUMBER Specie i schedulr is reusable SCHEDULER.COMMENTS. varcHaR2 | Scheduler description, (2000) SCHEDULER_VERSION NUMBER’ | NUMBER Version number ofthe schedule. \WORKFLOW.VERSION.NUMBER? | NUMBER Wort version number. \WORKFLOW_1O* NUMBER Worttow 1, \WORKFLOW_IS_VALID NUMBER Specifies whether the workflow is valid o nt. 41= valid; 0 = ial \WORFLOW_5_ SERVICE NUMBER Specifies whether the workflow sa service 11= service; O= not a sence. \WORKFLOW_IS_RUNNABLE_SERVICE | NUMBER Specifies whathor the workflow sa runnable 1 = runnable service; 0= nota runnabe serie. (WORKFLOW _LAST_SAVED VARCHAR? (30). | Date and ime when the worfow was last saved. \WORKFLOW_COMMENTS. varcHaR2 | Description of the wortow. (200) SUBJECT_IO* NUMBER Felder ID SERVER_NAME VARCHAR2 | Name ofthe Ilegraton Servic registered wth (240) the epost. SERVERID NUMBER Integration Serie 1D. \WORKFLOW_IS IMPACTED NUMBER Spcifos wheter the workflow is impacted by 8 ‘change to dependent objects that may require tho workflow obo ravaliated, rot impacted 1 = impacted, “Incicaes that the column is a key column REP_ALL_TASKS This view provides alist of al rousable and non-rousable tasks that can be used by a workflow or a worklat 190 Chapter 15: Using Metadata Exchange (WX) Views ‘The following table ists reusable and non-reusable task information in the REP_ALL_TASKS view: ‘column Name | Datatype Description SUBIECT.AREA | VARCHAR® (240). | Foler namo. SuBIECT IO" NuMBER Foe 1, TASK NAME VARCHAR® (240). | Taskrame, TASK 10° NUMBER Task. ISVALD NUWBER Species wheter a worktow, wrk, or session i val = vals 0 nat UAST_SAVED YVARCHAR® (30) | Time when ask was last saved DESCRIPTION | VARCHAR2 (2000) | Description ofthe lak VERSION, NUNBER" | NUMBER Version number fh os 15 ENABLED NUMBER ure.checkm —— | NUVBER UTC checkin urc_Last_saven | vaRcHAra (so) | UTC ime when task was ast saved. Is.REUSABLE | NUVBER Spectas wheter he asks reusable or nt Vales ae: t= rousable 0 = ol eusabl. TASK_TVPE: NUMBER Task pe TASK TYPENAME | VARCHAR (240) | Task ype namo. REP_ALL_SCH This view displays a “Incicaes that the column i a key column EDULERS The following table lists information in th lst of schedulers by folder. 1@ REP_ALL_SCHEDULERS view: Column Name Datatype Description SUBJECT.I0* NUMBER Fler 10 SCHEDULER IO" | NUVBER ‘Scheduler D (primary ke). SCHEDULER.NAME | VARCHAR® (240) | Name of he scheduler. START_TIME YYARCHAR2 (30) | Star time configured forthe object associated wih te scheduler. END_TIME \VARCHAR2 (30) | End ime configured for he object associated with the scheduler Wir, Worle, and Task Views 81 we Column name | Oataype Description run.oprions | nuwaen Tho shad ype Recor th loving vals ach hee pe 3 non demand an Run once std, un on dovand ar ela shed 9 Run on demand ae uso ee 18= non sone and Ru once shel 20=Runon server ants 2¢=Rumon sone nt and Cast et 34 Runcorn and Ran oe tet, 26 = Run cones and Dea shad 40 Run conta Cason rep exo.ormions | nuwaen Specs who te tsk rst op aig betta.vawve | nuwoen Dat betoenscrestve runs (eda bond) uncom | nuwaen Number wow ru Used by END_ OPTIONS co, EscRTION | vARCHARA mn) | Destin ote sheer ws.reusnaie | nuwaen Spctes whee he cdr ere ora. vast_saveo | nuwaen Dale andi wn is awa saved ‘VERSION_NUWBER | NUMBER Version nae fh eed ure Last.saveo | NuwaeR UTC time (Coordatd Univ ie whan sched was laste ure-cveoKn | nuwaen UTC checkin ime “date tale conn say cou. REP_WFLOW_VAR This iow displays ast fall variables declared within a workttow or wore The folowing able Ist variable infomation inthe REP_WFLOW_VAR view Column Name Datatype Deetnion suBieCr o> UNDER Folie WORKFLOW_ID* NUMBER Workflow ID (primary key}. VARIABLE_ID" NUMBER Unique ID for a variable within a workflow (primary key). VARIABLE ANE aRoHARe 21) None hevrable ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype Description \VARIABLE_TYPE NUMBER Variable ype. 0 = bul in; t= user-defined, VARIABLE DESCRIPTION | VARCHARZ (2000) | Comments onthe variable \VARIABLE_DATATYPE NUMBER Datatype of workow variable = decimal Seger 5= smal integer real = double 11 datetime 122 tong \VARIABLE_DEFAULT_VALUE | VARCHARZ (2000) | Default vale of variable LAST_SAVED VARCHAR (20) | Dato and time that ts task was lst saved ‘TASK_INST_1O* NUMBER Df he instance where the variable is define. TTASK_INST_NAME ‘VARCHAR? (240) | Name of the ask instance. BIT_OPTIONS NUMBER Species whether the worktow variables ullor porestet, 1 = wortlow variable is persistent; 2 workow variable fs NULL. \VERSION_NUNBER® NUMBER Worktow version number. REP_EVENT “Indicates that tho column's a key column. This view displays the details of events created at the workflow or worklet level The following table ists event information in the REP_EVENT view: ‘Column Name Datatype escription SUBJECT.IO" NUMBER Folér 1. WORKFLOW_1D* NUMBER Wiorktow 10 (primary key) EVENT.IO* NUMBER Even 1D (primary ky) EVENT.NAME. VARCHAR? (30) "Name of the even, EVENT_TYPE: NUMBER Even ype. 0= builtin; EVENT_SCOPE NUMBER Event scope EVENT_DESCRIPTION | VARCHAR? (2000) | Event desertion Wir, Worle, and Task Views 199 10 ‘Column Name Datatype Description LAST _SAVED VARCHAR? (30) Date and time that tis event was last saved. \VERSION_NUNBER" NUMBER Wiorktow version number. REP_TASK_INST This view displays all task instances within “Indicates that tho column isa key column. workflows and worklets. The following table ists task instance information in the REP_TASK_INST view: ‘Column Name Datat WORKFLOW_IO* NUMBER Wortow 1D (primary key) INSTANCE_10* NUMBER Instance D (psy key TASK_I0" NUWBER Task. TASK_TYPE NUMBER Task ype, ‘TASK_TYPE_NAME YARCHAR2 (240) | Name of he abject. INSTANCE, NAME VARCHARZ (240) | Name of he instance. 15_ENABLED NUWBER Specifes whether the task instance is enabled DESCRIPTION YVARCHAR2 (2000) | Descripton ofthe task 1s_VALD NUMBER ‘Specifies whether te asks vald. 0 = inva tsa VERSION_NUMBER’ — | NUMBER Wortlow version number. SERVER_IO* NUWBER ‘Server 1D associates wit the workfow. “Indicates that the column's a key column. REP_WORKFLOW_DEP This view shows how individual tasks and worklets are connected within a worklet or a workflow. The following table ists task and worklet connection information in the REP_WORKFLOW_DEP vi ‘Column Name Datatype scription \WORKFLOW_ID* NUMBER Worktow 1 FROM INSTANCE 10" | NUMBER 1D of the source tat instance. ‘Chapter 15: Using Metadata Exchange (MX) Views REP_TASK_INST_RUN ‘Column Name Datatype seipion To_WSTANGE_1o | NUMBER 10 of ho target ask instance. conoiTin.o | numBer Condon. VERSION NUWBER’ | NUVBER ‘Vorsion umber. ‘CONDITION ‘VARCHAR2 2000) | The value ta dene he coniton associates wih the ink. “Indicates thatthe column isa ey column. This view displays the run statistics and folder reference for tasks within a workflow or worklet, The following table lists run statistics and folder reference information in the REP_TASK_INST_RUN view: ‘Column Name Datatype Description SUBIECT_AREA ‘VARCHAR? (240) | Folder name WORKFLOW, NAME VARCHAR® (240) | Wktow name. VERSION, NUNBER* NUMBER Version number SUBIECT 10" NUMBER Faldo WORKFLOW_[O* NUMBER 10 othe parent wero. worerLow_aun.io* | NUMBER un 1 of he parent wonton WORKLET_RUN [O° NUMBER un 0 ofa workatin a worktow ‘CHILD_RUN IO" NUMBER un 1D of child askin a work. INSTANCE_D* NUMBER 10 of an instance within @wortaw oa wort INSTANCE _NAME ‘VARCHAR? (240) | Name othe task instance. TASK_1O* NuMBER Testo TASK_TYPE_NAME ‘VARCHAR? 240) | Object name TASK_ITVPE NuMBER Task po ‘START_IME DATE Siar ir contgue fo task exoston. ENO_TIME DATE Ena tine congue for lak exact, UN_ERR_CODE NUMBER Task ror code RUN ERR MSG VARCHAR® (2000) | Task aor message Wir, Worle, and Task Views 195 ‘Column Name Datatype Description RUN_STATUS_CODE NUMBER ‘Status code of the task += Succeeded 3=Faled 15= Terminated ote: MX views do nol provide information about transient session and workflow status, uch as suspending, ‘stopping, scheduling, and aborting. You can view all statuses, inclucing transient status, using mond geleervcedeti, TASK.NAME ‘VARCHAR (240) Taskname. ‘TASK_VERSION_NUMBER* | NUMBER Tat version number, SERVERID NUMBER 1D ofthe integration Service SERVER_NAME, \VARCHAR® (240) ‘Name ofthe server. REP_WFLOW_RUN “Indicates that the column is a ky column. This view displays the run stalistics forall worktlows by folder. The following table ists workflow run statistic information in the REP_WFLOW_RUN view: Column Name Datatype Description suBIECT 10 NUMBER Foie, worsLow_to* | NUNBER Wortow 1 WoRFLOW_RUN O° | NUNBER Werk un. WORKFLOW.NAME | VARCHAR (280) | Wordow nama SERVER_O* NUMBER Inegraton Service 1D SERVERNAME | VARCHARZ (240) | Igration Servce rare START_IME DATE Sart ine configured fo the warktow ENO_TIME DATE End tine configured forthe worktow Los FE VARCHAR® (2000) | Fullpath and namo of lg fle RUN.ERR_CODE | NUBER or message cove. 196 Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype RUNLERR.MSG | VARCHARZ (2000) Etor mestage RUN_sTATUS_cope | NUMBER Slatus code ofthe ask. soseded 2= Disabled = Running 15= Terminated Note: MX views donot provide information about transient session and workflow slats, such as suspending, stopping, scheduling, and aboring. You can view all statuses, including lransiont stats, using pmeme golsorvicedstals USER_NAME VARCHAR (240) | Name ofthe user who ran the workfon RUN_TYPE NUMBER Species now the worow was run. emote debug session emt daa prong session VERSION_NUMBER’ | NUMBER Worfow version umber. SUBJECT_AREA | VARCHAR? (240) Foliername. “Indicates that tho column is a key column. REP_LOAD_SESSIONS ‘This view provides information about sessions in the repository The following table ists session information in the REP_LOAD_SESSIONS view: ‘column Name Datatype Description SUBIECT_AREA™ VARCHAR® (240). | Foter name. SESSION NAME VARCHAR® (240). | Name of he setion. LAST._SAVED YVARCHAR® 240). | Time he session was last saved. SESSION IO" NUMBER Sexson. MAPPING NAME® YVARCHAR® (240). | Name othe mapping this session use. Wir, Worle, and Task Views 197 108 REP_SESSION_CNXS ‘Column Name Datatype Description VERSION NUMBER Folsr version. \VERSION_NAME VARCHAR (240). | Foler version name. Is _ACTNE NUMBER Species whether he sessions active. STARTTIVE. VARCHAR? (240) | Session sta tine. SESS_INTERVAL NUMBER Session nena. REPEAT_COUNT NUMBER Repeat count, ‘SESSION_LOG_FILE VARCHAR? (240) | Session og fl name, BAD FILE LOCATION \VARCHAR2 (240) | Location ofthe eee fi TARGETID NUMBER Target. SSOURCE_1D NUMBER Source 10 SESSION_VERSION_NUMBER | NUVBER ‘Version umber of the session MAPPING_VERSION NUMBER | NUVBER Version number of the mapping. SUBJECT_IO* NUMBER Folér iD Is_VALD NUMBER ‘Species wheter the sessions valid orn = valid; 1 = vl 15_REUSABLE NUMBER Species whether he sssion is reusable or not (0= not reusable; 1= reusable, ‘COMMENTS YVARCHARZ (2000) | Description ofthe sesion. MAPPING _D NUMBER Sequence ID forthe mapping associated wth the Is_IMPACTED NUMBER Species whether he session is impacted by a change lo dapendent objects thal may equa the session tobe rovalete, (0 = not impacte 1 = impacted. “Indicates thatthe column i a key elu. ‘This view contains information about connections associated with reusable sessions, ‘Chapter 15: Using Metadata Exchange (MX) Views ‘The following table ists reusable session connection information in the REP_SESSION_CNXS view: ‘column Name Datatype Description SUBIECT_AREA™ ‘VARCHAR® (240) | Foleraame in whch he sosin i sored SuBIECT IO" NUMBER Foe 1, ‘SESSION _NAME® ‘VARCHAR? 240) | Name one session. SESSION IO" NuMBER Serson IS TARGET INTEGER Spectes wheter he conection the trgst or the (= source connection; = target connection; 22 rut group ental procedure tomplteaxension 2 fale eas extension ‘CONNECTION. NAME YVARCHAR® (240) | Name of he conection ‘CONNECTION. 10° INTEGER Conneatin 1, SESSION_VERSION NUMBER” | NUVBER Version number fhe session “Indicates that the column is a key elu. REP_SESSION_INSTANCES This view contains connection information for session instances. If session instance overrides the connection information ina reusable session, this view shows the connection in the session instan connection information in the reusable session, This view does not show connection information for reusable sessions that are not associated with any worktlows. ‘The folowing table sts sossion instance connection information in the REP_SESSION_INSTANCE ‘Column Name Datatype Description SUBIECT_AREA® VARCHAR® (240) | Folder name SuBIECT Io" NUMBER Feld 1 WORKFLOW_NAME* VARCHAR® 240) | Name ofthe wort the Sesion instance belongs w. WORKFLOW_0* NUMBER Worktow. SESSION INSTANCE _NAME* | VARCHAR (240) | Sosion stance nam. SESSION INSTANCE_D* NUMBER Session instance 1 SESSION [O° NUMBER Session. 1s TARGET INTEGER Species the conection pe 1 target conection 0 = sours connection. Wir, Worle, and Task Views ES view: 18 and the 198 ‘Column Name Datatype Description ‘CONNECTION, NAME VARCHAR® 240) | Name ofthe concton asseciatod wth he session instance. ‘CONNECTION 10° INTEGER Conecton ID associated wih he sesion instance WORKFLOW. VERSION NuMBER’ | NUMBER Worktow version number. ‘SESSION VERSION. NUMBER’ | NUNBER ‘Version number athe sein “Indicates that the column i a key clu. REP_SESSION_FILES This view contains file connections associated with reusable sessions. The following table ists reusable session file connection information in the REP_SESSION_FILES view ‘column Name Datatype Description SUBIECT_AREAY ‘VARCHAR2 240) | Name a tha foe orang to session SESSION NAME* VARCHAR? (240) | Name one session. 1S TARGET INTEGER Specs the connaton po. 1 = target fle connection, FILE NAME YYARCHAR2 (240) | Name of he source or age le. DIR_NAME \VARCHARZ (240) | Directory where the source or target fl Is stored ‘cODE_PAGE NUMBER Code page associated wih the source or target fie Values corespond othe code page IDs listed inthe Informatica Administrator Guide SESSION_VERSION.NUMBER’ | NUMBER Session version umber, “Indicates that the column's a key clu. REP_SESSION_INST_FILES This view contains file connection information for session instances associated with worktlows. IT reusable session is not associated with a workflow, this view does not show file connection information forthe session, 200 Chapter 15: Using Metadata Exchange (WX) Views ‘The following table ists gession instance file connection information in the REP_SESSION_INST_FILES. view: Column Name Datatype Description ‘SUBIECT_AREAY VARCHAR? (240) | Name ofthe flr containing te session \WORKFLOW_NAME® VARCHARZ (240) | Name ofthe workflow to which the session instance longs, \WORKFLOW_VERSION_NUMBER® | NUNBER ‘Wirktlow version number. SESSION INSTANCE _NAME* | VARCHAR2 (240) | Name othe session instance. Is_TARGET INTEGER Species the connacton type. got la connection 0 = source fle ‘conecton. FILE NAME VARCHAR? (2000) | Name ofthe source o age fl. DIR_NAME \VARCHAR2 (2000) | Directory where the source or target lis stored ‘CODE_PAGE NUMBER (Code page associated withthe source or target fle Valuos corrspond oth code page ID sted in ‘he Informatica Aaminstrator Guid. “Indicates that the column i a key cium. REP_SESS_WIDGET_CNXS and the connection name also display. ‘The following table ists connection information in the This view contains information about the sources and targets used in a session. The reader and wr REP_SESS_WIDGET_CNXS view: iter types ‘Column Name Datatype Description \WIDGET_INSTANCE_1O* NUMBER Instance ID of soure, target, or transfrmaton. \WIDGET_TYPE NUMBER Ident a source, target, or ransformaton, INSTANCE, NAME \VARCHAR2 (240) | Instance name. READER WRITER TYPE VARCHAR (240) | Type of reader or writer used ‘ONK.NAME, ‘VARCHAR? (240) | Connection nam. SESSION[0" NUMBER ‘Session 1D SESSION WIDG_NST_IO" NUMBER ‘Transformation instance ID relaranced by @ session (primary ke). SESS_EXTN_OBJECT_TVPE NUMBER Indicates whether the object isa reader ora wrt. 78 = reader, 79= writer. Wirktow, Worle, and Task Views 201 ‘Column Name Datatype Description SESS_EXTN_OBIECT SUBTYPE | NUMBER. Indats a pect oad ow SESS_ONX.REFS_oWECT.TYPE | NUMBER “Type of refrenced abject SESS_ONX_REFS_OBJECT._SUBTYPE | NUMBER. Indicates aspect object, SESS_CNX_REFS_OB/ECT 1D" NuMBER 10 ofthe referenced abject WORKFLOW [O° NUMBER Workow ©. SESSION INSTANCE_0* NuMBER ‘Season insane 1. ‘SESSION_VERSION.NUNBER™ NUMBER ‘Session varson number. REP_COMPONENT “Indicates that the column i a key elu. This view displays the list of tasks such as a command or an emall fo sach session, ‘The following table lists session component information in the REP_COMPONENT view: ‘Column Name Datatype scription \WORKFLOW_1D* NUMBER 1D of th worow to which the session belong. TASK_10" NUMBER Session 1D TTASK_INST 10" NUMBER ‘Session instance ID. REF_oB1_0 NUMBER 1D ofthe refered object within a session. REF_OBI_TYPE NUMBER Roferod object type. ‘oBJECT_TYPE. NUMBER object tye. ‘OBJECT SEa_TvPE | NUNBER dentine the refered objects sequence type. VERSION.NUNBER” — | NUMBER ‘Object version number. PM_VALUE VARCHAR2 (2000) | Component value. VVAL_NAME VARCHAR? (240) | Name ofthe value DESCRIPTION VARCHAR (2000) | Description ofthe value “Indicates that the column i a key elu. REP_SESS_PARTITION_DEF This view provides partition details ofthe sources, targets, and transformations in a session. 202 Chapter 15: Using Metadata Exchange (WX) Views ‘The following table ists partion information in the REP_SESS_PARTITION_DEF view: ‘column Name Datatype Description SESSION [O° NUMBER Session . SessmiDe_sT 0" | NuMaeR ‘Season insane 1. PARTITION 10" NUMBER Patton. PARTITION NAME varcHara 240) | Parton name DESCRIPTION VARCHAR2 2000) | Desstion of te parton. LAST _SAVED VARCHAR2 20) | Tine when the parton was lst mode VERSION.NUNBER | NUNBER ‘Session varson number. MAPPING_O* NuMBER 10 ofthe mapping used bythe seni, \WIDGET_IO* NUMBER 10 of source, target or trensfomaton in sesso. WIDGET. TYPE NUMBER Ienis a source target or ranslomaton, INSTANCE _D* NUMBER Instance 10 of sours target, or treslomatn. INSTANCE _NAME VARCHAR® 240) | Instance name. TYPE NAME VARCHAR2 (240) | Object ype name. “indicates tha te ean 2 Key column REP_SESS_CONFIG_PARM This view displays session configuration parameter details f the session overrides a parameter in the Configured object, the view displays two rows. Select the row which contains the session ID reference. The following table ists session configuration information in the REP_SESS_CONFIG_PARM view: ‘column Name Datatype Description SESSION [O° NUWEER Session. SESSION VERSION NUMBER’ | NUMBER Session version number ‘CONFIG NUWEER Session configuration 1. ATTR_IO* NUWBER Session coniguation atibue. ATTR_IVEE: NuMBER Session coniguaton atrbue type. ATTR_ NAME \VARCHAR2 (240) | Session coniguaton atibuts name Wir, Worle, and Task Views 203 ‘Column Name Datatype Description ATTR_VALUE YVARCHAR2 (2000) | Alrbute value “Indcses that the column i a key column. REP_SESS_INST_CONFIG_PARM This iw displays the attributes that are overwitn atthe session instance ‘The following table ists session instance configuration information in the REP_SESS_INST_CONFIG_PARM ‘Column Name Datatype Description WORKFLOW_IO* NUWBER Wort. SESSION IO" NUWBER Session. SESSION INST_D* NUWOER Session instance 1. WoRKLoW_veRsiON NuMBER” | NUVBER Worto vrsion nubs ‘CONFIG 10 NUWEER Session coniguraton ATTRO* NuwBER Session coniguraon atibute -ATTR_TYPE, NUWBER Sostonconiguaon atirbuo ypo ATTRNAME VARCHAR® 240) | Session confguation ails name [ATTR_ VALUE YVARCHAR® 2000) | Atroute va. “Inicaes that the column i a key column. REP_TASK_ATTR This view displays the attribute values and overridden values for session and workflow tasks. ‘The following table ists attribute information in the REP_TASK_ATTR view: ‘column Name | Datatype Description worsrLowto" | nuwoeR Worf 1D. wwstanceo* | NUVBER Taskintace 10 TASK IO" NUMBER Task. TASK_IVPE NUWBER Task ype. er session io" | NUVBER Session. 204 Chapter 15: Using Metadata Exchange (MX) Views Column Name | Datatype Description TASK_TYPENAME | VARCHARD (240) | Task ype name. ATTR_O NUMBER Task atvbule [TTR NAME VARCHAR2 (240). | Task atvrbute name ATTR VALUE vaRcHAR? (2000) | atibute vas. UNE_NO NUMBER Line number of atibute values, Used for soring mule lines ot atroue vas. GROUP_O* NUMBER Group 10. \VERSION_NUNBER’ | NUMBER Worow version number if tak atirbute ie oveidden at workflow eve Sesion version number task tributes ‘veridden at session level. “Incicaes that the column is a ky column. REP_SESS_LOG ‘might contain one or many target tables. The following table lists session log information in the REP_SESS_LOG view: This view provides log information about sessions. This view supplies the status of the last session, which Column Name Datatype rition SUBIECT AREA vaRcHaR2 (240) | Folderrane SUBIECT_IO* NUMBER Foor SESSION NAME VARCHAR® (240) | Session name SESSION IO" NUMBER Session. SESSION INSTANCE_NAME? | VARCHAR2 (240) | Session instance nama SUGCESSFUL_ROWS NUMBER "Number a successuly loaded target rons. FALED_ROWS NUMBER Number fale ago rows. SUCCESSFUL_SOURCE.ROWS | NUNBER Number of successuly read source rows. FAILED_SOURCE, ROWS NUMBER Numbor tale source ows. FIRST_ERROR_CODE NUMBER Fist err cade FIRST ERROR MSG \VARCHAR2 (2000) | First enor message. LAST_ERROR_CODE NUMBER Last err code Wir, Worle, and Task Views 208 206 ‘Column Name Datatype LAST ERROR VARCHAR? (2000) | Last ror message. RUN_STATUS_CODE NUMBER Run status code. 9 = Stopping 10 Aboting Wating Scheduled Unscheduled Unknown 15= Terminated Note: 1X views may nol provide up-to-the ‘minut information abou ransiont session and vwrklowslaus, such as suspending, sopping, {and aborting, -ACTUAL_START DATE (08 Actual ime session state, SPECIFIC) SSESSION_TIMESTAMP DATE (08 Time completed SPECIFIC) SESSION LOG FILE VARCHAR? (2000) | Session og le name, BAD FILE_LOCATION VARCHAR? (4000) | Location ofthe rect fe ‘TASK_VERSION_NUMBER* NUMBER Version number ofthe task, \WORKFLOW_VERSION_NUMBER® | NUMBER Wiorktow version number \WORKFLOW_NAME VARCHAR? (240) | Name ofthe woktow that contains the session ‘ostance, MAPPING_NAME VARCHAR2 (240) | Mapping name. TOTAL_ERR NUMBER Total ero code, WORKFLOW _1D* NUMBER Worktow 1. \WORKFLOW_RUN_ ID" NUMBER Wirklow un 1. \WORKLET RUN NUMBER un 1D ofa wore ina worktow. ‘Chapter 15: Using Metadata Exchange (MX) Views ‘Column Name Datatype INSTANCE_D NUMBER Instance 1. REP_SESS_TBL_LOG “Indicates that a column isa key column, ‘The following table ists individual session information in the REP_SESS_TBL_LOG view: ‘Column Name Datatype Description SUBIECT AREAT YVARCHAR2 (240) | Foe name SUBIECT_IO* NUMBER Folder. SESSION NAME® YVARCHAR2 (240) | Session rane SESSION IO" NUMBER Session. SESSION INSTANCE_NAME ‘VARCHAR? 240) | Namo ofthe session instance, SESSION INSTANCE_D* NUMBER Session instance 1. WORKFLOW_ID* NUMBER Worktow. WORKFLOW_VERSION.NUMBER | NUMBER Weorktow version number. TABLE, NAME" \VARCHAR2 (240) | Name ofthe able fortis bp TABLE O* NuMBER Target ale 10. TABLE, VERSION NUMBER® NUWBER Version number athe target. ‘TABLE_BUSNAME ‘VARCHAR? (240) Business name ofthe large TABLE_INSTANCE_NAME "VARCHAR? (240) Target instance name forthe session, SUCCESSFUL, ROWS NUMBER Number of sucastuly ade ta SUCCESSFUL_AFFECTED_ROWS | NUMBER Number of atocted tags rows FALED_ROWS NuMBER Number fae target ows LAST ERROR YVARCHAR2 2000) | Last eror message LAST_ERROR_CODE NUMBER Last oor code START TIME DATE Tine the target oad stare. ENO_TIME DATE “Tine the larga oad andes Wir, Worle, and Task Views This view contains information about the status of an individual session run against a target. It provides the last update time, row counts, and error status based on a last update timestamp on a per target basis, oT ‘Column Name Datatype Description SESSION TIMESTAMP NUWBER Season tmostan. BAD_FILE_LOCATION VaRCHAR2 (4000) | Location of he reece SESSION VERSION NUMBER" | NUMBER. ‘orion uber the session PARTITION NAME ‘VARCHAR? (240) | Name a he pation. MAPPLET INSTANCE, NAME: \aRCHAR2 (280) | Mapplt instance name. WIDGET. NAWE ‘VARCHAR? (240) | Tranlomaton name TYPE_NAME YVARCHAR2 (240) | Obra. ‘GROUP_NAME VARCHAR? (240) | Group namo THROUGHPUT NUMBER Perfomance number for he age. TYPE NuMBER ‘jet unique type “inicates that te columns @ key cma Security Views ‘Security views allow you to see user information, The REP_USERS view provides a lst ofall PowerCenter The following table ists user information in the REP_USERS view: ‘Column Name Datatype Description USERID" NUMBER ‘User 1D (primary key). NAME_SPACE. VARCHAR? (240) Securty domain the user belongs to USER_NAME VARCHAR? (240) User name. sTaTus NUMBER Not applicable. Reserved fo futur us. “Indicates that the column sa key column Deployment Views Deployment views allow you to see deployment information such as deployment groups, deployment date, source and target repository names associated with deployment, and objects which were deployed from one repository to another 208 Chapter 15: Using Metadata Exchange (WX) Views ‘The following table ists the different views that help you analyze deplayment metadata: View Description REP_DEPLOY_GROUP_ Management This view provides information about deployment groups in Change REP_DEPLOY_GROUP_DETAIL This view provides Change Management deployment deal REP_DEPLOY_GROUP. This view provides information about deployment groups. The following table ists deployment group information in the REP_DEPLOY_GROUP view: ‘Column Name Datatype Description DEP_GROUP_ID* NUMBER Deployment group 1, DEP_GROUP_NAME VARCHAR (240) Deployment group name, DESCRIPTION VARCHAR? 2000) | Description of he group ‘CREATED_BY ‘VARCHAR? (240) | Name afuser who cated he doplayment group. ‘OWNER ID" NUMBER User. GROUP O° NUMBER Group ‘CREATION TIME ‘aRCHAR? (20) | Creaton tine LAST_SAVED YVARCHAR2 (20) | Last saved time. ‘GROUP_TVPE NuMBER Deployment group ype. 0= sate; t= dynamic. ‘QUERY [O° NUMBER ‘Query ID associated witha dyna group. ‘QUERY NAME \VARCHAR® (240) | Query name associated wih a dynamic group ‘QUERY_DESCRIPTION ‘VARCHAR? (2000) ‘Query description, ‘QUERY_CREATED_aY VARCHAR? (240) Namo ol user who created he query ‘QUERY _OWNERID NUWBER ‘Query user. ‘QUERY GROUP NuweER (uery group 1 ‘QUERY_CREATION.TIME | VARCHARZ(30) | Query ration mo. ‘QUERY Last saveD | VARCHAR 20) | Quary tt saved tne ‘QUERY TYPE NUMBER ‘Query yp. 1= publ: 2= perso “Indicates that the column i a key clu. Deployment Views 200 REP_DEPLOY_GROUP_DETAIL This view provides deployment detail ‘The following table ists deployment information in the REP_DEPLOY_GROUP_DETAIL view: ‘Column Name Datatype scription DEP_RUN_ID NUMBER [Unique deployment run 1. ‘OBJECT_O* NUWBER Object. ‘OBJECT NAME VARCHARZ (240) | Name of the obec. oBJeCT_TYPE. NUWBER object ype. ‘OBJECT_TVPE_NAME YARCHARZ (240) | Object type name. SRC_VERSION.NUMBER | NUVBER (Object version number inthe source repository TARG_VERSION NUMBER | NUNBER ‘Object vorson number inthe target posto. SSRC_SUBIECT_1D NUMBER Folder 10 in the source repstry TARG_SUBIECT_1D NUMBER Folder 1D in the target repository 'SRC_SUBJECT_AREA ARCHARZ (240) | Folder name inthe source repository ‘TARG_SUBJECT_AREA VARCHAR? (240) | Folder name inthe target repository. Is_sHORTCUT NUMBER ‘Spctfios wheter the obec i a shortcut 1 = shortcut O= nota shortcut DEP_GROUP_ID NUMBER Deployment group 1D DEP_GROUP_NAME ARCHARZ (240) | Deployment group nams. DEPLOY_TIME. NUMBER Deployment start time, DEPLOY_TYPE NUMBER Deployment ype 2= deploy tom. ‘TARGET _REP_NANE VARCHAR? (240) | Target repostry name, REP_cID YYARCHAR2 (240) | GlobalID ofthe repository USERID ‘NUMBER Deployment user. GROUP NUMBER Group 1D, USERNAME YVARCHARZ (240) | Deployment username UTC_DEPLOY_TIME NUMBER UTC deployment tne 210 Chapter 15: Using Metadata Exchange (WX) Views ‘Column Name Datatype scription DEPLOY_STATUS. NUMBER Deployment status. 2 rolack fled ROLLBACK TIME YVARCHAR2 (30) | Deployment olback tine Repository View In the repository view you can see repository name, database type, connection information on which the “Inicaes that the column i a key column. repository is created, and whether the repository is local or global MX provides the REP_REPOSIT_INFO view to help you analyze repository metadata, REP_REPOSIT_INFO This view provides repository information such as repository name and type, domain nam: ‘ype. The following table ists repository information in the REP_REPOSIT_INFO view: ‘and database Column Name Datatype escription Reco NUMBER Repository roar REPOSITORY_NANE ‘VARCHAR? (240) | Repostory name. REPOSITORY DESCRIPTION | VARCHAR? (2000) | Desciton ofthe rapostoy. REPOSITORY _1D° NUMBER Repository 1D. REPOSITORY_TVPE NUMBER Reposory ype, DOMAINNAME VARCHAR? (240) | Global domain ram. DATABASE_USER VARCHAR? (240) | Database username used fo connett to the repository DATABASE_TYPE NUMBER Repostor ype, HOSTNAME CHAR) Returns value ns The column refers to PowerCenter versione ear than 8.0. Repository View an ‘Column Name Datatype Description PORTNUM CHARS) Retums value ‘na. The column refers to PowerCenter versions ear than 8.0. “Indicates that tho column is a key column. Integration Service Views The Integration Service views allow you to see information about Integration Service resources, such as the Integration Service name that can be used to run workflows in PowerCenter. The views allow you to see information about the grid, such as service locations, descristions, and recent activity, ‘The following table ists the different views that help you analyze server resources and thelr access right: View Description REP_SERVER INFO This view isnot used REP_SERVER NET ‘This view provides information about integration Service description, location, and usage. REP_SERVER_NET_REF | This vow provides infomation about negraon Service denifcaton and usage REP_SERVER_NET This view provides Integration Service grid information and provides description and usage information. The following table lists Integration Service information in the REP_SERVER_NET view: ‘Column Name Dataty Description SERVER_NET_IO* NUMBER Intgration Service 1D witsin the gr (primary key) SERVER_NET_NAME. VARCHARZ (240) | Integration Service name. SERVERNET_DESCRIPTION | VARCHAR? (2000) | Description of the Integration Service. LAST _SAVED VARCHAR2 (30) | Time when object was last saved “Indcstes that the column i a key column, REP_SERVER_NET_REF ‘This view provides Integration Service identification within the grid and usage information. 212 Chapter 15: Using Metadata Exchange (MX) Views ‘The following table ists Int REP_SERVER_NET_REF view. 2 within the geld in the Column Name Datatype | Description 'SERVER.NETIO" | NUNBER | Integration Service 1D within the (primary Key), SERVER_IO* NUMBER | Inlegrton Service ID (primar Key) BIT_OPTIONS NUMBER | Integration Servic job dstrbution options. 1 = use network; $= use network and used by network “Inicaes that the column i a key column. Change Management Views ‘Change Management views allow you to see the version history af all objecis in a PowerCenter repository and label metadata. Objects can be defined as tables, mappings, mapplets, transformations, sessions, workflows, worklals, and tasks. Labels can be defined on all objects. The following table lists the different views that help you analyze version history of objects and label metadata View escription REP_VERSION_PR Provides information abou! the version history of al object ina PowerCer os" REP_LABEL Provides information abou labels in Change Management REP_LABEL_REF | Provides infomation abou label detls in Change Management, REP_VERSION_PROPS This view provides the vers The following table lists label information in the REP_VERSION_PROPS view: n history of all objects in a PowerCenter repository. ‘Column Name Datatype Description ‘OBJECT_O* NUMBER Object. ‘OBJECT_TYPE NUMBER ‘Object ype ID (primary key) ‘oecr_sustyee | NUMBER Object subtype 1. 1s_SHORTOUT NUMBER ‘Specs whether the obec a shortut += shortcut; 0= nota shoteu, VERSION.NUNBER | NUMBER (Object version number. (Change Management Views 213 ou REP_LABEL This view provides label information, ‘Column Name Datatype Description SuBIECT 10 NUMBER Falderio. USERID NUMBER User who ast motif his version ofthe abject OBIECT.NAME | VARCHARZ(240)_| Nam of tho object. GROUP_NANE: ‘VARCHAR? 240) | Database rame used by souce abies. UST_SAVED ‘VARCHAR? (20) | Tine when object was lst saved ure_tast_saveo | NUMBER ‘UTC me whan the objec as st modified ‘CONMENTS: \VARCHAR2 (2000) | Descrton fhe objet. SAVED_FROM vaca) ox rahi ane Fm ich ven et et PURGED_BY USERID | NUMBER UserID wo purged the bjt fom he epost. “inioates that to column soy column. The following table lists label information in the REP_LABEL view: Column Name Datatype Description LABEL IO" NUMBER Label. LABEL, NAVE ‘VARCHAR? (240) | Label rane DESCRIPTION VARCHAR® (2000) | Label description. ‘GREATED_BY VARCHAR? (240) | Name ofusr who crated he abel ‘OWNER ID NuMBER User. GROUP NUMBER Group. CREATION TIME | VARCHAR? (20) Label eaton tin UST SAVED \VARCHAR2 (30) | Tmohen abel was fst saves LABEL_TYPE NuMBER Label pe. a ap abel oon version fhe abject, UaseL_sraTus | NUMBER Label sats. t= label unlocked 2= aba faked “Indicates that the column i a key column. ‘Chapter 15: Using Metadata Exchange (MX) Views REP_LABEL_REF This view provides information about label deta ‘The following table lists label information in the REP_LABEL_REF view: ‘Column Name Datatype Description LABEL, 10" NUMBER Label. ‘OBLECT_O* NUMBER object 0 ‘OBLECT_TVPE NUMBER Object ype 12 VERSION.NUNBERY | NUMBER (Object version number. SUBIECT 10" NUMBER Foto, SERIO" NUMBER User. DESCRIPTION VARCHAR® 2000) | Labo dosstinon APPLY TIME VARCHAR® (20) Time when abel was applet th abject “ica that te column 69 key cima Folder View In the falder view, you can see all the folders defined in the PowerCenter repository It describes the name, ID, and description of each folder. MX provides the REP_SUJECT view to help you analyze folder metadata: REP_SUBJECT This view displays fol information such as folder name and description. ‘The following table ists folder information in the REP_SUBJECT view: ‘column Name Datatype Description SUBIECT AREA ‘VARCHAR2 240) Foliar namo. SUBIECT.10* NUMBER Foe 1 DESCRIPTION ‘VARCHAR2 2000) Foor doscrpton “inieaes tha the column sa key column Folie View 218

Você também pode gostar