I have 2 Files like
fileA fileB Output1 Output2 Output3
1 6 1 6 11
2 7 2 7 12
3 8 3 8 13
4 9 4 9 14
5 10 5 10 15
6 11
7 12
8 13
9 14
10 15
please let know
Answer Posted / kanakam
hi guys for this scenario we need to do the following steps
1.First take the two sequential file stages
2.Use the Join stage,in join stage use the fullouter join
3.Take the Filter stage in filter stage we have to write
the where clause conditions:
a.for getting the Output1:Right.columnname=''
b.For gettting the output2:Right.columnname=left.columnname
c.for getting output3:Left.columnname=''
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you explain link buffering?
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
What are the benefits of datastage?
What are the different options associated with dsjob command?
Can we use target hash file as a lookup ?
What is difference between join, merge and lookup stage?
Lookup constraints
how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)
Have you have ever worked in unix environment and why it is useful in datastage?
How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?
how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.
What is difference between server jobs & parallel jobs?
What is the method of removing duplicates, without the remove duplicate stage?
what is ds administrator used for?
how to write server Routine coding?