Skip to Content
avatar image
Former Member

fcc problem

Dear Experts,

While reading a file of the form a,b,c using file content conversion it gives 3 fields in xml abc. But if it is a,b, it gives only 2 fields. ideally it should give 3 fields, since there are 2 commas and the last field would be empty. But we are getting only two fields. Could you please help me in resolving this issue.

Thanks,

Aju

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 04, 2009 at 03:52 PM

    wat is the endseperator being used....?

    Assuming it is a newline, I guess that the input file you are using is of format

    a,b,<nl>

    which is creating only two fields however if it is of format

    a,b,<space><nl>

    you may get the third xml field with null value it is... try this...

    ~SaNv...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2009 at 03:53 PM

    Hey

    Please give your sender FCC parameters.

    If you have specified .fieldSeparator as comma(,) then it will expect 3 commas not 2.

    Thanks

    Aamir

    Add comment
    10|10000 characters needed characters exceeded