Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Scenario: Header and Details files

Similar presentations


Presentation on theme: "Data Scenario: Header and Details files"— Presentation transcript:

1 Data Scenario: Header and Details files

2 Step1: Create a source file activities

3 Step2: Create schema (such as Text schema)

4 Step3: Create details schema (such as Text schema)

5 Step4: Create Target schema (Here I’m using text schema)

6 Step5: Create file Target

7 Step6: Create Data Mapping

8 Step6 (contd): Load the Source and Target schema
Step6 (contd): Load the Source and Target schema. Refer to the Help guide on how to load the schemas in the mapper.

9 Now select Target Root node, go to Local Variables and create a new variable such
as varEmpID and while in the Value box double click on the EmpID field of the Header

10 Select Record node of Target, go to Properties and then put your cursor in For Each
Panel and double click on the Record node of the Detail record. And then put [ ] brackets After the record and inside put the condition as shown below. Map the fields as one-to-one as shown below and save the mapping.

11 Use the Data Preview option (refer to the Help guide) and test the output.

12 Step7: Create new process flow

13 Build the flow using the activities and dragging them into the canvas area.

14 Right click on the schema activities and select Multiple Stream and map the data stream
To the mapping activity. After saving the Flow, go to Design > Process Flow > select the flow and click Execute and check the logs. Also check the data file.


Download ppt "Data Scenario: Header and Details files"

Similar presentations


Ads by Google