Ray, looks like Index() take three params...Index (string, substring, instance) and you have four in there..
Can you please explain why you want me to add below one to over all logic?
Index(Sequence, ",", 1) = 0 Then
Search found 143 matches
- Tue Jun 18, 2013 10:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Split a delimited column based a value in another column
- Replies: 15
- Views: 4330
- Mon Jun 17, 2013 5:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Split a delimited column based a value in another column
- Replies: 15
- Views: 4330
- Mon Jun 17, 2013 3:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Split a delimited column based a value in another column
- Replies: 15
- Views: 4330
Split a delimited column based a value in another column
I want to split values in column CODES and produce output based the numbers/order listed in 3rd column SEQUENCE. Below is an example of input and output I need to produce. Please help to find a solution for this. Input: Num|Codes|Sequence 101|a,b,c|2,3 102|m,n,o,p|3,4 103|x,y,z|3 Required Output: Nu...
- Tue Jun 11, 2013 6:07 am
- Forum: General
- Topic: Subversion in DataStage
- Replies: 8
- Views: 5803
- Mon Jun 03, 2013 5:52 am
- Forum: General
- Topic: Subversion in DataStage
- Replies: 8
- Views: 5803
- Mon Jun 03, 2013 5:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Poor performance - Extracting Oracle Table
- Replies: 9
- Views: 6327
- Fri May 31, 2013 1:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Poor performance - Extracting Oracle Table
- Replies: 9
- Views: 6327
Prasanna, No stages in between. we tried that approach and found better performance. Craig, I think there are some network issues as well. Source, Target and DS Servers are located at different locations with limited bandwidth. Indexing, I am not it's a good idea to ask them to create indexes on suc...
- Thu May 30, 2013 10:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Poor performance - Extracting Oracle Table
- Replies: 9
- Views: 6327
Poor performance - Extracting Oracle Table
One of our jobs is running for ever to extract from an oracle table which has nearly 10 bil rows. We are trying to do an initial load to target i.e. Netezza, but it is running for ever. So, We tried to pull for a date range of 3 months or so, the job ran for 10 hrs to pull 300 mill. row. It is very ...
- Sat Mar 09, 2013 12:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to truncate Chinese Char ?
- Replies: 9
- Views: 6251
- Fri Mar 08, 2013 12:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to truncate Chinese Char ?
- Replies: 9
- Views: 6251
- Fri Mar 08, 2013 8:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to truncate Chinese Char ?
- Replies: 9
- Views: 6251
- Fri Mar 08, 2013 12:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to truncate Chinese Char ?
- Replies: 9
- Views: 6251
How to truncate Chinese Char ?
Hi All,
Is there any function or method we have in DataStage to truncate the value of Chinese Char from 100 to 50 ?
Please suggest me .
Is there any function or method we have in DataStage to truncate the value of Chinese Char from 100 to 50 ?
Please suggest me .
- Tue Mar 05, 2013 12:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Generic file compare using RCP
- Replies: 5
- Views: 1751
- Fri Mar 01, 2013 9:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Generic file compare using RCP
- Replies: 5
- Views: 1751
- Wed Feb 27, 2013 3:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Generic file compare using RCP
- Replies: 5
- Views: 1751
Generic file compare using RCP
I have a job which does compare two input files and produces output reports. My design is inputfile1 and inputfile2 feed into a difference/cdc stage and based on the diff/change code, I route the records to respective report. This is working fine for us. I want to make this more generic so that I ca...