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 / huma

Why're we complicating the solution. Simple use merge stage. Output Y will be result of merge (inner join) while rest all will be the rejected outputs from update link.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Lookup constraints

836


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

596


what is ds administrator used for?

718


What is the difference between the local container and shared container?

643


What is the purpose of interprocessor stage in server jobs?

1724






How to reverse the string using SQL?

885


Differentiate between operational datastage (ods) and data warehouse?

670


Differentiate between odbc and drs stage?

591


What is the difference between in process and inter process?

663


How do you schedule or monitoring the job?

662


What is the difference between account and directory options ?

618


how to write server Routine coding?

1660


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)

518


what are the errors,warnings in datastage

2145


What are the difference types of stages?

619