Search found 53125 matches

by ray.wurlod
Tue Feb 28, 2012 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort Stage, Stage Collector sort
Replies: 25
Views: 7338

Not quite. It's driven not by the data, but by the design. If there's nothing on the input link (a Sort stage or a link sort) indicating that the data are sorted, then a tsort operator will be added when the score is composed. All three of these methods end up using a tsort operator. Therefore "...
by ray.wurlod
Tue Feb 28, 2012 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Length Calculation Warning
Replies: 7
Views: 4671

Bear in mind that VarChar(4000) might be specified in characters. With NLS enabled this may require 8000 bytes or even 12000 or 16000 bytes, depending on the encoding used.
by ray.wurlod
Tue Feb 28, 2012 12:16 pm
Forum: General
Topic: Query on DataStage Repository 7.5
Replies: 5
Views: 3833

The modification history is not stored in DS_JOBS, it is stored in DS_JOBOBJECTS. You can join these, using the criterion DS_JOBS.JOBNO = DS_JOBOBJECTS.OBJIDNO. Selecting for distinct category will, however, invalidate this join. So you need to think a bit more clearly about your requirement, probab...
by ray.wurlod
Tue Feb 28, 2012 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Real time and Restructure stages
Replies: 5
Views: 1284

That's really poor management. I wouldn't task a beginner thus. Did you pretend to be more experienced than you really are? I'd be interested in learning what the task actually is. There's almost nothing you can do with these stage types alone. Can you please explain the task and, if you know, why &...
by ray.wurlod
Tue Feb 28, 2012 2:25 am
Forum: General
Topic: WaitForFile Activity after a sequencer Activity
Replies: 9
Views: 2243

You can do that, by using background processes and clever control of timing within the sequence.
by ray.wurlod
Mon Feb 27, 2012 10:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort Stage, Stage Collector sort
Replies: 25
Views: 7338

I prefer an explicit Sort stage, partly because of the law of least astonishment (don't try to astonish the next programmer) and partly because it gives me control of more things, such as memory used for sorting and generation of key change flags.
by ray.wurlod
Mon Feb 27, 2012 7:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Values Repetition
Replies: 3
Views: 1645

Do you have version 8.5, which has looping in the Transformer stage? Even so, you don't really need it. Use stage variables to compare the current row with the previous row and, where the key value is the same and the other value is missing, use the other value from the previous row. Make sure that ...
by ray.wurlod
Mon Feb 27, 2012 1:42 pm
Forum: General
Topic: finding unix shell scripts used in datastage
Replies: 9
Views: 3479

Code: Select all

SELECT NAME FROM DS_JOBS WHERE JOBNO IN (SELECT OBJIDNO FROM DS_JOBOBJECTS WHERE EVAL "@RECORD" LIKE '%.sh%');
by ray.wurlod
Mon Feb 27, 2012 1:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SWITCH Stage - with wild card character
Replies: 10
Views: 2675

Read the manual about what wildcard character is supported. Tip: it's not the percent sign.
by ray.wurlod
Mon Feb 27, 2012 1:37 pm
Forum: General
Topic: Query on DataStage Repository 7.5
Replies: 5
Views: 3833

Code: Select all

EVAL "FIELD(CATEGORY,'\',COUNT(CATEGORY,'\'),1)"
by ray.wurlod
Mon Feb 27, 2012 1:34 pm
Forum: Site/Forum
Topic: I search, but all I find is other searchers
Replies: 9
Views: 7589

Well there IS a filter to search only for resolved topics.
by ray.wurlod
Mon Feb 27, 2012 1:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partition Type = Auto
Replies: 9
Views: 2591

Search!
This question has been answered in detail before.
by ray.wurlod
Mon Feb 27, 2012 1:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Real time and Restructure stages
Replies: 5
Views: 1284

Don't start with those. Start with simpler stage types.
by ray.wurlod
Mon Feb 27, 2012 1:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Length Calculation Warning
Replies: 7
Views: 4671

Welcome aboard. Estimated row length is calculated by summing the sizes of the data types of all of the columns defining the row structure. See Chapter 2 of Parallel Job Developer's Guide to learn how large each data type is. But you've either got a very large number of columns, or some very large c...
by ray.wurlod
Mon Feb 27, 2012 1:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table metadata comparison
Replies: 5
Views: 2782

You can run the comparison tool from the command line.