Search found 53125 matches

by ray.wurlod
Wed Sep 27, 2006 3:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: change file format
Replies: 3
Views: 894

Using routines? Yes, but why re-invent what a DataStage job can do perfectly well?
by ray.wurlod
Wed Sep 27, 2006 3:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Full outer join of more than two files in DataStage
Replies: 4
Views: 3752

Merge stage must read its source files. Therefore to join more than two files you need more than one job. To do it without the Merge stage you would need to load the text files into temporary tables (UV tables would do) and use the database to effect the N-way full outer join. Hashed file lookups do...
by ray.wurlod
Wed Sep 27, 2006 3:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence Activity of the Job still shows Running
Replies: 6
Views: 1745

Don't know. Seems like a bug. This is one of those cases when you need the Clear Status File facility.
by ray.wurlod
Wed Sep 27, 2006 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Insert and Delete the rows in the same Table
Replies: 8
Views: 2538

The writing rule "replace existing rows completely" effects DELETE followed by INSERT for each row sent to the target.
by ray.wurlod
Wed Sep 27, 2006 3:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: [Server] dsjob returncode list
Replies: 3
Views: 2682

6 is not in that list either. 6 and -6 are not the same value.
by ray.wurlod
Wed Sep 27, 2006 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field(Orders.RecIn,"","",2) = RecType
Replies: 8
Views: 3755

The Field() function may have three or four arguments, Arnd. The fourth is number of fields to return. However, I do not believe that the third argument for Field() can legally be a string; it must be an integer. Therefore, assuming that you've read the entire source record (RecIn) as a VarChar and ...
by ray.wurlod
Wed Sep 27, 2006 3:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: insufficient system resources
Replies: 3
Views: 1552

How many CPUs? And please verify the number of processing nodes in the configuration file used when the error was encountered. Does the error occur with half that number of nodes? Depending on what you try to do, a Transformer stage may use scratch space. The partitioning and collection may also use...
by ray.wurlod
Wed Sep 27, 2006 3:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Environmental variables in the DB2 API stage?
Replies: 1
Views: 576

Moderator: please remove this duplicate post.

Others: please respond to this post instead.
by ray.wurlod
Wed Sep 27, 2006 3:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update table taking too long.
Replies: 8
Views: 3852

The job needs to wait until the 275,000 row transaction is assembled and successfully committed. This is your choice, since your job specifies "all rows are one transaction" (transaction size 0). You also need to check what obstacles exist to update operations (which are slow in any case). What inde...
by ray.wurlod
Wed Sep 27, 2006 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seperating the string
Replies: 4
Views: 1143

You are going to need to assemble the fields into a single field, so that a string such as the one in your original post occurs. Then apply the Field() function to that, returning everything after the second "#" character. Field(assembled_data, "#", 3, Count(assembled_data, "#...
by ray.wurlod
Wed Sep 27, 2006 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inner Join, Combine: When checking operator: Dropping compon
Replies: 3
Views: 3602

"Natural" is the pathname of the control file for the virtual Data Set associated with the link. "Synthetic" is the internal name for the buffer associated with the same link. When an equi-join is performed, you only need one of the two source fields (since they have identical values) so the other i...
by ray.wurlod
Wed Sep 27, 2006 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Function
Replies: 6
Views: 2166

IsValid("date", InLink.TheColumn)

Don't use StringToDate() in the formulation, as this may fail if the column does not contain a date.
by ray.wurlod
Wed Sep 27, 2006 2:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we call Environmental variables Through DB2API stage?
Replies: 3
Views: 830

Create a job parameter that is the environment variable and use a reference to the job parameter in your DB2API stage for the Schema.
by ray.wurlod
Wed Sep 27, 2006 2:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ereplace function
Replies: 2
Views: 1197

Why do you not free the memory that you malloc? Of course this is a memory leak.
by ray.wurlod
Wed Sep 27, 2006 2:49 pm
Forum: IBM QualityStage
Topic: How do you see the rows which have fallen into unhandled pat
Replies: 8
Views: 4278

Correct. In the fullness of time, as you tune your rule set and rule overrides, you expect to have fewer unhandled patterns. You will always, of course, have unclassified tokens, but these can still be handled in patterns. For example in the ?,FI pattern the unknown token in a name rule set is going...