Search found 35 matches
- Mon Jul 06, 2009 10:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Range lookup functionaility
- Replies: 4
- Views: 2046
- Mon Jul 06, 2009 12:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Range lookup functionaility
- Replies: 4
- Views: 2046
Re: Range lookup functionaility
The warning is thrown because we have duplicates in reference link for "Col1". I have also faced the same problem, and as a workaround, I have made an inner join of the two links, thereafter filtering them on the condition
Timestamp >= StartTS and Timestamp <= EndTS.
Timestamp >= StartTS and Timestamp <= EndTS.
- Sun Jul 05, 2009 11:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: merge 4 flat files
- Replies: 8
- Views: 2314
Re: merge 4 flat files
u can merge them using FUNNEL Stage.
- Fri Jun 19, 2009 6:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to subtract the month from yyyymmdd
- Replies: 5
- Views: 4282
- Wed May 27, 2009 2:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job in running mode for long time
- Replies: 4
- Views: 1630
Re: Job in running mode for long time
What is the partitioning done on the Oracle Enterprise Stage?
If you have used RoundRobin, could you try with Hash/sort on Target Table Key Columns.
If you have used RoundRobin, could you try with Hash/sort on Target Table Key Columns.
- Thu Apr 09, 2009 12:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue with reading csv file
- Replies: 2
- Views: 1525
Re: Issue with reading csv file
Could u set the field default properties as given below -
Delimeter = comma
Quote = none
and then check..
Delimeter = comma
Quote = none
and then check..
- Fri Feb 06, 2009 1:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: CFF vs Seq File stage
- Replies: 8
- Views: 3582
- Fri Jun 20, 2008 5:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: convert from decimal to string
- Replies: 2
- Views: 1712
Re: convert from decimal to string
You can achieve the result by using the following stage variables - decimaltostring(<column_name>,"suppress_zero") ............. SVar1 Index(SVar1, ".",1) ............. SVar2 Len(SVar1) - SVar2 ............ SVar3 And then writing the following derivation - SVar1[1,(SVar2- 1)] : S...
- Mon Jun 16, 2008 8:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to trap null date value?
- Replies: 7
- Views: 2993
Re: How to trap null date value?
Can you try to trim the input field first and then check with IsNull() function as shown below -
IsNull(Left(Trim(input_column_name),Len(Trim(input_column_name))))
IsNull(Left(Trim(input_column_name),Len(Trim(input_column_name))))
- Tue Jun 03, 2008 3:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion
- Replies: 8
- Views: 3820
Re: Date Conversion
you can use the following derivation in transformer......... considering the input column name as tempdate.......
tempdate[1,6]:'19':tempdate[7,2]
but the question here is how to decide about the century?? i have hardcoded that here as 19 but it can be 20 also......
tempdate[1,6]:'19':tempdate[7,2]
but the question here is how to decide about the century?? i have hardcoded that here as 19 but it can be 20 also......
- Thu May 29, 2008 10:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing of special keywords from a field
- Replies: 3
- Views: 960
Re: Removing of special keywords from a field
Can u store all the keywords in a sequential file? If yes, then u can write a Job Control (In a server job)... wherein u will traverse the sequential file in a loop (taking one keyword at each time) and storing it in the seesion. Then, u can call a parallal job from the job control, which has in its...
- Mon May 12, 2008 1:51 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Padding blank spaces behing the passed string in Oracle
- Replies: 6
- Views: 1881
Re: Padding blank spaces behing the passed string in Oracle
have u tried trimming using the function -
Left(Trim(col_name),Len(Trim(col_name)))
Left(Trim(col_name),Len(Trim(col_name)))
- Fri May 09, 2008 12:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Using Stage Variables in PX vs. Server
- Replies: 6
- Views: 1665
- Thu May 08, 2008 12:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Change Data Capture stage
- Replies: 17
- Views: 5571
vkhandel, The trim function which you have posted worked. But i was wondering why isn't the normal Trim not working . Thanks! The reason which i understood is that the field is appended with a null character at the end '\0' instead of spaces... thats why the trim function is not able to truncate th...
- Mon May 05, 2008 3:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Change Data Capture stage
- Replies: 17
- Views: 5571
I already have a transformer between Db2 stage and a CDC stage,where in i am trimming the varchar fields. But still there is problem. Thanks Try to trim with the following function - Left(Trim(col_name),Len(Trim(col_name))) I have faced the problem, wherein trim was not working properly for the fie...