我在尋找建議,瞭解如何處理此要求。 我必須用Informatica映射創建下面的目標文件。Informatica映射創建主機文件佈局的目標文件
源文件
Key-1 Key-2 ACCOUNT-1 Key-1 Key-2 ACCOUNT-2 Key-1 Key-2 CC-ACC-1 Key-1 Key-2 CC-ACC-2 Key-1 Key-2 CC-ACC-3
對於上述輸入源的佈局,我需要具有低於目標文件基於一個輸出記錄。
基本上,我需要組基於關鍵-1 &重點-2字段中的數據&創建可以有一個以上的賬戶&爲客戶提供多個信用卡賬戶明細的記錄。
目標文件< <大型機文件格式>>
Key-1 String 10 Key-2 String 10 BANK-CUSTOMER-INFO MGR-NAME STRING 50 — data to be extracted from MGR Table MGR-EMAIL STRING 100 — data to be extracted from MGR-ADDTNL-INFO Table MGR-PHNE STRING 10 — data to be extracted from MGR-ADDTNL-INFO Table CUST-NAME STRING 100 — data to be extracted from Person Table CUST-EMAIL STRING 100 — data to be extracted from Person-Addtnl_info Table CUST-ACCOUNT-INFO BANK-ACCOUNT OCCURS 5 TIMES ACC-NO STRING 10 (Key Field) ACC-TYPE STRING 10 — data to be extracted from A Table ACC-TRXN-DTLS OCCURS 10 TIMES ACC-TRXN-DATE DATE 10 — data to be extracted from X Table ACC-TRXN-MODE STRING 10 — data to be extracted from Y Table ACC-TRXN-AMT STRING 10 — data to be extracted from Z Table CREDIT-CARD-ACC OCCURS 5 TIMES CC-ACC-NO STRING 10 (Key Field) CC-ACC-TYPE STRING 10 — data to be extracted from B Table CC-TRXN-DTLS OCCURS 10 TIMES CC-TRXN-DATE DATE 10 — data o be extracted from X1 Table CC-TRXN-MODE STRING 10 — data o be extracted from Y2 Table CC-TRXN-AMT STRING 10 — data o be extracted from Z2 Table
問題: -
How mapping can be accomplished. Does Informatica supports to have Target Structure as defined above. Most of my Target Attributes are to be fetched from multiple tables to construct one record, what should be most efficient way to come with Mapping. Also, I need to denormalise the data as well to get above structure.
您每個Key1/Key2組合最多可以有五個銀行賬戶和最多五個信用卡賬戶(與銀行賬戶沒有直接關係)?你的數據源在哪裏? Informatica的重要性如何,大型機在哪裏? –
你好比爾。 Key1/Key2與銀行賬戶直接相關。源數據保存在oracle數據庫中,因此informatica想要從Oracle數據庫中提取數據並準備目標文件,就像我在我的問題中提到的那樣。大型機在這裏進入畫面,因爲由Informatica創建的目標文件將返回給大型機進行進一步處理。 –