1)How to Duplicate Records Delete in Sequential file?

Answers were Sorted based on User's Feedback



1)How to Duplicate Records Delete in Sequential file?..

Answer / naga

connect sequential file to dataset and use partition
technique and perform sort and select unique

Is This Answer Correct ?    19 Yes 6 No

1)How to Duplicate Records Delete in Sequential file?..

Answer / vinod upputuri

In the sequential File stage there is a option called filter.
there we can use UNIX command.

syntax for Remove duplicate: uniq or sort -u

Is This Answer Correct ?    11 Yes 1 No

1)How to Duplicate Records Delete in Sequential file?..

Answer / subhash

small correction to Vinod answer,
If we use UNIQ, it will remove duplicate if they are
consecutive only..
so, better to use
sort -u
or
sort file_name | uniq

Is This Answer Correct ?    9 Yes 0 No

1)How to Duplicate Records Delete in Sequential file?..

Answer / topper

Select the data set and press delete..

Is This Answer Correct ?    0 Yes 15 No

Post New Answer

More Data Stage Interview Questions

Name the third party tools that can be used in datastage?

0 Answers  


what is the exact difference between dataset and fileset in datastage?

5 Answers   TCS,


What is the difference between informatica and datastage?

0 Answers  


Thanks to all people who are posting their comments...

1 Answers   CTS,


Can we use target hash file as a lookup ?

0 Answers  






What is the purpose of pivot stage?

0 Answers  


How can we run same job in 1 day 2 times

7 Answers   IBM,


How to read the length of word in unix?

0 Answers   CTS,


What is audit table?

1 Answers  


Hi friends, I am new to datastage, i have one query in datastage any one you please give reply to my post. I have a workbook (excel sheet) named as eg: xxxx, in that i have two tables emp(eid, ename, salary, deptno) and dep(deptno, name, state). in my source i have ODBC enterprise stage read the emp table and dept table join the two table and write the dept no 10(eid,ename,salary,name,state) values in target(). Thanks, Badari

0 Answers  


What is difference between join, merge and lookup stage?

0 Answers  


Please tell me What is difference between 8.0 and 8.1

1 Answers   IBM,


Categories