- 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.
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.
I am William..
ReplyDeleteI just browsing through some blogs and came across yours!
Excellent blog, good to see someone actually uses for quality posts.
Your site kept me on for a few minutes unlike the rest :)
Keep up the good work!Thanks for sharing a important information informatica
Iam really satisfy by your information.
ReplyDeleteIt's well-written, to the point, and relative to what I do.
I like it very much for giving information on
Excellent Informatica Online Training .
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