Search found 6 matches
- Fri Oct 31, 2008 5:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate("#date_2nd_month#")
- Replies: 3
- Views: 1109
StringToDate("#date_2nd_month#")
I have defined the parameter date_2nd_month the value 2008-07-31 as a string and in a transformer I've created the variable valid_to_villkor as a date with the expression StringToDate("#date_2nd_month#"). Why am I getting the output ***** to that variable?
- Fri Oct 24, 2008 4:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date comparison in tranformer
- Replies: 2
- Views: 1038
Date comparison in tranformer
I wonder why this expression only give me 'N' for column forny although I get rows with different valid_from_date2 and valid_from_date:
if DSLink247.valid_from_date2<>DSLink247.valid_from_date then 'J' else 'N'
valid_from_date2 and valid_from_date are in date format.
if DSLink247.valid_from_date2<>DSLink247.valid_from_date then 'J' else 'N'
valid_from_date2 and valid_from_date are in date format.
- Mon Oct 20, 2008 8:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date addition in a constraint
- Replies: 2
- Views: 992
- Mon Oct 20, 2008 8:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date addition in a constraint
- Replies: 2
- Views: 992
Date addition in a constraint
I'm trying to have a constraint that does the following: StringToDecimal(StageVar) <= StringToDecimal(StageVar1) +1 The two stage variables have these codes: StageVar1 DateToString(DSLink247.valid_to_date) StageVar DateToString(DSLink247.renewal_date) I have also made two columns to check the values...
- Thu Oct 16, 2008 5:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trouble with index function in a filter
- Replies: 3
- Views: 1135
- Thu Oct 16, 2008 5:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trouble with index function in a filter
- Replies: 3
- Views: 1135
Trouble with index function in a filter
I have trouble with an index function in a filter. The where condition is: INDEX('KM,CM,',produktomr:',',1) =1 I want only rows from the column produktomr that is equal to KM or CM. I have seen a post in the forum that discusses solutions with locate and findstr, but I found those solutions hard to ...