cancel
Showing results for 
Search instead for 
Did you mean: 

Checking header and trailer record

Former Member
0 Kudos

Hi

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

venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.....Venkat,

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*********************************

Regards,

Naresh.K

Former Member
0 Kudos

Hi naresh

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

venkat