on 06-26-2007 9:25 AM
Hi All,
I am doing Flatfile to Flatfile scenario.My input format is like ID,Name,Address.I want to get the output which should be same like Input format but through mapping.I am using J2SE file Adapter in both sending and receiving side.I am getting output in Flatfile but with only one field that is "ID".I am not getting the remaining fields i.e., Name and Address in my output flatfile.
My input structure from SXMB_MONI is
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_FCC1 xmlns:ns="namespace">
- <Recordset>
- <Data>
<ID>100</ID>
<Name>X</Name>
<Address>Y</Address>
</Data>
</Recordset>
</ns:MT_FCC1>
Content Conversion Parameters which i have specified at receiver side is
xml.recordsetStructure=Recordset,Data
xml.addHeaderLine=0
xml.fieldSeparator=,
xml.endSeparator='nl'
Can anyone suggest me what to do ASAP?
Thanks in Advance
Dinakar
Hi Dinakar,
Use
DATA.recordsetStructure=Recordset,Data
DATA.addHeaderLine=0
DATA.fieldSeparator=,
DATA.endSeparator='nl'
INSTEAD OF
xml.recordsetStructure=Recordset,Data
xml.addHeaderLine=0
xml.fieldSeparator=,
xml.endSeparator='nl' and try u will get it in target side.
Regards
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
If it is xml file to xml file then no need to go for the FCC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Dinakar
In your Content Coinversion Parameters, you forget to add the fields
you have to enter the following data
xml.recordsetStructure = Recordset, Data
<b>xml.fieldNames ** give all ur fieldsnames seperated by comma</b>
xml.addHeaderLine=0
xml.fieldSeperator=,
xml.endSeperator = "\nl"
Cheers..
Vasu
<i>
REward Points if found useful **</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.