on 01-07-2008 11:21 AM
Hi All,
I need to poll the file from file location and convert into xml structure, input flat file look like below.
0001;xxxx;yyyy;zzzz
0001;aaaa;bbbb;ccccc;dddd;eee
0001;pppp;qqqq;rrrrr;ssss;tttt
Now requirement is to map the first record in Header with some field name whereas rest of the record in Item.
There is no unique field in flat file which can be use for keyfield value, only first record should go to header and rest in Item.
Please help me how to configure Content Conversion for Sender File Adapter
With Regards
Sunil
if there is no key field to recognize the record, then u can do it only thru UDF.
if u know java, plz go ahd creating a udf and use it accordignly.
also ur i/p structure for all records is not having equal number of fields. may be u can handle this thru FCC.
thanks
kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
go through this blog.
File Content Conversion for Unequal Number of Columns
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
Almost same case has been given in the above blog.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.