INPUT file 'A' contains:
1
2
3
4
5
6
7
8
9
10

input file 'B' contains:
6
7
8
9
10
11
12
13
14
15

Output file 'X' contains:
1
2
3
4
5

Output file 'Y' contains:
6
7
8
9
10

Output file 'Z' contains:
11
12
13
14
15

How can we implement this in a single ds job?

Answer Posted / shar

Yes Union of Two Files is a Good idea
but No need of Transformer Stage we can do it in this way:

src1 ,src2 -->Funnel--->Sort--->Filter---->trg1,trg2,trg3

at sort just put allow duplicates=false
&
at filter just give conditions
1. col1>=1 and col1<6 trg1
2. col1>=6 and col1<11 trg2
3. col1>=11 trg3

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain ibm infosphere information server and highlight its main features?

606


what are the errors,warnings in datastage

2145


Explain how a source file is populated?

759


How a server job can be converted to a parallel job?

619


what is the difference between == and eq in UNIX shell scripting?

972






Difference between in process and inter process?

697


Have you have ever worked in unix environment and why it is useful in datastage?

645


Can you define merge?

666


Distinguish between informatica & datastage. Which one would you choose and why?

578


What is the flow of loading data into fact & dimensional tables?

593


Explain entity, attribute and relationship in datastage?

629


What are the areas of application?

658


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

1635


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3263


What are the types of containers in datastage?

703