Search found 24 matches

by Rajesh_kr82
Tue Jan 10, 2006 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Random number generation in buildop
Replies: 6
Views: 2252

Well here is the problem? lets say my data set is as below:: Key columns 1 ab 1 cb 1 cd 2 df 3 fd 4 fd 4 re here i want to assign same number to all the 1's and 4's. The stages which you have mentioned will generate seperate number for all the different rows.
by Rajesh_kr82
Tue Jan 10, 2006 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Random number generation in buildop
Replies: 6
Views: 2252

Random number generation in buildop

I have to assign unique numbers to records in a buildop stage. How can i ensure that the numbers generated in all tha partitions are unique? Is there any way to get the partition number in C++ code i have written.

Rajesh
by Rajesh_kr82
Fri Jan 06, 2006 6:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String type casting
Replies: 2
Views: 1000

I got it by doing this:

APT_String( Cstring.c_str( ) ); -- where Cstring is a standard C string.

Thanks for help
by Rajesh_kr82
Fri Jan 06, 2006 6:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in Buildop
Replies: 10
Views: 4744

I talked to Ascential Support and was told that it is not possible to go through the secondry datasource again and again using the code. Hence this code will not work.
by Rajesh_kr82
Wed Jan 04, 2006 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String type casting
Replies: 2
Views: 1000

String type casting

How do i type cast a std::string object into APT_String object in a buildop stage??

Rajesh
by Rajesh_kr82
Tue Jan 03, 2006 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in Buildop
Replies: 10
Views: 4744

Actually this is not about data or something. It is just that for each and every record in the primary source, i need to look up values in some other source. If you see in the code it is done in the secound while loop. But you cannot loop through the other dataset more then once. I am facing the sam...
by Rajesh_kr82
Mon Jan 02, 2006 11:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in Buildop
Replies: 10
Views: 4744

Did you get any soultion for this issue. I am also in the same problem.
by Rajesh_kr82
Thu Dec 29, 2005 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOps - Multile inputs
Replies: 0
Views: 559

BuildOps - Multile inputs

I am trying to write a buildop stage with multiple inputs. One of the input is set to auto read and other inputs are drived based on the first one. In the parallel job developers guide this is mentioned: Using Inputs with Auto Read Enabled for Some and Disabled for Others. You define one (or possibl...
by Rajesh_kr82
Tue Dec 20, 2005 11:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: New to Buildop
Replies: 1
Views: 1072

New to Buildop

I am very new to Buildop stages and i am not even able to compile them. So i will not like to waste your time by asking some silly questions. Can you guys suggest me some reading material with some nice examples which i can quickly have a look at. I have developer guide provided by datastage, but th...