Skip to Content
author's profile photo Former Member
Former Member

Need Comparison udf

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

Test.JPG (28.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 21, 2016 at 07:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.