[resolved] Decode function

Highlighted
One Star

[resolved] Decode function

Hi,

For the given decode(substr(RES_NUMBER,8,1),'60','03','61','04',99) .

I am using the below code in Talend :

row3.RES_NUMBER.substring(7, 1)=="60"?"03"Smiley Sadrow3.RES_NUMBER.substring(7, 1)=="61"?"04":"99")

It is giving me the error i.e

Exception in component tRowGenerator_1

i am not using rowgenerator componenet

Please help me with this.
Four Stars

Re: [resolved] Decode function

Please put your screenshot.
One Star

Re: [resolved] Decode function

Hi,

Issue Resolved!

Thanks

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

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch