Search found 4992 matches

by kcbland
Thu Mar 09, 2006 3:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What happens when size increase in a Hash file
Replies: 5
Views: 1365

A recent DSX newsletter contained a white paper on hashed files. Check it out.
by kcbland
Thu Mar 09, 2006 8:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Maximum export size for a DSX
Replies: 29
Views: 6524

It's cleaner to just create a new project for each major release. Just make the project name a variable in any scripts that initiate jobstreams, so that you can "version" releases in new projects. Best practice tip 8)
by kcbland
Thu Mar 09, 2006 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BEST UPSERT TECHNIC
Replies: 15
Views: 5056

Did you write the inserts to a file? Did you write the updates to a file? I bet you directly wrote to the database. If your hash file only contains the necessary rows for processing, you'll find the hash file is more performant. Trust Craig and I on this.
by kcbland
Wed Mar 08, 2006 7:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Manipulation in a Flat file
Replies: 15
Views: 4746

The whole row is a single text string value, there's only one column defined. Simple design.
by kcbland
Wed Mar 08, 2006 4:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Manipulation in a Flat file
Replies: 15
Views: 4746

Use a Sequential stage with 1 column defined to read the entire row as a single column and then use a combination of FIELD and concatenation statements to assemble the changed row to output to another Sequential file again as a single column.
by kcbland
Wed Mar 08, 2006 12:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error codes of DS
Replies: 1
Views: 961

Here, of course! :lol: There's no central document that lists all error codes across all APIs, Clients, and Server jobs. This site is a great tool. All of your issues can be found here with solutions, so use the Search tool.
by kcbland
Wed Mar 08, 2006 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: initial load
Replies: 5
Views: 956

Consider add an OR condition to evaluate to TRUE if there is no date in the hash reference lookup. Something like:

Code: Select all

inlink.DATE_COL > ref.DATE_COL OR ISNULL(ref.DATE_COL)
by kcbland
Wed Mar 08, 2006 8:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BEST UPSERT TECHNIC
Replies: 15
Views: 5056

If you take the natural keys in your source data, load them into a work table in your target database, then inner join those keys to your target table and spool those rows to the hashed lookup file, your hashed file will only contain those rows found in the database. During transformation, reference...
by kcbland
Wed Mar 08, 2006 7:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best Practices For ETL Development and Datastage Usage
Replies: 6
Views: 4313

Your question takes a book to answer. Consider reading Ralph Kimballs ETL Toolkit for starters. Ultimately, it all depends on budget, time to deliver, and complexity of solution. Best Practices for one company are different than the next. A best recommendation would be to engage a consultant who has...
by kcbland
Wed Mar 08, 2006 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BEST UPSERT TECHNIC
Replies: 15
Views: 5056

During transformation split your data into rows for insertion and rows for updating. Bulk load your inserts, then perform the updates by either bulk loading into a work table and "merge" the data, or simply use update existing rows only. This method will be the fastest.
by kcbland
Wed Mar 08, 2006 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Initiating a DataStage Job from the UNIX command line
Replies: 16
Views: 12123

DSExecute is an API. Read your DS BASIC manual for more details. The command line interface program dsjob is well documented in its own manual under your Start menu.
by kcbland
Tue Mar 07, 2006 2:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: compilation error "string too large"
Replies: 13
Views: 3455

The error message indicates 8192 bytes is the limit.

Arnd: The problem is a long constraint expression (See other posts regarding this).
by kcbland
Tue Mar 07, 2006 2:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How To Insert No.of Processed rows into Monitor Table
Replies: 6
Views: 1183

The transformer can only call this API when the stage finishes, which means the after-transformer routine call. To do it for every row is expensive, and since there's no mechanism to tell you the last row being processed you can't keep count by yourself in a stage variable. Therefore, to be able to ...
by kcbland
Tue Mar 07, 2006 1:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: compilation error "string too large"
Replies: 13
Views: 3455

Break your long constraint into sections using stage variables, and then compare a set of stage variables in the constraint. Your text is too long.