It works! I was using isnull vs ISNULL to handle and I think it is case sensitive.
In the hash file look up there is a function called NOTFOUND. Is this not relevant in parallel jobs?
Thanks!
Search found 26 matches
- Fri May 18, 2018 12:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: set default value on look up failure
- Replies: 4
- Views: 2885
- Wed May 16, 2018 3:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: set default value on look up failure
- Replies: 4
- Views: 2885
set default value on look up failure
I have set the lookup stage conditions to 'continue' on lookup failure. These lookups are surrogate key lookup. It's defaulting to 0 for these values. Is there a way to default to a different value, let's say -1?
Thanks
Thanks
- Wed May 16, 2018 1:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert space to null
- Replies: 8
- Views: 5643
- Wed May 16, 2018 12:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert space to null
- Replies: 8
- Views: 5643
- Wed May 16, 2018 12:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert space to null
- Replies: 8
- Views: 5643
- Wed May 16, 2018 12:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert space to null
- Replies: 8
- Views: 5643
Convert space to null
Is there a way to convert blank space to NULL. We have fields from the source application that can have ' ' representing NULL. We would like to load NULL in DW. IF (LEN(TRIM(lnk_from_src.FIELD_XYZ," ","A")) = 0 or lnk_from_src.FIELD_XYZ, = " ") THEN "NULL" ELS...
- Mon Feb 12, 2018 3:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup recommendation
- Replies: 1
- Views: 2697
Lookup recommendation
New to DS parallel edition. I am trying to build a DS job for a fact table which has references to 35 dimensions (via Surrogate key). What is the best way to populate the Surrogate keys. I do not want to form a gaint SQL with left outer join to reference tables from driving table. Rather I would lik...
- Mon Dec 11, 2017 3:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem joining four tables
- Replies: 7
- Views: 4484
- Fri Dec 08, 2017 4:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem joining four tables
- Replies: 7
- Views: 4484
Yes you are correct about the join. Yes, I was able to make it work with 3 join stages. So we cannot use one join stage at all for this scenario? When you say, input needs to be partitioned and sorted, do you mean, Choosing a 'collector type' (one of ordered, roundrobin, sort merge) for each input l...
- Thu Dec 07, 2017 5:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem joining four tables
- Replies: 7
- Views: 4484
- Thu Dec 07, 2017 4:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem joining four tables
- Replies: 7
- Views: 4484
Problem joining four tables
New to DS. I am trying join 4 tables using the Join stage. The table structure are as follows Tab_A ID1 -->Key xyz TAB_B ID1 --> Common Key for B & A ID2 --> Common Key for B & C ID3 --> Common Key for B & D lmn TAB_C ID2 -->Key pqr TAB_D ID3 --> abc In SQL we would join as follows Selec...