Hi,
I want to make a simple job, I have Seq. file which has 10 records...Then I want to use Transformer stage and at the end o/p as another Seq file....
My requirement is Say I have :
1
2
3
4
5
6
7
8
9
10
as inpur records in seq file....
using transformer I need to replicate it 10 times in o/p......
so above records shousld come 10 times....but again i dont want to take out 10 outputs from transformer and then funnel it....
please guide me with some different logic....
Need help on scenario
Moderators: chulett, rschirm, roy
You don't specify which version of DataStage you are using. For v8.5 and above, the looping capability of the Transformer is perfect for this. The Parallel Job Developer's Guide includes an example of just how to do this.
For versions 8.1 and below, either the option you wish to avoid (multiple output links and a funnel), a BuildOp or External Source/External Filter or maybe External Target would be the easiest methods. A short awk script called by External Source or External Filter could handle it.
Regards,
For versions 8.1 and below, either the option you wish to avoid (multiple output links and a funnel), a BuildOp or External Source/External Filter or maybe External Target would be the easiest methods. A short awk script called by External Source or External Filter could handle it.
Regards,
- james wiles
All generalizations are false, including this one - Mark Twain.
All generalizations are false, including this one - Mark Twain.
-
- Participant
- Posts: 72
- Joined: Wed Dec 12, 2007 2:29 am
-
- Participant
- Posts: 31
- Joined: Mon Jun 28, 2010 5:15 am
- Location: pune