on 08-25-2011 10:22 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Check this blog by shabarish:
/people/shabarish.vijayakumar/blog/2010/01/14/file-conversion-using-nodeception
Best Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.