how to get the unique records on multiple columns by using
sequential file stage only

Answers were Sorted based on User's Feedback



how to get the unique records on multiple columns by using sequential file stage only..

Answer / chandu

in sequential file there is one option is there i.e
filter.in this filter we use unix commands like what ever we
want.in this question we use uniq command in filter.

Is This Answer Correct ?    7 Yes 0 No

how to get the unique records on multiple columns by using sequential file stage only..

Answer / subhash

SORT -u file_name.txt
or
SORT|UNIQ file_name.txt

Is This Answer Correct ?    3 Yes 0 No

how to get the unique records on multiple columns by using sequential file stage only..

Answer / todearhari

Just a small correction to Above Answer ,First we need to sort the Data then use the Uniq then only you will get Complete uniq records as uniq compares line by line.

Command:
Sort |Uniq

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Data Stage Interview Questions

What is the difference between passive stage and active stage?

0 Answers  


How can we improve performance of data stage jobs?

0 Answers  


When we will go for Data elements?

3 Answers   TCS,


How can we run same job in 1 day 2 times

4 Answers   IBM,


Can you explain how could anyone drop the index before loading the data in target in datastage?

0 Answers  






Can you filter data in hashed file?

0 Answers  


What are the some differences between 7.x and 8.x version of datastage?

0 Answers  


types of errors in datastage?

2 Answers   Reliance,


How to display all the duplicate records from the oracle Table?

3 Answers   IBM,


when will you go for dataset and fileset?

2 Answers   Accenture,


what is meant by port ? what is the use of port ? what are the different type of ports and its usage

2 Answers   Accenture,


What is the use of Row generator stage?

2 Answers  


Categories