Search found 15603 matches

by ArndW
Tue Sep 29, 2009 6:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Count of column which is varchar datatype
Replies: 3
Views: 1231

What output are you getting in PX and have you tried it with a 1-node configuration file?
by ArndW
Tue Sep 29, 2009 4:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in reading variable number of columns from file
Replies: 7
Views: 1674

Your example has 4 columns in both rows.
by ArndW
Tue Sep 29, 2009 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tsort merger aborting: Scratch space full
Replies: 1
Views: 2357

You've run out of temporary disk space. You can either increase the available disk space pointed to by your APT_CONFIG file or reduce your disk requirements - perhaps you could pre-sort your data by doing an "order by" in your selection.
by ArndW
Tue Sep 29, 2009 3:28 am
Forum: General
Topic: Surrogate Key Generation using DS routine
Replies: 13
Views: 2892

It is not quite clear what you are having problems with. Surrogate key generation is unique across all nodes and ordered within each node. If you have multiple nodes and write to a sequential target your ordering will not sequential. Either run on 1 node or put a sort on the surrogate key into your ...
by ArndW
Tue Sep 29, 2009 1:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with cff stage
Replies: 3
Views: 1150

Define "recordid" in your context and you will get a better answer.
by ArndW
Tue Sep 29, 2009 1:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File Issue
Replies: 10
Views: 2542

Which stage is output? With a lookup stage, you would need one source stage, one reference stage and an output stage - that makes at least 4 stages for the job - or is it a sequential stage in addition to your CFF stage? No matter, still do the same, replace candidates with peek or dummy copy stages...
by ArndW
Tue Sep 29, 2009 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File Issue
Replies: 10
Views: 2542

What stages do you have in your job? Make a copy of the job and replace output stages (one by one) with PEEK stages to see if the error goes away. Try running with just one node in your configuration file and disable operator combination.
by ArndW
Tue Sep 29, 2009 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: working of join stage!
Replies: 16
Views: 5536

Stages such as the aggregator will store the minimum amount of data necessary. If the input stream is sorted by Columns A and B, then an aggregate function on Column B would only need to store/process data for one value of Column B, once that changes it knows that no further identical values of Colu...
by ArndW
Tue Sep 29, 2009 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion problem of High values using CFF stage
Replies: 3
Views: 2076

Without looking further into the issue, I do know that the High-Value of a PIC X and PIC S9 COMP-3 are different values so that if the are in the same location, as specified with the REDEFINES, you can only use one or the other. It would seem that MAX-FV was set with high value, making the value of ...
by ArndW
Tue Sep 29, 2009 12:42 am
Forum: General
Topic: Surrogate Key Generation using DS routine
Replies: 13
Views: 2892

Don't use a routine to do this in PX. Either the surrogate key generator or you can also use functionality for surrogate keys built into the transform stage.
by ArndW
Tue Sep 29, 2009 12:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed File Keys
Replies: 3
Views: 1013

Unfortunately that will not work. Since hashed files physically only have one non-duplicate key, your multiple keys actually get concatenated together with a separator (@TM) by DataStage to form that single key. Therefore you cannot just use to a subset of the key for a lookup. While it is possible ...
by ArndW
Tue Sep 29, 2009 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File Issue
Replies: 10
Views: 2542

Please post the complete error message. Also, try doing a reset of your job and posting the "from previous run" titled log entry, if present.
by ArndW
Mon Sep 28, 2009 8:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: working of join stage!
Replies: 16
Views: 5536

No, not quite. The partitioning algorithm is not a factor, just that all the records that you wish to join need to be in the same partition on all links - effectively meaning you should use the same partitioning algorithm for all partitions. The topic of using explicit or implicit sorts has been dis...
by ArndW
Mon Sep 28, 2009 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: working of join stage!
Replies: 16
Views: 5536

DataStage will detect that difference and resort implicitly (turn on APT_DUMP_SCORE to check). If you disable this functionality, i.e. through APT_DISABLE_SORT_INSERTION and sort your two links differently as you posted, the job will abort.
by ArndW
Mon Sep 28, 2009 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to change the read cache memory size for hashfile
Replies: 8
Views: 1606

There is a whole PDF documenting the differences and link caching functionality, but in most cases it is not necessary to turn on this functionality. Just load your hashed lookup file to memory (just those columns you intend on using) and DataStage will, in almost all cases, do a quick and good job ...