Search found 53125 matches

by ray.wurlod
Thu Apr 03, 2008 4:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we do sum in transformer stage?If yes how?
Replies: 18
Views: 14168

Your original question did not mention grouping. Therefore I answered in the sense of a simple sum. You need sorted input and more stage variables to identify when the groups change so that you can reset the summation variable.
by ray.wurlod
Thu Apr 03, 2008 4:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to access a Hashed file using UniVerse stage
Replies: 3
Views: 1156

That is rarely necessary. It only governs how dates and times are handled.
by ray.wurlod
Thu Apr 03, 2008 4:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: select Distinct
Replies: 16
Views: 4758

I disagree. The simplest way is to add DISTINCT to the extraction query, as suggested earlier.
by ray.wurlod
Thu Apr 03, 2008 4:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing to the Log file from a transformer in a Parallel Job
Replies: 4
Views: 1293

It will slow the job down immensely but it can be done. It's probably best to call your routine from a stage variable, so that you can discard the result. Write your routine using the C-language DataStage API; you probably need DSLogInfo() or DSLogWarn() somewhere within the code. See Parallel Job A...
by ray.wurlod
Thu Apr 03, 2008 3:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: inserting tabs into a column
Replies: 2
Views: 1028

Code: Select all

Convert(@FM,"|",Fold(InLink.TheLongString,250))
by ray.wurlod
Thu Apr 03, 2008 3:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we do sum in transformer stage?If yes how?
Replies: 18
Views: 14168

Stage variable initialized to zero and added to as each row arrives on the input link.
by ray.wurlod
Thu Apr 03, 2008 3:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator
Replies: 1
Views: 785

Not available (use Remove Duplicates stage).
Not available (use Remove Duplicates stage).
Mean.
by ray.wurlod
Thu Apr 03, 2008 3:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading of the fixed width file with Header and tail
Replies: 6
Views: 1534

You would not call the shell program from the Transformer stage. You would more likely call it from a before-job subroutine, using ExecSH. But, as I indicated earlier, it is not necessary to incur the overhead of starting another shell.
by ray.wurlod
Thu Apr 03, 2008 1:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance for multiple Lookups
Replies: 4
Views: 1108

Try using four or five Transformer stages, with four or five lookups each, and enable inter-process row buffering. That way you will have four or five separate processes each with its own memory allocation.
by ray.wurlod
Thu Apr 03, 2008 1:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading of the fixed width file with Header and tail
Replies: 6
Views: 1534

Add a reject-handling link to the Sequential File stage. It will capture the header and trailer rows because they do not match the record schema of a detail rows. These captured rows can then be re-parsed using, for example, a Column Input stage.
by ray.wurlod
Thu Apr 03, 2008 1:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: routine or stage
Replies: 2
Views: 1555

You don't "handle goto" in the Switch stage. You associate an output port number with each candidate value. That's all you have. Anything more complex you're probably going to need a Filter stage or Transformer stage.
by ray.wurlod
Thu Apr 03, 2008 1:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: sortRec
Replies: 11
Views: 13618

Answer the questions that Havoc deigned not to.
by ray.wurlod
Thu Apr 03, 2008 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error EditServ.impl.JobDefnImpl@42e53910
Replies: 2
Views: 1008

How? We're not at your site. Further it looks like an internal error (given that what appears to be a memory address is included), so probably needs to be reported to your support provider. I'm guessing that the Designer editor (EditServ) has had a problem (saving?) the job definition. Is your job s...
by ray.wurlod
Thu Apr 03, 2008 1:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameters to pass through ConvertWeek()
Replies: 4
Views: 1356

A value from 0 to 6 that indicates your local convention for the first day of the week. For example in the USA a week begins on Monday, in Australia a week begins on Sunday.
by ray.wurlod
Thu Apr 03, 2008 1:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Illegal Variable name/number
Replies: 9
Views: 2024

Not at all. But the parameter markers are positional dependent upon position in your columns grid. Had you used generated SQL it would have found the Key column at #3 to include in the WHERE clause.