How can i use the custom function writtern in routine in TDM Map?

Highlighted
Six Stars

How can i use the custom function writtern in routine in TDM Map?

Hi

 

I have a requirement of perform to mask one field (Account number) from the mainframe data while loading itself. i.e., between the input structure and output structure. I have written specific masking function in a routine. how can i achieve this in the Map. Please help.

 


Accepted Solutions
Fifteen Stars TRF
Fifteen Stars

Re: How can i use the custom function writtern in routine in TDM Map?

Hi,
Did you watch this vidéo?
https://m.youtube.com/watch?v=sO8cCY_-Vos

TRF

All Replies
Fifteen Stars TRF
Fifteen Stars

Re: How can i use the custom function writtern in routine in TDM Map?

On the right part (output) of tMap, just write:
yourClass.yourMethod(row1.inputField)
Assuming row1 is the input flow, inputField is the field you want to mask, yourClass is the class name you defined, yourMethod is the masking method which return a string.

TRF
Six Stars

Re: How can i use the custom function writtern in routine in TDM Map?

Hi, Thanks.

 

I need to call the function in the Map functionality in Talend Data Mapper (TDM). I am using TDM for importing the Mainframe data

Fifteen Stars TRF
Fifteen Stars

Re: How can i use the custom function writtern in routine in TDM Map?

Hi,
Did you watch this vidéo?
https://m.youtube.com/watch?v=sO8cCY_-Vos

TRF
Six Stars

Re: How can i use the custom function writtern in routine in TDM Map?

Thanks, it worked.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch