Reading from a flat file and write to a flat file...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > Reading from a flat file and write to a flat file...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Reading from a flat file and write to a flat file...  
Madhu Sudhanan R


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-13-04 12:47 PM

Hi,

I want to configure BizTalk Server 2004 / 2002 to read from a flat file and
write the read content to another flat file. The difference that I want to
make here is that I want to reverse the columns and write while writing to
the destination. For example:

Source:
--------

100, NAME 1
101, NAME 2

should be written as follows in the destination flat file.

NAME 1, 100
NAME 2, 101

Hoping for some fast help. Thank you

Madhu Sudhanan R







[ Post a follow-up to this message ]



    Re: Reading from a flat file and write to a flat file...  
Jeff Lynch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-13-04 10:52 PM

You should be able to accomplish this in either BTS2002 or BTS2004 using a
simple map.

In BTS2002, you will need to create an inbound and outbound document
specification for your delimited flat files and a map which links the
fields. You will also need to create an inbound and outbound envelope which
points to the document specifications you've created. The inbound envelope
will be used on the receive function (to parse the flat-file into XML) and
the outbound envelope on the channel (to serialize the mapped XML back to a
flat-file).

In BTS2004 it's the same basic concept except you are creating inbound and
outbound flat-file schemas and the map. You may also want to create inbound
and outbound flat-file custom pipelines.

Both the BTS2002 and BTS2004 SDKs have examples of flat-file processing.

--
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/


"Madhu Sudhanan R" <ramanum@fusiontech.com> wrote in message
news:uRs2DVYmEHA.3352@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I want to configure BizTalk Server 2004 / 2002 to read from a flat file
> and write the read content to another flat file. The difference that I
> want to make here is that I want to reverse the columns and write while
> writing to the destination. For example:
>
> Source:
> --------
>
> 100, NAME 1
> 101, NAME 2
>
> should be written as follows in the destination flat file.
>
> NAME 1, 100
> NAME 2, 101
>
> Hoping for some fast help. Thank you
>
> Madhu Sudhanan R
>







[ Post a follow-up to this message ]



    RE: Reading from a flat file and write to a flat file...  
Alan Smith


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-13-04 10:52 PM

Hi Madhu,

In BizTalk 2004, do this (you don't even need an orchestration!):

1 Create a Flat File Schema for your inbound document.
2 Create a Flat File Schema for your outbound document.
3 Create a map to map the inbound doc to the outbound.
4 Create a receive port, and send port with the map, and configure them to
route the message.

/Alan


"Madhu Sudhanan R" wrote:

> Hi,
>
> I want to configure BizTalk Server 2004 / 2002 to read from a flat file an
d
> write the read content to another flat file. The difference that I want to
> make here is that I want to reverse the columns and write while writing to
> the destination. For example:
>
> Source:
> --------
>
> 100, NAME 1
> 101, NAME 2
>
> should be written as follows in the destination flat file.
>
> NAME 1, 100
> NAME 2, 101
>
> Hoping for some fast help. Thank you
>
> Madhu Sudhanan R
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register