Hi,
My Job design is:
Seq File-Transformer-Aggregator-seq file.
I am getting this error while running:
Abnormal termination of stage TestZOCTRHS2_ChkDuplicates_Job1_v1..Aggregator_26 detected
After reseting the job: getting following message:
From previous run
DataStage Job 89 Phantom 16362
jobnotify: Unknown error
Job Aborted after Fatal Error logged.
Program "DSD.WriteLog": Line 239, Abort.
[16654] DSD.StageRun TestZOCTRHS2_ChkDuplicates_Job1_v1. TestZOCTRHS2_ChkDuplicates_Job1_v1.Aggregator_26 1 0/0 - core dumped.
Attempting to Cleanup after ABORT raised in stage TestZOCTRHS2_ChkDuplicates_Job1_v1..Transformer_23
DataStage Phantom Aborting with @ABORT.CODE = 1
Other Key items are:
Input data file size is 703 MB.
Thanks for any help in advance.
Abnormal termination of stage Error In Aggregator stage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 23
- Joined: Wed Sep 10, 2008 4:46 pm
- Location: USA
Abnormal termination of stage Error In Aggregator stage
Focus on ABC: Audit , Balance and Control..
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Are your data sorted on the grouping keys?
Most Aggregator problems in server jobs relate to running out of memory because they have to keep the entire result set in memory. When input data are sorted this is not the case, and jobs run orders of magnitude faster as a result. You do, however, have to tell the Aggregator stage that its inputs are sorted in addition to providing sorted input.
Most Aggregator problems in server jobs relate to running out of memory because they have to keep the entire result set in memory. When input data are sorted this is not the case, and jobs run orders of magnitude faster as a result. You do, however, have to tell the Aggregator stage that its inputs are sorted in addition to providing sorted input.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 23
- Joined: Wed Sep 10, 2008 4:46 pm
- Location: USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The third party sorters, like SyncSort and CoSort, cost money because they sort fast. The UNIX sort command is acceptable in many cases. Server Sort stage, however, is notoriously slow.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 23
- Joined: Wed Sep 10, 2008 4:46 pm
- Location: USA
Thanks a lot Ray!ray.wurlod wrote:You do, however, have to tell the Aggregator stage that its inputs are sorted in addition to providing sorted input.
I am exploring different options.
How we can tell Aggregator stage that Inputs are already sorted.
Thanks!
Focus on ABC: Audit , Balance and Control..
There are "Sort" columns in the Aggregator, one for order and another for direction. So, you can say "Fred" is the 1st field sorted ascending, etc. Make sure you don't lie to it, it will bust you!
And make sure you sort to match your grouping columns or the Aggregator will throw it all away and still do its own thing like it is doing now.
![Wink :wink:](./images/smilies/icon_wink.gif)
And make sure you sort to match your grouping columns or the Aggregator will throw it all away and still do its own thing like it is doing now.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 23
- Joined: Wed Sep 10, 2008 4:46 pm
- Location: USA