i have source like
deptno,sal
1,2000
2,3000
3,4000
1,2300
4,5000
5,1100
i want target like
target1
deptno,sal
1,2000
3,4000
4,5000
target2
2,3000
1,2300
5,1100
with out using transformerstage
Answer Posted / mrvprasad
1)First go to Seq File-->Columns-->Add RowNum column and
2)then go to Properties-->select Options-->select Row Number Column=RowNum (Drop down list select RowNum column)
we will get the sequence Numbers.
first do the link sort for Sal in transformer stage.
and in Transformer stage go to
Constraint: Mod(dslink1.RowNum,2)=0 ---o/p1
and then select otherwise check box or write Mod(dslink1.RowNum,2)=1 --->0/p2
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between datastage and informatica?
What is quality stage?
How many Key we can define in remove duplicate stage?
sed,awk,head
Define orabulk and bcp stages?
What is oci?
How do you generate sequence number in datastage?
describe the Steps to confiure a Qlogic switch
Explain ibm infosphere information server and highlight its main features?
How many areas for files does datastage have?
What is a merge?
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.
Can you explain players in datastage?
Demonstrate experience in maintaining quality process standards?
what is the custome stage in datastage? how can we impliment that one? plz tell me