Search found 35 matches
- Tue Aug 07, 2012 1:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to find minimum value in a column using transformer?
- Replies: 11
- Views: 6296
- Tue Aug 07, 2012 1:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to find minimum value in a column using transformer?
- Replies: 11
- Views: 6296
- Tue Aug 07, 2012 12:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to find minimum value in a column using transformer?
- Replies: 11
- Views: 6296
Re: how to find minnimun value in a column using transformer
when i am using 3 stage variables.it is is giving output like this
0
45
56
65
65
logic:
i hav taken 3 stg variables.
i draged marks col in to 1st & 3rd vars.
in 2 nd var i write
if stg1<stg2 then stg1 else stg2
but i am expecting 45 as final value
0
45
56
65
65
logic:
i hav taken 3 stg variables.
i draged marks col in to 1st & 3rd vars.
in 2 nd var i write
if stg1<stg2 then stg1 else stg2
but i am expecting 45 as final value
- Sun Aug 05, 2012 11:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to find minimum value in a column using transformer?
- Replies: 11
- Views: 6296
how to find minimum value in a column using transformer?
i am trying to find minimum value in a column using transformer. my data is like this marks 45 56 90 65 80 i applied below logic.i have taken 2 stage variables. varmin -->i drag the marks column to this. cmp -->Min(varmin,cmp) but i am getting all zero's in output column. can anyone please help me i...
- Thu Jun 21, 2012 1:32 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Find out first 2 records of each deptno?
- Replies: 8
- Views: 4986
i didn't notice that i am posting topics like that. sorry for that. here i want to mention one thing that, all posts i posted here are tried by me and some are not up to my knowledge.i am the beginner for datastage. Actually i want to shorten the question for readability purpose. so all posts posted...
- Wed Jun 20, 2012 4:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: I hav one record,in target i want that record 100 times
- Replies: 3
- Views: 2108
- Wed Jun 20, 2012 2:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get last value in each row
- Replies: 7
- Views: 3827
how to get last value in each row
source
a
a_b
a_b_c
a_b_c_d
target
a
b
c
d
a
a_b
a_b_c
a_b_c_d
target
a
b
c
d
- Wed Jun 20, 2012 1:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Find out first 2 records of each deptno?
- Replies: 8
- Views: 4986
Find out first 2 records of each deptno?
Find out first 2 records of each deptno?
source
delpno,name
10,vinodh
10,ashok
10,anil
10,raj
20,usha
20,puja
30,ravi
source
delpno,name
10,vinodh
10,ashok
10,anil
10,raj
20,usha
20,puja
30,ravi
- Wed Jun 20, 2012 1:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: I hav one record,in target i want that record 100 times
- Replies: 3
- Views: 2108
I hav one record,in target i want that record 100 times
In source file i have 1 record,in target i want that record 100 times.
can any one suggest me to do this task.
can any one suggest me to do this task.
- Wed Jun 20, 2012 1:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Alternate Records to one target and remaining other target
- Replies: 1
- Views: 1705
Alternate Records to one target and remaining other target
I Want to send Alternate Records to one target and remaining other target without using transformer.
source
deptno,sal
1,2000
2,3000
3,4000
1,2300
4,5000
5,1100
target1
deptno,sal
1,2000
3,4000
4,5000
target2
deptno,sal
2,3000
1,2300
5,1100
source
deptno,sal
1,2000
2,3000
3,4000
1,2300
4,5000
5,1100
target1
deptno,sal
1,2000
3,4000
4,5000
target2
deptno,sal
2,3000
1,2300
5,1100
- Wed Jun 20, 2012 1:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: using pivot stage how to do this?
- Replies: 10
- Views: 4883
Re: using pivot stage how to do this?
thnx ntr.its working
But i am not able to get proper output with pivot stage.
its showing output as
j
p
m
But i am not able to get proper output with pivot stage.
its showing output as
j
p
m
- Tue Jun 19, 2012 11:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: using pivot stage how to do this?
- Replies: 10
- Views: 4883
- Tue Jun 19, 2012 11:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: using pivot stage how to do this?
- Replies: 10
- Views: 4883
Re: using pivot stage how to do this?
But funnel stage is showing only 2 columns c1,c2.then how to combine the data? and what is n1(name)?ntr wrote:source----copy------funnel---output
- Tue Jun 19, 2012 5:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: using pivot stage how to do this?
- Replies: 10
- Views: 4883
using pivot stage how to do this?
source
c1,c2,n1,n2,n3
abc,eng,john,peter,mike
target
c1,c2,name
abc,eng,john
abc,eng,peter
abc,eng,mike
c1,c2,n1,n2,n3
abc,eng,john,peter,mike
target
c1,c2,name
abc,eng,john
abc,eng,peter
abc,eng,mike
- Mon Jun 18, 2012 2:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get previous row value in current row
- Replies: 14
- Views: 12071