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 / reddymkl.dwh
Use Full outer join
Right ------------->X table
| |
| |
Left--> Join----->Filter---------->Y table
|
|
Z table
Left.colname=Right.colname
Right.colname='' (A-B)
Left.colname<>'' and Right.colname<>'' (A intersection B)
Left.colname<>'' (B-A)
Will get desired output
Please correct if am wrong....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are datastage sequences?
Differentiate between validated and Compiled in the Datastage?
Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?
Can you filter data in hashed file?
How to RD using transformer?
What is Ad-Hoc access? What is the difference between Managed Query and Ad-Hoc access?
what is the use of skid in reporting?
sed,awk,head
On which Dimension Table you implemented SCD Type in your Project
What are the steps needed to create a simple basic datastage job?
How to manage date conversion in Datastage?
how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?
for example You have One Table with 4 Columns (Mgr ID, Department ID, Salary, Employee ID). Can you find out the Average Salary and Number of Employee present per Department and Mgr
if i have two tables table1 table2 1a 1a,b,c,d 1b 2a,b,c,d,e 1c 1d 2a 2b 2c 2d 2e how can i get data as same as in tables? how can i implement scd typ1 and type2 in both server and in parallel? field1 field2 field3 suresh , 10,324 , 355 , 1234 ram , 23,456 , 450 , 456 balu ,40,346,23 , 275, 5678 how to remove the duplicate rows,inthe fields?
What is difference between symmetric multiprocessing and massive parallel processing?