Search found 173 matches
- Fri Nov 03, 2006 10:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
But how are limiting the output? Each time in your examples, you are only showing one output but you have said that its possible the constricting value could be 'source' or 'select' or many others. How are you determining which value the output is to be restricted by? Ie Are you only ever wanting o...
- Thu Nov 02, 2006 7:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
- Thu Nov 02, 2006 2:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
Fundamental Principle It is not possible to combine rows from multiple sources unless there is some common factor, without generating a Cartesian product. A Cartesian product contains M * ... Thanks for the reply, As per your comment my conclusion will be that it is not possible to implement the ab...
- Thu Nov 02, 2006 1:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
Hi, If you create a hashed file for Table2 with a composite key consisting of ( col1, col2, col3 and col4) Then you would have all the records. Now coming to the transformer of the job. Perform the lookup, by joining, colA to col1 '1' to col2 'source' to col3 colB to col4 I'm thinking this would wo...
- Thu Nov 02, 2006 12:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
- Thu Nov 02, 2006 11:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
- Thu Nov 02, 2006 9:02 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
Is the value of table2.col3 literally 'Source'? If so select the values from that table into a hash file with two columns. Use a query like select col4, col5 from table2 where col 3 = 'source' On the hash file set the first column (col4) as the key. Link this column to your input table. If hashlook...
- Wed Nov 01, 2006 11:17 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: One more lookup problem
- Replies: 18
- Views: 5307
One more lookup problem
I am having tough time with lookup, table 1 ---------------------------- colA | colB | col C | col D ---------------------------- 1 | A | 1946 |jlk 2 | B | 946 |jlk 3 | A | 46 |jlk 4 | B | 6 |jlk 5 | A | 1 |jlk 6 | D | 146 |jlk 7 | E | 196 |jlk ---------------------------- table2 -------------------...
- Wed Nov 01, 2006 10:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup without key
- Replies: 6
- Views: 2248
It is working, it was mistake from my side.narasimha wrote:Have you linked the key from the hashed file lookup to the source table column?
They use this
Code: Select all
if LookupLink.NOTFOUND then '**' Else SourceTable.State
Thanks a lot
- Wed Nov 01, 2006 10:01 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: replacing null column with some value and assigning a keyval
- Replies: 20
- Views: 5725
Compared to what? Why don't you do the research and let us know. Without tying up resources, we could only supply a theoretical answer in any case. ... Other way of achieving was hardcoding it, I checked out for running this job for 50,000 records with hardcoding it took 12 min with hash file it to...
- Wed Nov 01, 2006 9:55 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup without key
- Replies: 6
- Views: 2248
How can you do a lookup without a key ? - Create a hashed file from your lookup table with stt_cd as key (Use this as a lookup) - Now when you dont find a lookup replace with '**' else let the column flow through Ex : if LookUp.NOTFOUND then '**' else SourceTable.State Get back if have problems doi...
- Wed Nov 01, 2006 9:53 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating new records in DataStage
- Replies: 4
- Views: 3090
- Wed Nov 01, 2006 5:15 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup without key
- Replies: 6
- Views: 2248
Lookup without key
I have two tables source table has ----------------------------------------- address1 | city | state | zip ------------|---------|-------|----------- 123 main | newark| NJ | 12310 3434 | sanjose| CA | 54540 1232 | ASJK | AI | 4454550 ----------------------------------------------- NOTE: In the above...
- Wed Nov 01, 2006 4:35 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Not doing anything.
- Replies: 7
- Views: 2094
Re: Job Not doing anything.
We have master sequence activities which call another set of sub master sequence activities and these sub master sequence activities call the jobs. The problem that we are facing from thelast 2 months is that the jobs froze (not the same but different places). Previously we had this probelm once in...
- Wed Nov 01, 2006 3:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating new records in DataStage
- Replies: 4
- Views: 3090
Creating new records in DataStage
Hi, Please help me in doing this. --INPUT RECORDS ------------------------------------- ColA|ColB|ColC|ColD A1 | A2 | ALL |A4 B1 | B2 | B3 |B4 C1 | C2 | C3 |C4 ----------------------------------------- Whenever I found the word ALL in ColC, I have to create a new 3 records, the value of ColA, ColB a...