Search found 42189 matches

by chulett
Wed Sep 09, 2009 5:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL in routine
Replies: 9
Views: 4112

Routines return a dynamic array and what you're seeing a Field Mark. Use convert() to strip it:

Code: Select all

Convert(@FM,"",YourField)
by chulett
Wed Sep 09, 2009 5:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel installation not working
Replies: 9
Views: 3747

Install whichever compiler the docs say are supported. However, as noted previously, Vista is not supported and likely the cause of your socket errors.
by chulett
Wed Sep 09, 2009 5:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsenv is not pointing properly
Replies: 13
Views: 6504

Make sure that LD_LIBRARY_PATH= line is one continuous line, sometimes copy/paste will insert hard returns. One way you can check is with :set list in vi and see where the $ EOL markers are.
by chulett
Wed Sep 09, 2009 5:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Maintain sort order in datastage
Replies: 10
Views: 8363

You can't "sort" if you need to maintain the original file order. Are your account numbers already sorted properly, all like values contiguous? If so, I'd think the Remove Duplicates stage should do the trick.
by chulett
Wed Sep 09, 2009 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rank...
Replies: 2
Views: 982

Re: rank...

kiran_sri wrote:Used a stage variable X and derivation X=X+0
X = X+0? Did you actually mean X+1? :?

There's more to it than that if you have to give ties equal rank but that should get you closer.
by chulett
Wed Sep 09, 2009 5:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsenv is not pointing properly
Replies: 13
Views: 6504

If you still need help after that, post your dsenv.
by chulett
Tue Sep 08, 2009 9:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ls -m behaving strangely
Replies: 6
Views: 2219

Have you involved your SysAdmins, the ones responsible for the O/S on those boxes? And please post the complete log entry which shows the command being executed.
by chulett
Tue Sep 08, 2009 7:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle deadlock when trying to upsert.
Replies: 10
Views: 3984

Typical situation where dev data does not reveal an issue that production data does. Does it work fine with a 1 node config file?
by chulett
Tue Sep 08, 2009 7:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel installation not working
Replies: 9
Views: 3747

The C++ compiler only comes into play when you build a job with a transformer in it. What exact version of DataStage is this - 7.5x2? That's the only 7.x version with any hope of working but some fundamental changes were made from Windows 2000 to XP and Vista which I think is where your socket error...
by chulett
Tue Sep 08, 2009 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: istool not able find
Replies: 8
Views: 1617

Sure, dscmdexport has always been available.
by chulett
Tue Sep 08, 2009 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer Function Problem
Replies: 4
Views: 1459

Of course you can sort and transform in a single job. You'd have to post the actual, unedited error if you wanted us to help with that. Unless, like Ernie is wondering, you're just trying to sort the column names in a Transformer output link to be in descending alpha order. If so, that you'd have to...
by chulett
Tue Sep 08, 2009 2:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get Ranking using datastage
Replies: 4
Views: 8225

Your rank variable would only be incremented when the Marks value changes and ties mean you need to 'skip' ranks. So two values of 46 means the rank goes up by 2 next time rather than 1, so simply keep track of the number of Names per Mark and use that as the increment when the Mark changes. All tha...
by chulett
Tue Sep 08, 2009 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "0x7c911982" referenced memory at "0x00000004
Replies: 3
Views: 1595

Could not what - be read? Does this error persist after a reboot?
by chulett
Tue Sep 08, 2009 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer Function Problem
Replies: 4
Views: 1459

There's no 'sorting' possible in a transformer - use a Sort stage for that.
by chulett
Tue Sep 08, 2009 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get Ranking using datastage
Replies: 4
Views: 8225

Sort desc by the field you want to rank by then use stage variables for the rank. The trick would be to not increment rank for ties and then keep track of how many ties there were for the next increment.