Search found 99 matches

by getsatish_gk
Mon Sep 01, 2008 10:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: don't want to round a string to decimal
Replies: 9
Views: 2118

Thanks Ray, 'floor' option has solved one requirement i.e for not to round the values but this will not cater for exponential values. inputvalves=5.99999999999 and 9.9999999999999995e-07 using StringToDecimal(inputvalues,'floor') does not work for expo values as a test job i am handling expo values ...
by getsatish_gk
Mon Sep 01, 2008 9:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: don't want to round a string to decimal
Replies: 9
Views: 2118

By now with several experiements i am using :o

AsDouble(Input) or DfloatToDecimal(AsDouble(pTest))
These would still round but to very less extend

Any other trick would help. 8)
by getsatish_gk
Mon Sep 01, 2008 6:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: don't want to round a string to decimal
Replies: 9
Views: 2118

Hi there, Thanks for possible solutions, Sol1: I can applied APT_DECIMAL_INTERM_PRICISION TO NONE -But the same results. :cry: Sol2: i know there are ceil,floor, round_inf and trunc_zero(default) -But all there are meant to say how to round the input value. :oops: But i don't want to round the input...
by getsatish_gk
Mon Sep 01, 2008 4:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: don't want to round a string to decimal
Replies: 9
Views: 2118

Basically i don't want to round the input value.
Is there any environment variable to disable?
[quote][/quote]
by getsatish_gk
Mon Sep 01, 2008 4:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: don't want to round a string to decimal
Replies: 9
Views: 2118

don't want to round a string to decimal

Inputstring=5.9999999999999999999
expectoutoput(decimal,26,8)=5.99999999

but i am getting 6.00000000 (decimal,26,8)

how to acevied this ia m using stringtodecimal

Please help
by getsatish_gk
Thu Aug 28, 2008 10:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling same share container multiple time in a same job
Replies: 3
Views: 1314

Oh Sorry.. I accidently clicked to Resolved

I am looking for solution.
Please let me.
by getsatish_gk
Thu Aug 14, 2008 6:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Exponential number conversion
Replies: 2
Views: 2990

Exponential number conversion

Hi All,

Does Datastage recognise exponential numbers?

ie., incoming data is 9.9999999999999995e-07
and we want to recognise this in datastage and then do validation on this.

any advise or help would be appreciable
by getsatish_gk
Tue Aug 05, 2008 5:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: getting Fatal Error: Invalid time
Replies: 9
Views: 5468

Please let me the cause and and fixing for it.. I too facing the same error message
by getsatish_gk
Tue Jul 29, 2008 10:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sqlcode & sqlstate
Replies: 6
Views: 1728

:cry: can anyone ellaborate on this and how to get sqlstate please. :wink:
by getsatish_gk
Tue Jul 29, 2008 7:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sqlcode & sqlstate
Replies: 6
Views: 1728

sqlcode & sqlstate

Hi Etlers, using Oracle Enterprise Stage to load data to oracle db. need to know the sqlstate along with sqlcode at Job log for every record reject. Currently, collecting rejects in peekstage with sqlcode & message type=Info. But, can I get both sqlcode & sqlstate if message type=Info.? Is t...
by getsatish_gk
Sun Jul 27, 2008 9:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: stringtodecimal
Replies: 5
Views: 3641

Re: stringtodecimal

Hi mrvsr, Did u tried without any conversion i.e, don't specify any conversion rule and make ur target column to decimal(x,y) and ajust the y according to ur req. but, yes if you want to do some ceil or float then conversion is req. Hi I am trying to convert a string1 varchat(256) = 010.000989887899...
by getsatish_gk
Sat Jul 26, 2008 1:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To perfrom Case like operation
Replies: 3
Views: 1340

Correct, and then based on this I want to perfrom the case statment. But I think transfrom is not support to handle case function. is it so? :shock: is not then what the equivalent for case statement in DS? 8) The INDEX() Function is correct; but use "INDEX(FKPOSSTR_IN.SEC_CODE,'.AX',1)" i...
by getsatish_gk
Sat Jul 26, 2008 1:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To perfrom Case like operation
Replies: 3
Views: 1340

It works .. Ohh it was so simple... :roll:

-Thanks a lot.
by getsatish_gk
Sat Jul 12, 2008 11:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data conversion tasks
Replies: 1
Views: 905

Data conversion tasks

Hi, i m facing issue at

converting date (yyyy-mm-dd) to dd/mm/yyyy
converting date (dd-mon-yyyy) to dd/mm/yyyy

i tried unsuccessfully with convert function..

can any one came across such tasks? :x