i have a scenario like two columns(Empno, Ename) in that duplicate records are there, so my question is how to get second duplicate record in datastage.
Answer Posted / reddy
Source File/Table--->Transformer-->Target
Transformer stage:
---------------------------
Take two stage variables
sv-->Empno or Ename (drag and drop column(s))
sv1-->if Empno=sv or Ename=sv Then sv1+1 Else 1
in constraint --> sv1=2
u will get second duplicate record
Plz correct me if i am wrong...
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
DB2 connector> transformer > sequential file Data will be exported into a csv format in a sequential file. This file will be send in a email using a sequence job. Problem here is, how to avoid sending a blank csv file? When I ran the job there are chances that it might return zero records but in the sequence job csv file is going blank. how can I avoid this? thanks
What is process model?
How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.
How do you generate sequence number in datastage?
Explain datastage architecture?
file having these input and we have to get 3 output using same job Input 1 1 1 2 3 4 4 4 o/p1 o/p2 o/p3 1 1 2 2 1 3 3 1 4 4 4
Demonstrate experience in maintaining quality process standards?
How do u convert the columns to rows in datastage?
Differentiate between hash file and sequential file?
Difference between server jobs & parallel jobs?
How one source columns or rows to be loaded in to two different tables?
What is the difference between informatica and datastage?
how to delete one row in target dataset
What are some prerequisites for datastage?
What is the difference between hashfile and sequential file?