Hi All, I have a file. i need to fetch the records between
first and last records by using transform stage.
EX:-
Source:
EMPNO EMPNAME
4567 shree
6999 Ram
3265 Venkat
2655 Abhi
3665 Vamsi
5852 Amit
3256 Sagar
3265 Vishnu
Target:
EMPNO EMPNAME
6999 Ram
3265 Venkat
2655 Abhi
3665 Vamsi
5852 Amit
3256 Sagar
I dont wan't to Shree and vishnu records.we can fetch
another way also but How can I write the function in
transform stage?
Answers were Sorted based on User's Feedback
If data is fetching from SeqFile, we can do this way also
Use Filter Command
Sed '1d;$d' FileName
It will delete frist and last records.
U will get answer, Plz correct me if am wrong....
| Is This Answer Correct ? | 1 Yes | 0 No |
Differentiate between data file and descriptor file?
what is operator combinality in datastage?
What r the existing server jobs in parallalism?
What is "fatal error/rdbms code 3996" error?
What is the process of killing a job in datastage?
how to delete one row in target dataset
What are the partitioning techniques available in link partitioner?
Two source files contains same meta data third file contains different data types can I funnel that file.
Main Function of the Staging area in DWH ?
What is datastage engine?
What is datastage?
What are the repository tables in datastage?