Skip to Content
avatar image
Former Member

Checking header and trailer record


Plz can any one guide me writing UDF for checking whether header record exists or not

i am using node funtion Exits...

In UDF i wanna check the value of Exists if it is true continue the process if it is false raise an exception

How we write UDF for that


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 09, 2007 at 03:51 AM


    1.Import ur sender & reciever XSD files.

    2.A user defined function is created before doing the mapping where we write the java code to achieve the looping conditions.

    3.At the time of creating the function we should have two arguments (ex.a & b)(importing parameters) to it.then the java code is written for the conditions.

    4.write ur code.

    5. then using the user defined function further mapping is done.In this way the conditions are achieved during mapping.

    ******************if it helpful points will be rewarded*********************************



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi naresh

      I have to that in message mapping by using UDF there any way of doing it..