cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Adapter Content Conversion

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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