Skip to Content
0
Former Member
Jul 27, 2007 at 11:31 AM

Dynamic file and variable substitution

39 Views

Hi Experts,

I am working on a scenario where filename is reading from payload.based on header value ,i am creating file along with item records.I did variable substitution also.whenever header value changes ,a new file shud be created.

I placed two records in my input message...

<ns1:MT_DC_Send xmlns:ns1="http://urn:psr/ff/DC">

<Source>

<b> <FName>XYZ</FName>

<FType>F</FType>

<Input>Item1</Input></b> </Source>

<Source>

<b> <FName>ABC</FName>

<FType>F</FType>

<Input>Item2</Input></b>

</Source>

</ns1:MT_DC_Send>

but only one file is getting created with name XYZ.txt(I used cont conversion)

.

output fiile data is

<b>

Item1

Item2</b>

Regards,

Srinivas