Search found 35 matches

by jhansi
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

i get this logic by putting initial value as maximum as the data type max value
by jhansi
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

good idea sreeni.
but it gives only one record as output.
by jhansi
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
by jhansi
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...
by jhansi
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...
by jhansi
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

is that guide is 8.1 or 8.5?
coz i didn't find looping
by jhansi
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
by jhansi
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
by jhansi
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.
by jhansi
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
by jhansi
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
by jhansi
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

i didn't find the Pivot Definition tab of the Stage page as mentioned in parallel job developer guide
by jhansi
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?

ntr wrote:source----copy------funnel---output
But funnel stage is showing only 2 columns c1,c2.then how to combine the data? and what is n1(name)?
by jhansi
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
by jhansi
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

but that is not my requirement...