Six Stars

EBCDIC file having Hex value in a field - Talend Data Mapper

Hi

 

I am having an EBCDIC file, which has a field in Hex value. I need help on how to handle this in the Talend Data Mapper

I have used IBM037 and UTF8 to convert into ASCII. The Hex value becomes un readable while doing this process.

 

 

  • Data Integration
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: EBCDIC file having Hex value in a field - Talend Data Mapper

Created a java program to convert the EBCDIC to Hex and used the Java expression to convert the incoming EBCDIC value to hex. It is working.

2 REPLIES
Moderator

Re: EBCDIC file having Hex value in a field - Talend Data Mapper

Hello,

You cannot get the correct hex value in preview when use data mapper? Would you mind posting your setting screenshots on forum(data mapper setting screenshot, copybookxxx.txt, character_encoding.png)? Which will be preferred.

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.
Six Stars

Re: EBCDIC file having Hex value in a field - Talend Data Mapper

Created a java program to convert the EBCDIC to Hex and used the Java expression to convert the incoming EBCDIC value to hex. It is working.