Search found 153 matches

by soumya5891
Tue Apr 05, 2011 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: isnull function
Replies: 8
Views: 6153

Check the value properly,whether the value is null or empty.
by soumya5891
Fri Apr 01, 2011 12:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split a record into multiple records
Replies: 8
Views: 6822

You can use a transformer stage variable also to split the records
by soumya5891
Fri Apr 01, 2011 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple question about copy stage
Replies: 3
Views: 3211

You can use a modify stage with the following function

int64_from_decimal
by soumya5891
Fri Apr 01, 2011 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparison with Greater than
Replies: 6
Views: 3134

You can also use transformer stage in both the source to derive a user defined col and then do a look up on the basis of those columns
by soumya5891
Thu Mar 31, 2011 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparison with Greater than
Replies: 6
Views: 3134

Re: Comparison with Greater than

Depending upon your data volume use join stage or look up stage and then a filter stage
by soumya5891
Fri Mar 25, 2011 12:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Replacement
Replies: 4
Views: 2386

Re: Transformer Stage Replacement

If only partition related issues are handled in the transformer then actually no need to implement transformer.This can be handled in any other stage.
Ex-For remove duplicate stage use a sort before it with hash partition and then make the partition in the rdup stage as same.
by soumya5891
Wed Mar 23, 2011 11:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date Calculate
Replies: 8
Views: 5192

Re: date Calculate

1. In a transformer or modifier stage define a stage variable say sVar1 seperate out the day and month part from the current date.Now concatinate it with current Year -4 on proper date format.This value is converted into date and stored into sVar1. 2. Now compare between sVar1 and current date with ...
by soumya5891
Fri Mar 18, 2011 3:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling error
Replies: 5
Views: 3872

Re: Null handling error

Check the nullability defined in the Output column.It should be null.
by soumya5891
Thu Mar 17, 2011 10:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregrator stage behaving indifferent
Replies: 4
Views: 1792

First use a sort stage ,sort on group keys.Make the partition to hash,with the same order as the sorting order.

Now use a aggregator stage with partition as same.Hope it will works.
by soumya5891
Thu Mar 17, 2011 11:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Recursive Select with DB2
Replies: 6
Views: 7321

I can give you an idea.Don't know whether it will help or not. 1. Just write a shell script to write with 1,2,........,N in a col say COL1 in a text file 2. Again add a col say COL2 with some default value say 1 using the script. 3. Now call this script in your sequence job. 4. Then in your parallel...
by soumya5891
Thu Mar 17, 2011 10:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: confused about partitioning method
Replies: 1
Views: 1530

Re: confused about partitioning method

1. Your Propagation flag need to clear all the time
2.For look up stage it is absolutely fine.Because in entire the reference is being copied to all the node which is necessary
by soumya5891
Thu Mar 17, 2011 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate max in DS
Replies: 4
Views: 2098

1. First need a dummy col with any value say 1 you can do it in a transformer stage or col generator stage 2. Need a aggregator stage where you determine total salary of the employee 2. Now use a sort stage and sort the salary in descending order and then remove duplicate on the basis of dummy col Y...
by soumya5891
Sat Mar 12, 2011 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator Partitioning
Replies: 3
Views: 3097

Re: Aggregator Partitioning

It is better to use hash partition whenever you are working on group of data like aggregator,sort,remove duplicate.
by soumya5891
Sat Mar 12, 2011 12:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamically handling file
Replies: 4
Views: 3792

Re: Dynamically handling file

If the no of fields in the source file get changed then the whole job flow will be affected.in this case what is the exact scenario?