- Create a target table with a field name SEQ_NO for sequence number.
- Design the Mapping as shown above.
- In the Expression transformation create a variable port and increment it by 1.
- V_Count=V_Count+1
- In the Expression transformation create a output port and assign variable port to it.
- O_Count=V_Count
- Connect O_Count to SEQ_NO.
Sunday, July 8, 2012
Generating sequence numbers without using Sequence Generator transformation
Subscribe to:
Post Comments (Atom)
Hi
ReplyDeleteI can't execute the above mapping, it is giving parse error when assigning the output port
Thanks
l
Hi,
DeleteSorry for the late. Verify the data types of the variables.
This is really informative blog to share with all informatica blog.
ReplyDeleteThanks
Datastage Online Training
I tried using the Logic for generating a sequence for a Flat file but the O/P is giving ont only zeroes as sequence for all the rows.
ReplyDeleteDoes the logic follow suit for tables and flat file alike?
Thanks
Neo
This is very informative and this is very usefull to us.
ReplyDeleteInformatica online training , informatica training in bangalore
informatica online training , informatica training in bangalore , informatica training , informatica online trainig in bangalore
This is very nice scenario explanation
ReplyDeleteinformatica training , infromatica online training, informatica training in bangalore, infromatica online training in bangalore
HOW TO DO THIS USING UNCONNECTED LOOKUP
ReplyDelete
ReplyDeleteGreat Article
Artificial Intelligence Projects
machine learning final year projects 2020
JavaScript Training in Chennai
JavaScript Training in Chennai Project Centers in Chennai
I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai
Thank you so much for making an attempt to explore more about the uses and complexities involved in dealing with problems related to Informatica.
ReplyDeleteInformatica Read JSON