Unable to generate Sequence number in Talend Data mapper

One Star

Unable to generate Sequence number in Talend Data mapper

I need to generate a sequence number for EDI format message in Talend. I tried to use "GetSequenceFromLocalFile" function but it was not allowing to set the file path property. In Talend Data Integration there is routine function called "Number.sequence("s1",1,1)". Can I used the same in Data mapper? Is there any other way to generate sequence number? Can we generate sequence without using database connection?
Highlighted
Moderator

Re: Unable to generate Sequence number in Talend Data mapper

 


Hi,


You can use built-in function Numeric.sequence("s1",1,1) to generate a sequence number in tMap component.


Best regards


Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Unable to generate Sequence number in Talend Data mapper

Hello,

 

But is there any way i can add the Numeric value in TDM itself, instead of adding additional tMap Component in my Data Integration job???

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads