Search found 218 matches

by Nageshsunkoji
Fri Nov 18, 2005 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: function for rounding
Replies: 2
Views: 1389

Round_inf function for rounding in EE.

Hi , I worked with function like ROUND_INF, for rounding the data.This function is called Rtype function which is compatable with type conversion functions.For example DecimalToDecimal((100.00/12),'round_inf').But this function is working finely up to 18 digits.After that this function is not giving...
by Nageshsunkoji
Fri Nov 18, 2005 6:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is the diff between DB2 API and DB2EE stage
Replies: 3
Views: 2004

What is the diff between DB2 API and DB2EE stage

Hi All, Now we are doing the performance tuning for our Jobs.Presently we are using DB2 API stage to extract the attributes from database tables.If we use DB2 EE stage to extract the attributes, is it improve the perforamnce ? Please , give me some inputs on the basic difference between API and EE s...
by Nageshsunkoji
Wed Sep 28, 2005 4:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDecimal
Replies: 3
Views: 2827

Convert function in transformer

Hi, In case 1 : If u r input column field_name=blank means it contains null.So,u want to handle nulls By using If isnull(field_name) then 0.0 else Stringtodecimal(field_name) In case 2 : If u r string contains +999.999,then first u want to remove + from string by using function convert("+"...
by Nageshsunkoji
Tue Sep 27, 2005 2:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DATA SET problem in PX
Replies: 1
Views: 1367

DATA SET problem in PX

Hi all, I am facing one strange problem with Dataset.In one of my output Dataset i have one column like ACCOUNT :DECIMAL: Length 7 and scale 4.In my output Dataset i am getting the proper value like 87.40.While, when i am using the same Dataset as a input in one of my other jobs,all my columns are s...
by Nageshsunkoji
Thu Sep 15, 2005 8:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problems in string formating.
Replies: 12
Views: 4116

Use left function

Hi,

I think left function in transformer stage will resolve your problem, the syntax is as follows

Left(col1,19):col2

now the col2 will start from 20 th opsition.


Thanks&Regards
Nagesh
by Nageshsunkoji
Thu Sep 08, 2005 2:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding Function in Transformer satge
Replies: 4
Views: 4962

Re: Rounding Function in Transformer satge

Hi brethart, Thanx for u r suggestion,i tried with the userdefined of the Environment variables section,but the results are not proper ? its not rounding the number properly.u have any other idea regarding this rounding function Please let me know. Thanks&Regards Nagesh Did u try adding to the u...
by Nageshsunkoji
Wed Aug 31, 2005 9:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding Function in Transformer satge
Replies: 4
Views: 4962

Re: Change Environment Variable values

Hi Nagesh, Please check the Environment Variable settings. Default internal decimal variables are precision 38 scale 10, but this can be changed by specifying $APT_DECIMAL_INTERM_PRECISION $APT_DECIMAL_INTERM_SCALE Set APT_DECIMAL_INTERM_ROUND_MODE to specify : Ceil Floor Round_inf Trunc_zero I thi...
by Nageshsunkoji
Wed Aug 31, 2005 7:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding Function in Transformer satge
Replies: 4
Views: 4962

Rounding Function in Transformer satge

hai all, Actually i am facing problem with Decimaltodecimal(----somecalculation),Round_inf) in Transformer Stage .This function giving proper rounding up to 17 digits.its not working properly for more than 18 digits number.can anybody suggest or any help regarding this matter. Thanks & Regards N...