Search found 42189 matches

by chulett
Sun Jun 06, 2004 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: The Aggregator Stage and sorting
Replies: 6
Views: 1350

Thanks Ray. That's more the kind of information I was fishing for. 8)
by chulett
Sat Jun 05, 2004 9:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: The Aggregator Stage and sorting
Replies: 6
Views: 1350

Wow... I hope all of that was for the home audience, 'cuz I really do understand how the dreaded thing works. Well, expect for the 'in memory versus temporary file storage' bit which started this all off. I know the whole 'buckets' thing and how it can (in essence) use one bucket when the input data...
by chulett
Sat Jun 05, 2004 10:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Diff data with lookup
Replies: 10
Views: 3380

Don't use a hash file - it's not needed here (unless it is being used for something other than the date handing we're discussing) and it's just adding unneeded complications! Simply flow your (ordered) data through and use the Stage Variable. Does that sound feasible? Do you really need to do a loo...
by chulett
Sat Jun 05, 2004 10:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Diff data with lookup
Replies: 10
Views: 3380

Unless I'm really missing something here, which could be the case... One Stage Variable should be fine. It looks like your input data is already sorted, if it is coming in exactly like you showed in your first post. If not, yes you would have to ensure it was sorted properly. Then, your Stage Variab...
by chulett
Sat Jun 05, 2004 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: The Aggregator Stage and sorting
Replies: 6
Views: 1350

Thanks for the clarification. I guess I should have more properly said 'grouping' rather than 'sorting', but the answer seems to be that it all happens in memory rather than using any temporary files like the Sort stage does. So, this leads me to a performance question... When faced with a situation...
by chulett
Sat Jun 05, 2004 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Diff data with lookup
Replies: 10
Views: 3380

This seems like it would be simple to do with a Stage Variable. If 'Initial Entry' is a 0, set the stage variable to the Date field on that line. Use the Stage Variable to populate the flat file output field. Keep using it until you find another 0, then switch it again.

No hash file needed. :wink:
by chulett
Fri Jun 04, 2004 4:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: The Aggregator Stage and sorting
Replies: 6
Views: 1350

The Aggregator Stage and sorting

In the actual Sort stage, you can specify where it puts the temporary working files (soa*) that it needs. I'm wondering how that works with the Aggregator when it needs to sort data as well as group it. There is no corresponding option in the stage to control where it puts things. I just want to mak...
by chulett
Fri Jun 04, 2004 6:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject does not work
Replies: 6
Views: 1589

Don't think so. The OP specified Server jobs and your $APT environment variable is only valid for PX jobs, so I really don't think it will help. Besides, I don't believe they are saying that all of the updates are being rejected (i.e. - failed), but from my reading all update rows, in spite of being...
by chulett
Fri Jun 04, 2004 6:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dont create file when no data
Replies: 13
Views: 4638

Wow - something from the Oliver archives. :wink: I wasn't sure people actually searched there.

By "full", I'm assuming they mean they only want to process (non-empty) files with records "in subsequent jobs" and have built a methodology to detect / avoid / not process the empty ones they have created.
by chulett
Thu Jun 03, 2004 9:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BitWise Functionality
Replies: 8
Views: 2200

Ah... the dangers of not disabling Smilies when you post. :wink:
by chulett
Thu Jun 03, 2004 9:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dont create file when no data
Replies: 13
Views: 4638

Re: dont create file when no data

Actually you can easily solve this problem with following steps: 1. write a unix script which checks for a file size in bytes 2. Delete it if size is greater than zero 3. Excute this script using after stage subroutine and send filename as argument to subroutine 4. Use ExecSH command to execute scr...
by chulett
Thu Jun 03, 2004 6:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dont create file when no data
Replies: 13
Views: 4638

The simple fact of the Sequential stage starting and stopping creates the file as it is opened and then closed, so as Ken said it can't be avoided. People that are bothered by the empty files usually write an After Job script to test and remove them if they are zero bytes. That's a pretty simple thi...
by chulett
Thu Jun 03, 2004 6:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject does not work
Replies: 6
Views: 1589

Doh! Should have mentioned that little tid-bit. :oops:
by chulett
Wed Jun 02, 2004 8:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject does not work
Replies: 6
Views: 1589

I would bet Ken is correct in that the Reject link is the second of the three output links from the Transformer, with Insert being first and Update being third. Make sure you understand that output link ordering is very important in general and especially when using a Reject link. A row qualifies fo...
by chulett
Wed Jun 02, 2004 12:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pivot Column to Row.
Replies: 7
Views: 4043

Re: Pivot Column to Row.

I agree that Pivot Stage can be used to Pivot one row into many rows. But, this is the otherway round. One column into many columns. I'm not really following what you mean by 'the other way round'. You can turn one column into many columns by splitting the data (using something like FIELD or via su...