Search found 155 matches

by devsonali
Thu Sep 17, 2015 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing a specific character from string
Replies: 9
Views: 4844

Thank you for all your inputs , I have tested (more testing in progess ) it by applying space (trailing) and looking for 'a ' and replacing it with ' ' . I will also test using loops and external filter as suggested Although , for looping , my logic greatly depends on the sequence of stage variables...
by devsonali
Wed Sep 16, 2015 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing a specific character from string
Replies: 9
Views: 4844

Thank you Kashyap, will try to implement that
by devsonali
Wed Sep 16, 2015 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing a specific character from string
Replies: 9
Views: 4844

Update - Somebody suggested (not finding the post anymore ) using a trim function with 'T' This helps because I can combine it with other logic to perhaps work it out However , Trim( string,"a","T") Trim with T option only seems to work for last words(in this case) so "abc d...
by devsonali
Wed Sep 16, 2015 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing a specific character from string
Replies: 9
Views: 4844

Removing a specific character from string

Hello everybody I have a string coming in its like abc def hsk nmps etc My requirement is to remove any letter 'a' from the words within the string if it appears as the last letter For example "abc def abca" should be come "abc def abc" "abc def' will not change "abc nk...
by devsonali
Fri Aug 14, 2015 9:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP with Shared Containers
Replies: 4
Views: 2835

Thank you Shane "Shared Container output you have "surfaced" the columns A,C,D? " The shared container takes A,D as input (defined that way ) and outputs Columns 'A,C,D' Yeah B - remains hidden and I want it to be populated to output file but before that I want to select only col...
by devsonali
Fri Aug 14, 2015 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP with Shared Containers
Replies: 4
Views: 2835

RCP with Shared Containers

Hello i have a job Database->Transformer1->Shared Container-> Transformer2->file The requirement is to pull values of two columns A and B from DB to file Shared Container uses columns - A , D as input and A ,C , D as outputs -Enabled Job level RCP -Yes -Enabled RCP for shared Container - Yes -Enable...
by devsonali
Fri Jul 03, 2015 8:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

That helps , Many thanks .

Marking the issue as resolved.
by devsonali
Thu Jul 02, 2015 2:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

Oh ...You are right, My bad , I didn't check the SQL hard enough ... That solves the problem. However, How did you figure out that we need to concatenate the string with % signs ...I mean there seems to be no way to figure that out from the log . How do one get an idea ? Thanks again for all your in...
by devsonali
Thu Jul 02, 2015 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

What is the exact sql you have in your sparse query? What is the exact error you are getting? What is the exact column name you are using in the lookup stage? * SELECT K.COMP_NM FROM COMP_NAME K WHERE K.COMP_NM '%'||ORCHESTRATE.COMP_NM||'%') * Lookup_41,0: The following SQL statement failed: SELECT...
by devsonali
Thu Jul 02, 2015 8:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

i am using Oracle but the concatenation fails with the same error
by devsonali
Thu Jul 02, 2015 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

I tried that earlier but saw the following error
"The connector could not find a column in the input schema to match parameter"

That's when I added the quote
by devsonali
Wed Jul 01, 2015 1:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

Now , I see what your were saying , Yes the query works fine but only in external sql portal , not in database stage (Oracle) However , if I hard code with a value say 'A' to test the sql Instead of 'ORCHESTRATE.searched_string' select tab_col from table_T WHERE INSTR(Tab_Col,'A') >0 then I get requ...
by devsonali
Tue Jun 30, 2015 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

Yeah , but as I mentioned , my requirement is to collect all the matching records (from database ) from each word within each string (input)
by devsonali
Tue Jun 30, 2015 12:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

rkashyap wrote:You can also try to use 'instr' function instead of 'like'.
I think that will give you the position , i am looking for the matching string here
Thank you
by devsonali
Tue Jun 30, 2015 12:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9053

Thanks for all your inputs Firstly I checked if my column name is exactly what I get in the transformer and then I took off the % sign , I get the exact same result , this tells me there is something wrong , but I just don't know what is it . Secondly , I did check the number of records with like st...