Search found 57 matches

by KeithM
Mon Oct 18, 2004 1:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same hash file used for multiple lookup in 1 transform
Replies: 2
Views: 1470

Yes you can lookup to the same hash file multiple times in the same transformation. You just need to have three links from the hash file to the transformation so that you can define each link. You will also have to define the output three times in the hash stage for each of the output links.
by KeithM
Fri Oct 15, 2004 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DW Modeling question/concept
Replies: 9
Views: 2487

We do this type of thing all the time. Dimensional models work great but sometimes the reporting requirements cause you to look for other options. You can have the greatest dimensional model possible but if it takes too long to generate a report, the users are not really going to care. Perception is...
by KeithM
Fri Oct 15, 2004 10:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best Practice
Replies: 4
Views: 3313

Traditionally data warehouses are setup so that the warehouse controls pulling the data from the source systems. This is done so that the processes that build the warehouse are all controlled in a single place. In your example you have multiple source systems. You would not want to change each one o...
by KeithM
Wed Oct 13, 2004 2:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to INSERT and UPDATE
Replies: 6
Views: 2371

Your lookup to the product code hash file is not working. You said that when you build the hash you are trimming the product code. Make sure that the value you send to lookup the code is also trimmed. If there are any trailing spaces you are not going to get a match and everything will be reinserted...
by KeithM
Fri Oct 08, 2004 8:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Spliting two colums into two rows
Replies: 3
Views: 1926

You can use the pivot stage to split columns into rows. It has been covered here many times before. Just do a search on 'pivot' or 'horizontal split.'
by KeithM
Wed Oct 06, 2004 12:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cartesian join/lookup
Replies: 6
Views: 2046

If you really want to use the lookup you have the option to return multiple rows if you're looking up to an ODBC stage. In the Input properties of the transformation stage there is a check box titled 'Reference link with multi row result set.' Check this and your lookup will return multiple rows if ...
by KeithM
Wed Oct 06, 2004 10:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cartesian join/lookup
Replies: 6
Views: 2046

If that is the result you're get then something is wrong with your join. The results that you are displaying are accurate if you're reading from table1 and doing a lookup to table2. They are not accurate if you are joining the tables as I suggested. The join will pull all combinations from your two ...
by KeithM
Wed Oct 06, 2004 10:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cartesian join/lookup
Replies: 6
Views: 2046

Based on your example your just doing a simple join between two table.

Code: Select all

Select *
From Table1 T1
        ,Table2 T2
Where T1.C1 = T2.C1
And T1.C2 = T2.C2
You can do that in any stage including OCI, ODBC, ect.
by KeithM
Wed Sep 29, 2004 3:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer SQLExecute failed
Replies: 10
Views: 3378

The additional fields that your seeing were not added by Datastage, they were added by someone who can create and modify tables in your database. One way to tell is that Ascential is a little more more consistent with their naming standards. :wink: I'm guessing that the physical table layout in your...
by KeithM
Wed Sep 29, 2004 1:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer SQLExecute failed
Replies: 10
Views: 3378

The problem is in your insert/update statement since in the error is happening during the Put. This could be caused by something as simple as trying to update a key that isn't there. Look at the log through Datastage director. It should give you more information including the exact record that is ca...
by KeithM
Wed Sep 29, 2004 10:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of Records
Replies: 6
Views: 2426

Stages like the ODBC stage do not have a delete option in the list of update actions. In order to delete you have select user defined sql and then write the sql statement yourself. Pass in the key column to your delete stage and code your statement similar to the following: Delete From "My_Tabl...
by KeithM
Tue Sep 21, 2004 1:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: On request jobs
Replies: 10
Views: 3100

This sounds like an application where you could use Ascential RTI. You would get the benifit of using the business logic contained in your datastage jobs without being tied to a batch schedule. This of course assumes that you have an unlimited budget.
by KeithM
Tue Sep 21, 2004 12:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Connection
Replies: 2
Views: 11430

You need to create your ODBC DSN on the server running Datastage, not your individual client machine. The client for SQL server is the Datastage server.
by KeithM
Tue Sep 21, 2004 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: New to DataStage
Replies: 0
Views: 508

The datastage CDs contain a tutorial that you can go through. I don't remember exactly where it is but they are not too hard to find. They basically go through creating a simple project using a database that they also provide. It is pretty basic stuff but it is what I used when I started. It provide...
by KeithM
Wed Sep 15, 2004 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: One input record to multiple output records
Replies: 10
Views: 3860

Could you just bring the same file in ten different times and send those to the link collector? I'm not sure if that would improve performance but it would remove the process of creating ten different temporary files.