I am new to DataStage server, and the issue that I am encountering is that when I use the merge stage to perform a full outer join using the complete set command. I get the following error:
Abnormal termination of stage testMergeA. Sequential_File_5.IDENT1 detected
I want to match like records in both sequential files and return one record in the resulting output sequential file. Also, this output sequential file should return all records that did not find a match.
I have seen another post that suggest appending the two files, but this will create duplicate records which is not ideal for my situation.
Merge Stage Issue: Joining two sequential files
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Premium Member
- Posts: 1044
- Joined: Wed Sep 29, 2004 3:30 am
- Location: Nottingham, UK
- Contact:
Is this necessary? I thought the merge stage worked by building up hash files. I have merged unsorted data, including a many-to-many join and a full outer join (although I think the latter files did happen to be sorted anyway).Sainath.Srinivasan wrote:Did you sort the data before sending through to merge?
Did you set a temporary directory, kgfrancis?
Phil Hibbs | Capgemini
Technical Consultant
Technical Consultant
I'm having issues with the Merge stage as well. I received the Abnormal Termination message the first time, but now I'm seeing the one below. Unfortunately, I tried so many different things, I'm not sure which one switched the error message at this point.
tempDirStageStuDemogCateService2002up..soCATEStuDemogAB.IDENT1: Pin 1 not initialized
I've never tried to use the merge stage before so I may be missing something fundemental here. Incidentally, the "View Data..." button stays grayed out as well inside of Designer.
tempDirStageStuDemogCateService2002up..soCATEStuDemogAB.IDENT1: Pin 1 not initialized
I've never tried to use the merge stage before so I may be missing something fundemental here. Incidentally, the "View Data..." button stays grayed out as well inside of Designer.
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Hi,
In my expiriance server merge stage is not a good idea for merging large files, your probably better off with hash file lookups.
I once tried to merge 2 big files (2+ digit GB each) on true 64 and it was a no go, on the other hand it went nice with small files.
also some times it seems the only way to make it work after a change is to rebuild the entire stage
.
IHTH,
In my expiriance server merge stage is not a good idea for merging large files, your probably better off with hash file lookups.
I once tried to merge 2 big files (2+ digit GB each) on true 64 and it was a no go, on the other hand it went nice with small files.
also some times it seems the only way to make it work after a change is to rebuild the entire stage
![Sad :(](./images/smilies/icon_sad.gif)
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)