[If this is in the manual or in the help somewhere, I've missed it.]
I have a single MSOLEDB stage which has two input links from the same transformer stage. The two links target two separate tables and each uses the generate SQL option with read committed transaction isolation.
When I run the job, only the first link in order carries any data. The second link always shows zero records. If I switch the order of the links in the transformer (so the second link is now the first, the first is now second in order), then, again, only the first link outputs any data and the second shows zero records.
If I separate the links and direct them to separate MSOLEDB stages, both links output data.
I've used multiple output links on the same MSOLEDB stage without any problems.
What am I missing?
Multiple inputs to MSOLEDB fails
Moderators: chulett, rschirm, roy
Re: Multiple inputs to MSOLEDB fails
[Oh sure, figure it out just after I post it. Oh well, I'll keep this here in case anyone else encounters this issue. Discovery below.]
Though the job didn't indicate any issues, the log showed an error for every insert attempt on the second input link. The error was "OLE DB provider error: Cannot start more transactions on this session." I was hoping that directing the links to the same stage would make them part of the same transaction. Doesn't seem to be the case. Seems that DataStage treats each link as a separate transaction.
Though the job didn't indicate any issues, the log showed an error for every insert attempt on the second input link. The error was "OLE DB provider error: Cannot start more transactions on this session." I was hoping that directing the links to the same stage would make them part of the same transaction. Doesn't seem to be the case. Seems that DataStage treats each link as a separate transaction.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: