Search found 22 matches

by cedua
Mon Nov 24, 2008 5:09 pm
Forum: General
Topic: IsNull Constraint
Replies: 3
Views: 1436

Thanks for your reply....

so, the main idea is that IsNull function return values are true, false, 1 o 0???

the other function you recommend will be in the "reject" constraint right?

Greetings,
by cedua
Mon Nov 24, 2008 4:46 pm
Forum: General
Topic: IsNull Constraint
Replies: 3
Views: 1436

IsNull Constraint

Hi there! I assume that if you have a IsNull constraint in the transformer, is like if you're checking if your records exist or not. I mean... (I'll try to put it some graphic way...) ''''''''''''''''''''''''' Hash file '''''''''''''''''''''''''''''' | SQL --> Transformer --> Result file In this cas...
by cedua
Wed Nov 19, 2008 4:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function for extracting delimited substrings in a string
Replies: 11
Views: 3901

JUST AN IDEA

It could be with "doble pass" field function..... (based on the example)
by cedua
Wed Nov 19, 2008 4:20 pm
Forum: General
Topic: Truncate decimal digits
Replies: 7
Views: 2135

I don't know why Fix() isn't doing what it's supposed to. You can use Field(InLink.TheNumber,".",1,1) : "." : Left(Field(InLink.TheNumber,".&qu ...[/quote] ok, let's give a shot.... now I have another question... my number is retrieved from a sql database (in the exampl...
by cedua
Wed Nov 19, 2008 1:59 pm
Forum: General
Topic: Truncate decimal digits
Replies: 7
Views: 2135

kandyshandy wrote:Try directly mapping float(15) to Decimal data type in hash file with SCALE = 6.
I've already done this... it's mapped to decimal 7,6...

the transformer is sending the same.....

Another suggestion?
by cedua
Wed Nov 19, 2008 12:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function for extracting delimited substrings in a string
Replies: 11
Views: 3901

are the smile coming through in your data too ? :lol: Hi, Please consider the example as below for clarification:- input_string = A:B^~C:M^~E:F We want to get individual strings A:B, C:M, E:F Delimiter is "^~". Thanks, You can use the Field() function.... Something like Field(input_string...
by cedua
Wed Nov 19, 2008 12:08 pm
Forum: General
Topic: Truncate decimal digits
Replies: 7
Views: 2135

Truncate decimal digits

Hi all there! I have a simple problem I get a number (float(15)) from a sql database and I have to insert this number in a hash file with truncated decimals (6 decimal). The number i got is: 3.1499999999999 and the number I want is 3.149999 when I use de FIX function something like fix(number,6,1) i...