Skip to Content
avatar image
Former Member

How to include header line in all chunks of a single huge file?

Hi Experts,

I have a requirement where a single huge file (around 100 to 200MB) has to be split into multiple files. I understand that the huge file can be split into chunks in file channel using recordsets per message option. The file has a header node followed by thousands of Details node.

However, the requirement here is to include the header line from source file in every chunk and send to target structure. Source and required target structures are given below.

Kindly let me know if this can be achieved in graphical mapping or should I go for BPM or Java mapping?

Source structure :

Header

Continent

Country

State

Details 1

City 1, Area 1

Details 2

City 2, Area 2

Details n

City n, Area n

Target structure : (after huge file is split into multiple messages)

Message 1

Header

Continent

Country

State

Details 1

City 1, Area 1

Details 2

City 2, Area 2

Message 2

Header

Continent

Country

State

Details 3

City 3, Area 3

Details 4

City 4, Area 4

Regards,

Poornima

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers