Search found 42189 matches

by chulett
Mon Jan 25, 2010 5:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicates but keep first 5
Replies: 14
Views: 4169

That's one way, sure: 1 = new group, 0 = not. Or a simple stage variable holding the concatenated values from all fields that make up the 'group'. First time checking a 'previous' value against a current value?
by chulett
Mon Jan 25, 2010 4:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert () - Quotation Marks
Replies: 5
Views: 1840

Of course, no sense evaluating them once per record when once per job run will do. :wink:
by chulett
Mon Jan 25, 2010 4:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Locked
Replies: 10
Views: 4080

Always best to fully understand the things you are suggesting and a "-9" kill signal should never be on the top of anyone's list of Things To Try. :wink:
by chulett
Mon Jan 25, 2010 4:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parameter between double quote when scheduled
Replies: 20
Views: 4480

Of course, and the "short" version is the first six characters followed by "~1" for the first unique occurance and incrementing from there. So more than likely "format~1" for "formation DS". Plus the extension, if any.
by chulett
Mon Jan 25, 2010 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert () - Quotation Marks
Replies: 5
Views: 1840

Ah... didn't notice both hiding in there. Couldn't you use CHAR(34) and CHAR(39) to represent them in the expression?
by chulett
Mon Jan 25, 2010 3:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ETL job properties
Replies: 4
Views: 1341

Ummm... nice color choice. Had to highlight that last sentence to be able to read it. :?
by chulett
Mon Jan 25, 2010 2:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Array size
Replies: 3
Views: 1269

There's no magic answer and many factors, max and average record length versus network packet size being the first that come to mind along with things like the concurrency issue you noted. You'll also need to worry about Transaction Size and how it compares to the Array Size unless you stick with a ...
by chulett
Mon Jan 25, 2010 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicates but keep first 5
Replies: 14
Views: 4169

No, one counter should be fine, alone with a copy of the 'previous' group. Set the counter to one every time the group changes, else increment it. Constrain the output to when the counter is <= 5.
by chulett
Mon Jan 25, 2010 2:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to read variable length file
Replies: 7
Views: 3393

Then don't try using 'the fixed record type'. Can you post the FD or layout of the file you are trying to read? A handful of sample records would help, too.
by chulett
Mon Jan 25, 2010 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert () - Quotation Marks
Replies: 5
Views: 1840

Use single quotes for the outside string delimiter, then the double just becomes data.
by chulett
Mon Jan 25, 2010 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicates but keep first 5
Replies: 14
Views: 4169

Yup, pretty standard 'group change detection' and you want to make sure you pass no more than 5 records per 'group'.
by chulett
Mon Jan 25, 2010 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicates but keep first 5
Replies: 14
Views: 4169

Hmmm... needing to keep X duplicates would probably mean via stage variables in a Transformer, assuming they're sorted properly first.
by chulett
Mon Jan 25, 2010 1:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel installation not working
Replies: 9
Views: 3747

First suggestion - please start your own post with all your particular details.
by chulett
Mon Jan 25, 2010 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage removed from new DS?
Replies: 3
Views: 1317

The 'Command' stage was/is Windows only.
by chulett
Mon Jan 25, 2010 12:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble encoding sort keys: Field "xy" has keyprep
Replies: 4
Views: 5537

Guess not. Seems to be saying that 3M rows or so in, you've got something it doesn't think is a valid timestamp.