HOW TO DELETE A RECORD FROM FLAT FILE

Answer Posted / santosh

1.If you have duplicate data then you can use sorter or aggregator transformation to remove duplicate.
2. If u want to delete record after 50 the row then u can use sequence genetor.
3. Write the result to a other flat file as target.
4. Use 'Post session success command' in component tab of session task to delete the old flat file and rename the target flat file to old flat file.

Please correct me if this is wrong
Thanks and regards
Santosh Kumar Sarangi

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which transformation should we use to normalise the COBOL and relational sources?

748


How to do unit testing in informatica? How to load data in informatica ?

655


Is stop and abort are same in informatica?

574


Design a mapping to load the cumulative sum of salaries of employees into target table?

902


How you prepared reports for OLAP?

1157






Can one use mapping parameter or variables created in one mapping into any other reusable transformation?

601


What is a sorter transformation?

667


What is the different lookup cache(s)?

617


Explain sessions. Explain how batches are used to combine executions?

601


Briefly define a session task?

595


Can we create two repositories on same database instance in oracle?

614


What are the tasks that source qualifier perform?

635


Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?

812


How to convert a row into column and a column into rows? Name all DTM threads. What all threads stop when we issue STOP or ABORT? How to pass the value of a data(variable kind of) from one session ( generated in mapping) to another session in the same workflow... What are the tyoes of partitioning you know and how to apply them in real time ... Can partitioning be applied to expression transformation and how

1141


How is union transformation utilized?

575