cancel
Showing results for 
Search instead for 
Did you mean: 

File Content Conversion related query

Former Member
0 Kudos

Hi Experts,

Hope you all are doing well.

I have a proxy to File scenario in which a File containing HR data has to be created.

The source structure is as follows

Header -


1..1

Recordset 0..unbounded

Master------0..unbounded

Detail----


0..unbounded

Content-----0..unbounded

<End of Recordset>

Trailer-------1..1

The File to be created has to be of type Fixed Length. The structures 'Header', 'Master', 'Detail','Content' and 'Trailer' contain numerous fields each.

The output file should have the following structure:

Header

Master

Detail

Content

Master

Detail

Content

Master

Detail

Content

- - - - -

- - - - -

- - - - -

Master

Detail

Content

Trailer

Can you please let me know how to handle the scenario using FCC?

regards

Debansu

Accepted Solutions (1)

Accepted Solutions (1)

martin_dejl2
Participant
0 Kudos

Hi Debansu,

Just create Receiver File channel with FCC. Fill in "Recordset Structure", <segment>.fieldNames and <segment>.fieldFixedLengths as you need them for segments Header, Master, Detail, Content, and Trailer. Just ignore Recordset in your FCC definition and it should work.

Regards,

Martin

Former Member
0 Kudos

Martin,

Thanks a lot. Your suggestion actually solved the issue.

Ravi,

I had checked Shacarish's blog. Actually, we do not require the additional java mapping. FCC is able to take care of the issue.

Java mapping might be required for deeper structures. But thanks a lot for the suggestion.

regards

Debansu

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

Check this blog by shabarish:

/people/shabarish.vijayakumar/blog/2010/01/14/file-conversion-using-nodeception

Best Regards,

Ravi