Re: Naming output files
- From: Daniel S <Daniel.Sepp@xxxxxxxxx>
- Date: Wed, 30 Jul 2008 08:19:30 -0700 (PDT)
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 -
.
- References:
- Naming output files
- From: dbharathi2005
- Re: Naming output files
- From: Bharathi
- Re: Naming output files
- From: lindaBztk
- Re: Naming output files
- From: Bharathi
- Naming output files
- Prev by Date: Re: Need help creating a xsd schema from a flat text file
- Next by Date: Debatching Flat file
- Previous by thread: Re: Naming output files
- Next by thread: Dynamic Input
- Index(es):
Relevant Pages
|