how can i generate a sequence number in parallel jobs
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 39
- Joined: Mon May 19, 2008 7:22 am
how can i generate a sequence number in parallel jobs
how can i generate a sequence number in parallel jobs
Re: how can i generate a sequence number in parallel jobs
[quote="nandela.sudheer"]how can i generate a sequence number in parallel jobs[/quote]
Using surrogate generaator stage
Using surrogate generaator stage
-
- Participant
- Posts: 39
- Joined: Mon May 19, 2008 7:22 am
Re: how can i generate a sequence number in parallel jobs
by using Transformer Stage how can i generate the Sequence Number.
rameshv wrote:nandela.sudheer wrote:how can i generate a sequence number in parallel jobs
Using surrogate generaator stage
-
- Participant
- Posts: 57
- Joined: Wed Oct 21, 2009 4:46 am
- Location: India
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Initialize a stage variable - let's call it svSeqNo - to the partition number (system variable @PARTITIONNUM). Derive it with an expression that increments it by the number of partitions (system variable @NUMPARTITIONS), for example
Code: Select all
svSeqNo + @NUMPARTITIONS
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.