Search found 155 matches
- 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...
- 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
- 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...
- 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 ...
- Fri Aug 01, 2014 11:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDecimal
- Replies: 8
- Views: 5387
- Fri Aug 01, 2014 7:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDecimal
- Replies: 8
- Views: 5387
- 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...
- Thu Jul 31, 2014 9:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDecimal
- Replies: 8
- Views: 5387
- 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 ...
- 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...
- 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
- 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...
- 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 .
- 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
- 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...