cancel
Showing results for 
Search instead for 
Did you mean: 

Need Comparison udf

Former Member
0 Kudos

Hi All,

I have mapping issue, please send udf for below requirement

Logic:

if field 1 and field 2 are equal get field as output

Filed1 belongs segment X and field2 and field3 belongs  segment Y, But Segment X and Y are in same context.

Segment X come for 10 times, segment Y comes for 5 times.

If above logic is not satisfied, need to pass blank constant.

please find the below attached code and suggest me.

Regards,

Rajendar Reddy

Accepted Solutions (0)

Answers (1)

Answers (1)

apu_das2
Active Contributor
0 Kudos

Please clarify how do you want to validate -

If your segment X is occurring 10 times then there will have 10 field 1 I guess if there is no chance of skipping this.

If your segment Y occurs 5 times then it will have 5 field 2 values.

now do you want to check equality of first 5 field 1 value with first 5 field 2 value or what.

Thanks,

Apu