Problem with emty lines in a flatfile.

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Problem with emty lines in a flatfile.

Viewing 1 reply thread
  • Author
    Posts
    • #23705

      Hi,

      I read a flat file and spilt the file in a mapping into two different flatfiles with equal ff-schema. The output files are delimited with one record pr line.

      The problem is that I get lots of blank lines for each line in the that are in the other output file.

      Tried with a lot different configuration settings in the FF schema without any luck.

      What is the best approach to solve this issue?

      I thought about making a custom pipeline component and extend the FF Assembler – could that be a solution? Are there any good examples?

       

      Thanks Dag.

       

       

       

       

       

       

       

       

       

       

       

       

       

       

    • #23708

      sometime a postfix delimiter (\r\n) solves this issues..bellow is such an issue i encountered sometime back,

      grp1_record1\r\n
      grp1_record2\r\n
      grp1_record2\r\n\r\n
      grp2_record1\r\n
      grp2_record2\r\n
      grp2_record2\r\n\r\n

      In this case if you set the delimiter as postfix for the group, the last line break will be ignored. Also dummy elements were also helpful in some cases..

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.