As I explained earlier, DS is not reading the accented characters correctly, so I don't think the junk character can match to the lookup.Raftsman wrote:You could always create a lookup fileset and compare and replace with the character you want.
Search found 72 matches
- Wed Oct 10, 2007 3:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert accented characters to english
- Replies: 9
- Views: 10100
- Wed Oct 10, 2007 1:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert accented characters to english
- Replies: 9
- Views: 10100
Post your syntax - the suggestion was strictly in regards to using one rather than a bajillion inline function calls. The syntax still contains a billion functions: Convert(Char(135),'c', Convert(Char(128),'C', Convert(Char(221),'Y', Convert(Char(150),'u', Convert(Char(151),'u', Convert(Char(219),'...
- Wed Oct 10, 2007 10:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert accented characters to english
- Replies: 9
- Views: 10100
CONVERT does not work
Already tried, does not work.chulett wrote:One suggestion - use Convert rather than EReplace, that way you'll only need one statement. Check the online help for the gory details.
- Thu Oct 04, 2007 9:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Handle_Null Generating Fatal Error
- Replies: 3
- Views: 1878
Handle_Null Syntax
Thanks a lot Dude. That resolved it.Ronetlds wrote:Just confirming, I should have said "Is this what you have set up"
Anyway, try
SUM_CASH_VAL :decimal[11,2] = handle_null(SUM_CASH_VAL,0)
Note the brackets [] after the word "decimal". Not parens (). That could be your problem.
- Wed Oct 03, 2007 3:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Handle_Null Generating Fatal Error
- Replies: 3
- Views: 1878
Pls explain
Yes, Thats how its setup. I am not sure what u r trying to say, pls explain.
- Tue Oct 02, 2007 7:11 pm
- Forum: General
- Topic: Sequence Design Question
- Replies: 5
- Views: 2700
- Tue Oct 02, 2007 2:48 pm
- Forum: General
- Topic: Sequence Design Question
- Replies: 5
- Views: 2700
- Tue Oct 02, 2007 2:21 pm
- Forum: General
- Topic: Sequence Design Question
- Replies: 5
- Views: 2700
Sequence Design Question
Hi Gurus I have a design question. We are running DS 7.5.2 EE on windows 2003 server. In parallel jobs, if we create multiple layers of sequences so that it doesn't look messy on the designer, does that have any implications? I mean if one sequence calls another sequence and the second sequence call...
- Fri Jul 13, 2007 10:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ISNULL is returning 0 for NULLs
- Replies: 6
- Views: 1797
Re: ISNULL is returning 0 for NULLs
Try doing the 'If Then Else' part in a stage variable. Set APT_STRING_PADCHAR \x00 and Trim DS.ID1 and DS.ID2 in the else part. You can also try to bring both the input fields as varchar instead of char to test for success. If DS.ID1 = '000000000000' Then If DS.ID2 = '000000000000' Then SetNull() E...
- Fri Jul 13, 2007 7:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ISNULL is returning 0 for NULLs
- Replies: 6
- Views: 1797
- Thu Jul 12, 2007 2:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ISNULL is returning 0 for NULLs
- Replies: 6
- Views: 1797
Because CHAR(12) requires twelve characters and APT_STRING_PADCHAR is set to \x00. Thanks Ray, so how can I detect 12 nulls? bcoz ISNULL doesn't work. I need to check if the value contains NULLs and then reject it. I also added the $APT_STRING_PADCHAR to job parameters and the value is 0x20 (space)...
- Thu Jul 12, 2007 2:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ISNULL is returning 0 for NULLs
- Replies: 6
- Views: 1797
ISNULL is returning 0 for NULLs
Hi Gurus I have 2 fields both - CHAR(12) Not Null columns coming from Complex Flat file, which goes through Joins (no change to column metadata) and enters Transformer1, which has: If DS.ID1 = '000000000000' Then If DS.ID2 = '000000000000' Then SetNull() Else DS.ID2 Else DS.ID1 and the output column...
- Tue Jul 10, 2007 9:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRIM(varchar(50)) not working
- Replies: 15
- Views: 11732
Search the forum, on-line help or the manuals for APT_STRING_PADCHAR environment variable. Hi Ray Thanks for the reply. I tried that - but no change. However I changed the source file to be the left link in the left outer join and now the filter works. this is a little wierd, I don't know why the A...
- Fri Jul 06, 2007 10:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRIM(varchar(50)) not working
- Replies: 15
- Views: 11732
Still no success but a wierd disocvery
The point is that it doesn't matter - in a constraint expression - whether anything is removed - the result does not propagate. The expression will return True if there is any non-space character in the string, and False otherwise. Thanks to all. I tried all the suggestions, but no success. I found...
- Thu Jul 05, 2007 12:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRIM(varchar(50)) not working
- Replies: 15
- Views: 11732
No change
Hi Rayray.wurlod wrote:Code: Select all
If Len(Convert(" ", "", NullToValue(InLink.TheColumn, " "))) > 0 ...
Thanks for the reply. I tried that, no luck yet
![Sad :(](./images/smilies/icon_sad.gif)