Search found 53125 matches

by ray.wurlod
Thu Mar 08, 2007 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Promblem compiling parallel transformer
Replies: 3
Views: 1105

Don't think so. This one looks like a C++ compiler issue.

Did you install the C++ compiler (from Visual Studio .NET) before installing DataStage?
by ray.wurlod
Thu Mar 08, 2007 8:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Abort After 50 warnings
Replies: 13
Views: 5230

It's set to 50 if you run from Designer.

Go to Director, open Options from the Tools menu to set a different limit.
by ray.wurlod
Thu Mar 08, 2007 8:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Checking Inserts/Updates on large tables
Replies: 18
Views: 4700

20 million is not too bad. All you need in the hashed file to test for existence is the business key values (and maybe the surrogate key values as a non-key column) from the current rows of the dimension table. Two integers is not such a big row; storing 20 million of these in a hashed file won't ev...
by ray.wurlod
Thu Mar 08, 2007 8:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage variable on duplicates..
Replies: 4
Views: 995

To remember the previous row you need to record the value AFTER performing the comparison.

Code: Select all

svIsChanged  <==  (InLink.TheColumn <> svPrevValue) And (@INROWNUM > 1)
svPrevValue  <==  InLink.TheColumn
by ray.wurlod
Thu Mar 08, 2007 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row count of a link
Replies: 24
Views: 19340

The row count for a link is given by @OUTROWNUM (for output links from a Transformer). You don't need to calculate anything while the job is running. As noted, you can interrogate the job subsequently. You could also generate 1 as a single column on an output link and pass this through an Aggregator...
by ray.wurlod
Thu Mar 08, 2007 7:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: splitting a string into three fields
Replies: 33
Views: 5453

Tags, including Code tags, are affected by the check boxes at the bottom when you reply, especially "Disable BBCode in this post".
by ray.wurlod
Thu Mar 08, 2007 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in the routine
Replies: 3
Views: 1499

Click the Format tool in your routine editing window.
Check that the final End statement lines up with the RETURN(Ans).
If not, there's an imbalance.
Post the formatted code.

You have reinvented an intrinsic statement called Locate().
by ray.wurlod
Thu Mar 08, 2007 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA OCI stage and Oracle sequence
Replies: 10
Views: 3860

My guess is that the sequence and the table are not synchronized. There's nothing in Oracle to force them to be synchronized. Someone has added rows to the table without using the sequence. You need to re-synchronize (re-initialize) the sequence using SELECT MAX(key)+1 FROM tablename as the value.
by ray.wurlod
Thu Mar 08, 2007 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Jobs keeps running even though the Mload has failed
Replies: 8
Views: 2611

Is the job REALLY still running, or has it aborted but not been able to reset its status file (from which Director obtains the status)?
by ray.wurlod
Thu Mar 08, 2007 7:40 am
Forum: General
Topic: Can we wrap the Java code in Oracle Stored Procedure and the
Replies: 2
Views: 1403

Probably.

Why?
:?
by ray.wurlod
Thu Mar 08, 2007 7:39 am
Forum: General
Topic: Call java code
Replies: 4
Views: 2343

You can purchase the add-on Java PACK.
by ray.wurlod
Thu Mar 08, 2007 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can you call Java Code from DataStage?
Replies: 3
Views: 2082

Or you can purchase the add-on Java PACK.
by ray.wurlod
Wed Mar 07, 2007 6:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: add_to_heap() - Unable to allocate memory
Replies: 6
Views: 1694

Or when writing to the hashed file read cache preparatory to performing lookups.

But my comment applies equally to the situation when the hashed file write cache fills.
by ray.wurlod
Wed Mar 07, 2007 6:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: add_to_heap() - Unable to allocate memory
Replies: 6
Views: 1694

No, it's just a warning. When you run out of memory for hashed file cache, the hashed file is accessed directly on disk. You don't lose data, but you do lose speed.
by ray.wurlod
Wed Mar 07, 2007 6:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: splitting a string into three fields
Replies: 33
Views: 5453

Apply a TRIMB() before anything else. Stick the result in a stage variable. Use the Field() function to get the state and zip. For example zip might contain five or nine characters. Beware that the city name may have spaces in it, so you need to know how many fields there are in the string, and extr...