BizTalk Server Orchestration - BizTalk2004 FlatFile SendPort Issue!!

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > August 2004 > BizTalk2004 FlatFile SendPort Issue!!





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 BizTalk2004 FlatFile SendPort Issue!!
Rohith

2004-08-16, 1:02 pm

Hi,

When i am sending my flatfile throw sendport i am getting multiple files, i am looking for singlefile!!

i also set sendport properties copymode:Append!!

I tried all %MessageID%, %datetime% etc...still i ma getting multiple files!!

If i Hard code URI <<Output.tx>> it's working fine...that is not right solution for me to handle multiple source files!

I tried %SourceFileName%...Output is like SourceFileName.txt..

Any Idea how to get a single large output file!!

I appreciate your time!!

Thanks
CR-
Neal Walters

2004-08-19, 2:48 am

Why do you say "output.txt" is working fine - but not the right solution for
you?
What do you want it to do that "output.txt" does not do?

If you put something like %MessageID% in the output filename, that will
create a unique filename, so the Append never gets a chance to really work.
If you use %datetime% and two or three messages arrive in the same second
then the two or three messages should be in the same file (at least that is
what happened in BT2002).

You might also want to provide further clarification. You said you are
dropping one input file and getting many output files. Does that mean you
are usinging an envelope and a disassembler? Or does that mean you have
multiple send ports subscribing to the same receive port or message type?
With the publish/subscribe model, one input message and be subscribed to by
many different send ports. Each send port could be creating a file for you.
If this is the case, I'm not sure if separate send ports could append to the
same file but I doubt it. Would have to build a test scenario to test it.

Neal Walters
http://Biztalk-Training.com - Free Biztalk Video Training



"Rohith" wrote:

>
> Hi,
>
> When i am sending my flatfile throw sendport i am getting multiple
> files, i am looking for singlefile!!
>
> i also set sendport properties copymode:Append!!
>
> I tried all %MessageID%, %datetime% etc...still i ma getting multiple
> files!!
>
> If i Hard code URI <<Output.tx>> it's working fine...that is not right
> solution for me to handle multiple source files!
>
> I tried %SourceFileName%...Output is like SourceFileName.txt..
>
> Any Idea how to get a single large output file!!
>
> I appreciate your time!!
>
> Thanks
> CR-
>
>
>
> --
> Rohith
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message352523.html
>
>

Rohith

2004-08-19, 9:29 am

Thanks Neal for your time,

Let me answer u r questions??

Why do you say "output.txt" is working fine - but not the right solution for
you?

As of know i am droping single file and getting output in one file as i am looking!!

real case i have to drop 20 to 30 files and i need some thing unique to identify output file's!!!

What do you want it to do that "output.txt" does not do?

if i drop multiple files all the data comes to one file "output.txt", i need some thing unique to each flat file!!


You said you are dropping one input file and getting many output files. Does that mean you
are usinging an envelope and a disassembler?

My receive port is Covast FileSystem Adapter and SendPort isBizTalk File Adapter, yes my sendport using FlatFile assembler, no envelop here in my case!!

does that mean you have multiple send ports subscribing to the same receive port or message type?

here only one send port and one receive port!!

I have to drop multiple files and generate uniuqe to each output flatfile! that's what i have to do!!any help would appreciated!!

Thanks
CR-


quote:
Originally posted by Neal Walters
Why do you say "output.txt" is working fine - but not the right solution for
you?
What do you want it to do that "output.txt" does not do?

If you put something like %MessageID% in the output filename, that will
create a unique filename, so the Append never gets a chance to really work.
If you use %datetime% and two or three messages arrive in the same second
then the two or three messages should be in the same file (at least that is
what happened in BT2002).

You might also want to provide further clarification. You said you are
dropping one input file and getting many output files. Does that mean you
are usinging an envelope and a disassembler? Or does that mean you have
multiple send ports subscribing to the same receive port or message type?
With the publish/subscribe model, one input message and be subscribed to by
many different send ports. Each send port could be creating a file for you.
If this is the case, I'm not sure if separate send ports could append to the
same file but I doubt it. Would have to build a test scenario to test it.

Neal Walters
http://Biztalk-Training.com - Free Biztalk Video Training



"Rohith" wrote:

>
> Hi,
>
> When i am sending my flatfile throw sendport i am getting multiple
> files, i am looking for singlefile!!
>
> i also set sendport properties copymode:Append!!
>
> I tried all %MessageID%, %datetime% etc...still i ma getting multiple
> files!!
>
> If i Hard code URI <<Output.tx>> it's working fine...that is not right
> solution for me to handle multiple source files!
>
> I tried %SourceFileName%...Output is like SourceFileName.txt..
>
> Any Idea how to get a single large output file!!
>
> I appreciate your time!!
>
> Thanks
> CR-
>
>
>
> --
> Rohith
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message352523.html
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com