I have a special need to use Trensformer in a server job. There is one input file with 1 record and a reference file (Oracle connector) with about 10k.
On my output link I need all the records from reference file (10k).
When I run the job I only get 1 row (same as my input).
I linked the state code which is the same on all reference table rows as well as the input row.
I must use the Oracle connector for my reference.
I must use server job and not to use parallel with look up.
Any online documentation?
Thanks
DataStage Server job - need help with transformer
Moderators: chulett, rschirm, roy
Reply
you can use merge stage. first file - source file (one record) . Second file - reference file (10K records). Join Type - Right Outer Join. You can use transformer for any tranformation before or after the merge stage.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Reply
Not true.ssnegi wrote:you can use merge stage. first file - source file (one record) . Second file - reference file (10K records). Join Type - Right Outer Join. You can use transformer for any tranformation before or after the merge stage.
The server Merge stage performs SQL joins on a pair of text files.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You need to enable "reference link with multi-row result set".
Right click in the background of the Transformer stage and open Stage Properties. Choose the Inputs tab, then the reference input from the drop down list of link names. The check box you need is at the bottom of the page.
Right click in the background of the Transformer stage and open Stage Properties. Choose the Inputs tab, then the reference input from the drop down list of link names. The check box you need is at the bottom of the page.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: