cancel
Showing results for 
Search instead for 
Did you mean: 

how to create one file to 2 output files with a condition?

Former Member
0 Kudos

hello friends,

i have a scenario to split one file into two different files using a condition.

based on the account number ( 100's of accounts) i have to split the file into two. ex: acc# 1, acc#2, acc#3 goes into one file rest of the account number records goes into another file how to build the logic.

thanks

sri

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi Sri,

One way-

You can achieve this with the help of Java Mapping..

In the Java Mapping, read input, parse the input while parsing the document , group the data into 2 structures and in the Interface Mapping use this java mapping. So here you have 2 target message interfaces..

Hope this helps,

Regards,

Moorthy

Answers (0)