Re: Naming output files



Hello,

You will need to either set up a convoy orchestration to process one
message at a time, in order (using ordered delivery checkboxes on the
ports) and assign the sequence number manually using the process Linda
described, or you could also look into the BTS.InterchangeSequenceId
to see if there is a usable sequence number there. Either way, you
need either an orchestration or a custom pipeline component to extract/
create and assign the sequence number.

Thanks,
Daniel Sepp
Neudesic, LLC


On Jul 29, 8:55 am, Bharathi <dbharathi2...@xxxxxxxxx> wrote:
Hi can u please tell me how to get the sequence number in the output
file name. where sequence number is NOT coming from input file.i
wanted to create my ouput filename as name_yyyymmdd_SEQUENCENO

where sequence number should be created like 000000 for the firsrt
record and 000001 for the second record and so on.
Kindly tell me how this needs to be implemented.

On Jul 28, 9:54 pm, lindaBztk <lindaB...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:



No, you do not need to create a dynamic port. just just
Message1(BTS.DestinationParty)=name_yyyymmdd_000000.xml
in the Message1 construct shape, then send Message1 out to a FILE send port:

In the send port configuration use: [Path]\%DestinationParty% as your output
file name.

Ofcourse you will have to control sequence name all by yourself.

"Bharathi" wrote:

HI could be please explain to me little more in detail about this
issue..It will be helpful to me.
Or any sample project with this concept.
I need more info on how to use inside the orchestration..do i need to
create a dynamic port with the macro you specified??

On Jul 28, 8:37 pm, lindaBztk <lindaB...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hi there,

    You can assign the file naming convention to BTS.DestinationParty
property(don't have to promote it) in an orchestration or a send pipeline
component, then use %DestinationParty% macro in your send port.
    Hope it helps.

Linda

"dbharathi2...@xxxxxxxxx" wrote:
Hi I have got some n number of excel files as input and am basically
trying to create an outfile file with some specific format as
(name_yyyymmdd_000000.xml).
 where name needs to be hardcoded based on the input filename or
folder name followed by  YYYYMMDD (not with hhmmss only yyyymmdd)
followed by sequence number (which represents the record count for the
existing number of record in the input file).

Can anyone kindly help me how it can done or how to create the output
files in the above mentioned format for n number of input files.- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • Re: NFS mount hangs when using one specific IP
    ... When I perform a mount from another host, the initial sequence is the same ... Transmission Control Protocol, Src Port: 32781, Dst Port: sunrpc ... Next sequence number: 61 (relative sequence number) ... Flags: 0x0018 (PSH, ACK) ...
    (comp.os.linux.networking)
  • Re: System.OutOfMemoryException was thrown
    ... Receive Location configured with the Sql Adapter picks up messages that ... Send Port subscribes to the above messages and then Send Ports Send ... Logical Port in orchestration is then bound to physical MQ port end point. ... Exception type: PersistenceItemException ...
    (microsoft.public.biztalk.general)
  • Deployment Error. Object reference not set to an instance of an ob
    ... Reading binding information for assembly ... "Graham.Corp.Ecom.Enterprise.Common.orchIDocInternalError" port ... Orchestration port is bound to send port ... assemblies. ...
    (microsoft.public.biztalk.general)
  • Re: SQL Adapter or call SQL from C# Helper class
    ... Here I mention only Send Port functionality. ... And ADO.NET client of SQL is more flexible, more manageable then "BizTalk" ... The SQL Send Port + Orchestration are clumsy. ...
    (microsoft.public.biztalk.general)
  • Re: Infinite output messages for one input message
    ... Yes the orchestration is pretty bland, but I was just wanted to bind the ... I wanted the map on the receive port to create MainOut and then I could ...
    (microsoft.public.biztalk.general)