Search found 57 matches
- Thu Feb 03, 2005 3:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Updating Dimension table taking too Long
- Replies: 4
- Views: 2609
Based on your job design it appears that you are not doing any change data detection and are updating all 600,000 rows. If that is true I would question whether it is necessary to update every row every time your job runs. If only a small percentage of the records are changing on an incremental basi...
- Tue Jan 25, 2005 9:37 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Multiple rows from a single row
- Replies: 8
- Views: 4428
The pivot stage is not installed automatically when datastage is installed. It is a plugin that is an option when installing the datastage server. If you are not seeing it I would guess that it is not installed. Check the Plug-in installation guide for details on how to get the Pivot installed in yo...
- Thu Jan 06, 2005 1:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Converting colums into rows
- Replies: 3
- Views: 2321
The easiest way that I know to do this is with stage variables in a transformation following the pivot. The rows generated will be in the same order that the columns were so Dol_day1 will be the first row followed by day2, day3 and so on. So create a stage variable that loops from 1 to 31 and assign...
- Thu Jan 06, 2005 11:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Converting colums into rows
- Replies: 3
- Views: 2321
- Mon Nov 29, 2004 2:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: To find jobs which are using a Particular Table
- Replies: 6
- Views: 2492
This topic has been discussed many times before. You can do a search on 'table usage' or just check out this post.
- Mon Nov 29, 2004 11:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: count on hash file
- Replies: 7
- Views: 3487
- Tue Nov 23, 2004 9:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can I use a job parameter in Datastage SQL
- Replies: 2
- Views: 7929
Yes, you can use parameters in your SQL. The only thing I think you might need are ticks around your date. We use SQL Server and the dates are required to be enclosed in ticks.
Code: Select all
select * from TBL_Transaction where Last_Update_Date<= '#process_date#'
- Mon Nov 22, 2004 4:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sort based on TimeStamp
- Replies: 11
- Views: 5035
Could you just add a current record flag? Then as you process a record you would check to see if it has a current one. If it does create your new -1 record, set the flag on the old one to false and create the new one with the flag set to true. If no record exists just create the new record with the ...
- Mon Nov 22, 2004 4:13 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sort based on TimeStamp
- Replies: 11
- Views: 5035
Could you provide a few more details about what you are trying to do?
If you just want the last record update in a table it would be a simple Select statement
If you just want the last record update in a table it would be a simple Select statement
Code: Select all
Select *
From Your_Table
Where Update_Date in
(Select Max(Update_Date) from Your_Table)
- Tue Nov 16, 2004 4:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error
- Replies: 2
- Views: 2093
A previous session may have crashed and was not able to release the job. This topic has been discussed many times before such as thislink.
- Thu Nov 11, 2004 9:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how do i import .dsx file
- Replies: 2
- Views: 3489
- Thu Nov 04, 2004 10:15 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Tracking file/table usage
- Replies: 6
- Views: 3100
Check out this post. It identifies a tool that Chuck Smith created that can be used to search a project for file or table usage.
- Thu Oct 21, 2004 7:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Teradata input stage locked by output stage
- Replies: 5
- Views: 2621
You can accomplish this in one job exactly like you show in your example. Datastage will process from the source to the flat file and once that finishes it will process from the flat file to the target. You should get the results you're looking for and avoid the locking problem that you were having.
- Wed Oct 20, 2004 3:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Default values in target database
- Replies: 4
- Views: 2498
- Mon Oct 18, 2004 1:53 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Updating a single column in a hash file.
- Replies: 3
- Views: 1332
Updating a single column in a hash file.
Is it possible to update just a single column in a hash file without losing the rest of the data on the record? I have a hash file records that consists of a key, a status, and some other data. I want to just update the status but when I do just the single field the rest of the data is cleared. Is i...