Search found 57 matches

by KeithM
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...
by KeithM
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...
by KeithM
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...
by KeithM
Thu Jan 06, 2005 11:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting colums into rows
Replies: 3
Views: 2321

You can use the pivot stage to convert columns to rows.
by KeithM
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.
by KeithM
Mon Nov 29, 2004 11:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: count on hash file
Replies: 7
Views: 3487

I think your problem might that you are trying to use a Unix command in Windows.
by KeithM
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#'
by KeithM
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 ...
by KeithM
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

Code: Select all

Select * 
From Your_Table 
Where Update_Date in 
   (Select Max(Update_Date) from Your_Table)
by KeithM
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.
by KeithM
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

You import DSX files and XML documents through Datastage manager. Go into manager and select Menu/Datastage components from the menu. Here you will be able to import your DSX file.
by KeithM
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.
by KeithM
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.
by KeithM
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

You can enter values in the derivation to get the results you want. You don't have to map a column from your source table to each column in the target table.

If you want a blank just put '' in the derivation. If you want a null value in your target enter @NULL in the derivation.
by KeithM
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...