Search found 155 matches

by devsonali
Tue Jun 30, 2015 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9739

Sparse look up query

Hello all, I have the following scenario Source file - transformer - look up database (being looked up sparse look up )-output The idea is for each row value (varchar) , I need to to break the string into words (which I am handling with loop variables) and look up each word to database to get matchi...
by devsonali
Mon Jun 22, 2015 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic options
Replies: 6
Views: 3598

That helps . Thank you Shane and ArndW.
I was infact already doing a space (as suggested by Arnd)to lower the number of checks , I still wanted to test the looping (as I was doing it for the first time)

This works fine , thank again for all your help.
by devsonali
Thu Jun 18, 2015 9:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic options
Replies: 6
Views: 3598

Thank you Ray and Shane. I have a few of these conversions (replacements) so I can choose to use the change or ereplace , however , i wanted to see if something like looping will work too , that way , I can perform a search and replace For example Instead of STRING 1 = 'A SAMPLESTRING' the string is...
by devsonali
Wed Jun 17, 2015 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic options
Replies: 6
Views: 3598

Logic options

Hello all, I have a logic where in a string say SET 1 STRING 1 = 'A SAMPLESTRING' STRING 2 = 'ASMP A STRING" STRING 3 = 'ASMP STRING A" SET 2 STRING 1 = 'AB SAMPLESTRING' STRING 2 = 'ASAMPL AB STRING" STRING 3 = 'ABSAMPLE AB" The rule is in a given string if it is either appears ...
by devsonali
Fri Aug 01, 2014 11:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDecimal
Replies: 8
Views: 5387

Ok Thank you .
by devsonali
Fri Aug 01, 2014 7:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDecimal
Replies: 8
Views: 5387

Thank you Craig , that works .
This resolved the issue , however , I am curious if somebody recollects the function that can allow us to specify the scale.
I will keep this post open for a while before marking it resolved.
by devsonali
Thu Jul 31, 2014 10:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDecimal
Replies: 8
Views: 5387

I think i was able to search for a similar post (searched before but could not find it in first instance) http://www.dsxchange.com/viewtopic.php?p=253139 I think in when I try to convert something like 33333 ,it is not possible to get the data as 5,3 as there are only 2 chars (digits) on the left of...
by devsonali
Thu Jul 31, 2014 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDecimal
Replies: 8
Views: 5387

Sorry , I think i didn't get you. I am doing a string to decimal conversion so , isn't the input field suppose to be a string ?
by devsonali
Thu Jul 31, 2014 8:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDecimal
Replies: 8
Views: 5387

StringToDecimal

Hello All, I have a simple test job where I am trying to convert a string (CHAR 5) into Numeric ( 5,3) oracle table RowGen-->Transformer-->Oracle I referred the documentation but still feel that I am doing something fundamentally wrong here Transformation is StringToDecimal(inputfield) Output field ...
by devsonali
Thu Jan 23, 2014 9:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datetime to timestamp
Replies: 1
Views: 1528

datetime to timestamp

Hello All I have to funnel two fields one of which is oracle timestamp and other is Date field into a target which is timestamp. When I do a query the date (source column) the date appears to be in this format 11-DEC-2006 . To convert the date into timestamp I am using Timestampfromdatetime(source_c...
by devsonali
Mon Jan 06, 2014 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 6641

Craig I think when I wrote "Now string to timestamp function will work only if the format matches the timestamp , however , I can append a time and then use this function but i don t want to do it " I kind of started on the wrong foot. What I realize now and (after successfully testing) Th...
by devsonali
Fri Jan 03, 2014 7:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 6641

Craig I think by direct way I was trying to find out if there are any functions or logic that would handle this scenario . When I add or concatenate the incoming string - It is for me (manipulation in terms of format i.e I am adding something to the string ) . I hope I am clear. My incoming source i...
by devsonali
Fri Jan 03, 2014 3:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 6641

Re: string timestamp oracle

Sure , I will if I do not find another way - I wanted to see (learn )if anybody knows (or there is a way in DS ) of a direct way to do it .
by devsonali
Fri Jan 03, 2014 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 6641

Thanks pavi

The problem with doing this in oracle stage is that I have to combine (funnal) data with another oracle table that has date as datatype prior to load it to oracle .

If I do not take care of this I cannot funnel data without warnings.
by devsonali
Fri Jan 03, 2014 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 6641

string timestamp oracle

Hello All I have searched the forum and saw a lot of posts relating to string to time stamp conversion but not precisely what I need . Oracle takes date field as timestamp . In my job I need to load oracle table with a date field (metadata in DS shows as timestamp) from a string which is in yyyymmdd...