Skip to Content
0
Aug 11, 2008 at 08:52 AM

Query on File Adapter - HeaderLine

25 Views

Hi All,

I've a query related to FCC - header line for the following structure.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Testxmlns:ns0="urn:test:file">

<Record>

<Record1><field1>X</field1><field2>B</field2></Record1>

<Record2><field2>C</field3><field4>D</field4></Record2>

<Record3><field3>E</field5></Record3>

</Record>

<Record>

<Record1><field1>K</field1><field2>L</field2></Record1>

<Record2><field2>M</field3><field4>N</field4></Record2>

<Record3><field3>O</field5></Record3>

</Record>

</ns0:MT_Test>

And the file output (after FCC) should be as follows, where H1, H2 and H3 are the headers and the rest are the file values.

H1,H2,H3

X;C;E

K;M;O

FCC Param is like: Record1.fieldSeparator = ; and Record1.headerLine = 1 and same for rest two. But the output file generated doesn't have the Header line generated. Please let me know the FCC setting for the same.

Thanks,

Joe.