Search found 6 matches

by rakeshvayu
Tue Aug 03, 2010 2:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key logic not working on 4 node
Replies: 9
Views: 4553

Hello friends

Thanks for all ur valuable suggestion........its really helped me alot to go through my logic..........i just used this logic which is working fine now...

@PARTITIONNUM + ( @NUMPARTITIONS * (@INROWNUM - 1) ) + 1

even on 4 node..........

Thanks,
Rakesh.
by rakeshvayu
Mon Aug 02, 2010 9:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key logic not working on 4 node
Replies: 9
Views: 4553

Hi Kris.........ya i did that too..........in my job .......i have used the tail stage too see the max of surrogate key generated.......like if i am expecting max num to be 100.......but i am getting as 400.......which is a mutiple of 4.....
:roll:
by rakeshvayu
Mon Aug 02, 2010 9:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key logic not working on 4 node
Replies: 9
Views: 4553

hi

What exactly do you want it to do when it runs on multiple nodes? Typically you want the 'round robin' effect that anbu mentioned, i.e. Node 1: 1,5,9,13 Node 2: 2,6,10,14 Node 3: 3,7,11,15 Node 4: 4,8,12,16 However, it seems like you want something else? :? Hi Chulett.......i need the data to read ...
by rakeshvayu
Mon Aug 02, 2010 9:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key logic not working on 4 node
Replies: 9
Views: 4553

Hi Anbu.........i tried with the logic as you have mentioned......but it is still incrementing by 4 while running on 4 node..........is there any other way possible............anyway thanks for the reply.
by rakeshvayu
Mon Aug 02, 2010 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key logic not working on 4 node
Replies: 9
Views: 4553

surrogate key logic not working on 4 node

Hi Guys I want to generate sequential numbers in a parallel job with configuration file using 4 nodes. I have done the following in the transformer stage. 1) Created a stage variable for the counter named Skdelta. with the value as "@PARTITIONNUM - @NUMPARTITIONS + 1". 2) Set the derivatio...
by rakeshvayu
Wed Mar 17, 2010 6:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: performance tuning
Replies: 1
Views: 1114

performance tuning

hello freinds...i am rick ...i am new to the datastage...i have a question.. I am using mainframe, rs6000, db2 database,datastage version 7X and linux. my company has just moved all the server except mainframe to other places. now in most of the job which used to take 20 min to give result ...now ta...