title: BizTalk Flat File, multi-line record debatching
body: <p>I've tried to find the answer in other questions, and none of the "standard" answers are working, so I'm hoping someone can either point me to where this has already been answered, or can tell me how to do this.</p>
  
  <p>I have a large file with multiple documents within it.  For a sample, assume something like this</p>
  
  <pre><code>DOCUMENT_IDENTIFIER    123400000000000000000123457   OTHER STUFF HERE
  LINE WITH STUFF HERE
  LINE WITH STUFF HERE
  DOCUMENT_IDENTIFIER    123500000000000000000127456   OTHER STUFF HERE
  LINE WITH STUFF HERE
  LINE WITH STUFF HERE
  </code></pre>
  
  <p>Now, I'll need to preserve everything in the <code>DOCUMENT_IDENTIFIER</code> Line starting with the first 0 through the <code>123</code> (or <code>127</code> in the second Document)  That header line, plus the all the <code>LINE WITH STUFF HERE</code> lines below it should make up one Document, and a new document should start at the second <code>DOCUMENT_IDENTIFIER</code> line.</p>
  
  <p>When I attempt to use the standard Debatching techniques, the pipeline fails: either it just fails completely (when, for instance, I try to define a header and body schemas for the pipeline) or it never starts the second document (if I try just a body schema).</p>
  
  <p>I'm certain this is something fairly simple, but I'm completely missing how to get it done.  Any suggestions/direction would be welcome.</p>
  
  <p>If it matters, I'm stuck on BT2006 R2, at current.</p>