BizTalk Server - Outputing one file from orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > November 2005 > Outputing one file from orchestration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Outputing one file from orchestration
Jim Adams

2005-11-14, 5:53 pm

I have a biztalk 2004 orchestration where I receive a flat file that
can have any number of records in it. Right now the orchestration will
output multiple files based on the number of records in the original
file. I want to have the output all go to one file and have all the
records in that file. For instance, if my flat file has five records
then I want the resulting file after all processing is complete to have
those five records in it, not file seperate files with one record in
each. How can I accomplish this?

Thanks,
Jim

Jon Flanders

2005-11-14, 5:53 pm

Hello Jim,
One way you can do this is have the orchestration process all the records.

You can do this by changing the maxOccurs attribute on the record node in
your flat file schema.

Another way to do this would be to have the file adapter append data to the
single file - but that would mean your incoming files would need unique names
(you can change the file send macro to use %SourceFileName% instead of messageid)

Jon Flanders [MVP]
http://www.masteringbiztalk.com

> I have a biztalk 2004 orchestration where I receive a flat file that
> can have any number of records in it. Right now the orchestration
> will output multiple files based on the number of records in the
> original file. I want to have the output all go to one file and have
> all the records in that file. For instance, if my flat file has five
> records then I want the resulting file after all processing is
> complete to have those five records in it, not file seperate files
> with one record in each. How can I accomplish this?
>
> Thanks,
> Jim



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com