Search found 262 matches

by asitagrawal
Wed Aug 22, 2007 4:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String maths
Replies: 18
Views: 6103

I have tried the same routine on a differrent server hosting 7.5, but I am getting same results....
Can anyone explain what could be wrong ??
by asitagrawal
Wed Aug 22, 2007 4:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String maths
Replies: 18
Views: 6103

Mine is DataStage 7.5.1A
by asitagrawal
Wed Aug 22, 2007 4:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String maths
Replies: 18
Views: 6103

robvonk wrote:I get these results.

It seems that my results are as expected.

We're using Datastage server 7.5.1 on windows. Maybe there's a bug in your version?
I wish I had your machine :)
Hey is it possible for you to share the Hardware, Operating System and DataStage version details please...
by asitagrawal
Wed Aug 22, 2007 3:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String maths
Replies: 18
Views: 6103

I tried the 'Ans = SSUB(1234567890.12,1234567890.2)' code in a routine and it gives back 0.08 correctly. Are you trying to put it into an integer? The results are confusing... My test routine is: Ans = Arg1-Arg2:' ':SSUB(Arg1,Arg2):' ':SDIV(SSUB(SDIV(Arg1,1,2),SDIV(Arg2,1,2)),1,2):' ':TRIM(Arg1,' '...
by asitagrawal
Tue Aug 21, 2007 2:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String maths
Replies: 18
Views: 6103

String maths

Hi, I am using String Maths for arithmetic operations on bigger numbers, but I am facing a problem with SSUB: Example: SSUB(1234567890.12,1234567890.2) is resulting in 0 instead of -0.08 i,e SSUB is returning a 0 when the difference is less than -0.1 Getting this difference calculation right, is var...
by asitagrawal
Tue Aug 21, 2007 2:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EXACTNUMERIC and Rounding of Digits
Replies: 4
Views: 1570

ok.. I ll test these functions.. thanks
by asitagrawal
Mon Aug 20, 2007 1:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to construct external null string
Replies: 5
Views: 3860

Hi, I am facing the same problem today.. but I do not understand the soultion and the problem. In my case, the output file is being created in EBCDIC and the column was initially defined as Decimal data type and default padding charatcer as #. Now after changing it to NVarChar , it started givign th...
by asitagrawal
Mon Aug 20, 2007 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding special Character in Sequential File Stage
Replies: 0
Views: 1322

Check your NLS settings.... DataStage, if unable to translate a character, converts to '?'
by asitagrawal
Mon Aug 20, 2007 5:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EXACTNUMERIC and Rounding of Digits
Replies: 4
Views: 1570

the second argument specifies the PRECISION and the third argument specifies whether rounding has to happen or truncation. In my case I need to round off to the second decimal position, but in case the number is big enough, eg. Input AMT = 12345678901234567890123.123 RATE_MULT = 1.25500001 RATE_DIV ...
by asitagrawal
Mon Aug 20, 2007 4:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EXACTNUMERIC and Rounding of Digits
Replies: 4
Views: 1570

EXACTNUMERIC and Rounding of Digits

Hi, Initially my problem was with arithmetic operations of number with larger singinifcant number of digits, but this was solved by using string mathematics functions. But now, I also need to use FIX function to round of to 2 digits. eg. Original Function: FIX(Input.FOREIGN_AMOUNT*(Input.RATE_MULT/I...
by asitagrawal
Sat Aug 18, 2007 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using String Math functions
Replies: 3
Views: 925

Thanks Chulett !!

The job is getting compliled without any warnings.. So now I am proceeding with using SDIV etc
Is it not possible to add the function to DSParams ??

Has any one faced such requirement ?
by asitagrawal
Sat Aug 18, 2007 8:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using String Math functions
Replies: 3
Views: 925

using String Math functions

Hi, I am facing problems with Decimal numbers arithmetic operations, esp for (23,3) format decimal numbers. The forum search results guide me to the usage of String Math functions, like, SDIV and SMUL etc. I tested them using a routine and the results are correct. But I am unable to use these functi...
by asitagrawal
Fri Jul 27, 2007 1:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stopped vs Aborted
Replies: 7
Views: 2455

I would try for handling this requirement in some other way... shall get back once some solution is there...
by asitagrawal
Fri Jul 27, 2007 1:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hai could you help me
Replies: 2
Views: 1197

Install the packaged tutorial... its very good for beginning with DataStage server edition.
by asitagrawal
Fri Jul 27, 2007 1:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSHome settings location
Replies: 2
Views: 1560

use the search facility of th forum... its good ;)
Check this post