Search found 24 matches
- Wed Oct 07, 2009 7:22 am
- Forum: General
- Topic: If ELSE statement
- Replies: 3
- Views: 1937
- Wed Oct 07, 2009 6:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: picking some part from the string
- Replies: 8
- Views: 2666
Create a stage variable, svBreak, with the following:
Then your column derivations will be:
Col1
Col2
Code: Select all
Index(link.InputString, " ", Count(link.InputString[1,20], " ") )
Col1
Code: Select all
link.InputString[1, svBreak -1]
Code: Select all
link.InputString[svBreak,150]
- Wed Oct 07, 2009 4:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: picking some part from the string
- Replies: 8
- Views: 2666
- Wed Oct 07, 2009 1:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Get max datetime column doing a froup by
- Replies: 1
- Views: 925
Re: Get max datetime column doing a froup by
In the Stage / Properties tab of the aggregator stage, under the 'Aggregations' category, try adding the property 'Preserve Type' to the 'Column for Calculation', and set it to 'True'. This should force the stage to output the result of the aggregation in the datatype of the input column you are agg...
- Thu Oct 01, 2009 6:30 am
- Forum: IBM QualityStage
- Topic: List of QualityStage objects
- Replies: 3
- Views: 2368
Thanks for the reply Ray. I appreciate your help, but I must admit I'm still stumped. I've had a good look in both the DS_JOBS and DS_JOBOBJECTS tables, but can't find the names of any of the QS objects that I'm looking for. Also, my project folder doesn't appear to contain any 'quality' subfolders....
- Wed Sep 30, 2009 10:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: String Replace with Mixed Case
- Replies: 3
- Views: 1078
Re: String Replace with Mixed Case
Can there only be one single occurence of a word to be replaced, or could you have for example:
123 OCONNELL Drive MCDONALD Road CA USA
123 OCONNELL Drive MCDONALD Road CA USA
- Wed Sep 30, 2009 10:00 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Searching for a word in string in a column
- Replies: 7
- Views: 1523
ArndW wrote:will return 0 if the string is not found, or a numeric start position. ...Code: Select all
INDEX(In.COL1,"BANANA",1)
Too quick for me!
- Wed Sep 30, 2009 9:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Searching for a word in string in a column
- Replies: 7
- Views: 1523
Re: Searching for a word in string in a column
Index(COL1,'BANANA',1) will return the position of the first occurrence of the text 'BANANA' in your column, or 0 if the text can't be found.
- Wed Sep 30, 2009 9:00 am
- Forum: IBM QualityStage
- Topic: List of QualityStage objects
- Replies: 3
- Views: 2368
List of QualityStage objects
Hi guys, I was wondering whether anybody here knows of a way to obtain a list of QualityStage objects, such as lookup tables and match specs, and their containing categories? I'm quite familiar with querying the DS_JOBS file to produce the same kind of list for DataStage jobs, but I'd love to know w...