cancel
Showing results for 
Search instead for 
Did you mean: 

Strange Problem with File Content Conversion

Former Member
0 Kudos

Hi,

I am tyring to use FCC in receiver adapter.

My source Xml Structure is

<Subscriber> (0:unbounded)

<field1/>

<field2/>

<Loan> (0:unbounded)

<Amt/>

<id/>

<Pay/>

</Loan>

<fieldn>

</Subscriber>

My requirement is that I want each subscriber record in a separate line(All the Loan Items together in a single line ). eg: LOB1,qwd,qd,dqd,d,dqd,dqdqd,qd,dqd,dq,qdqd,qdqd,id1,amt1,pay1id2,amt2,pay299990612

Regards,

Sudharshan

Message was edited by:

Sudharshan Aravamudan

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Sudharshan,

The requriment is not very clear. Can you explain further?

Regards,

Bhavesh

Answers (5)

Answers (5)

Former Member
0 Kudos

Changed the Message Structure

Former Member
0 Kudos

Hi,

As shabarish suggested i need to change the structure.

Just wanted to try my best not to change the structure.

Let's say i give

Subscriber.endSeparator---'nl'

Loan.endSeparator-----','

Subscriber's endseparator comes as ',' in the output (overrided by Loan's endSeparator).

Regards,

Sudharshan

Shabarish_Nair
Active Contributor
0 Kudos

<i><Subscriber> (0:unbounded)

<field1/>

<field2/>

<Loan> (0:unbounded)

<Amt/>

<id/>

<Pay/>

</Loan>

<fieldn>

</Subscriber></i>

>>>

Since you have loan under subscriber it wouldnt be posibble to handle such a heirarchy in the file adapter for FCC. you will have to modify the structure to make it flat without heirarchy ....

Former Member
0 Kudos

Hi,

Check your content conversion parameters ,there is something wrong in parameters or your file structure.

Thanks.

Former Member
0 Kudos

Hi,

i have redefined my problem.

The problem is that I have a main Structure 'Subscriber', inside which a substructure called 'Loan'.

The problem is whatever endseparator i give for that substructure Loan, is apllied to main structure 'Subscriber'(Loan's End Separator).

i dont understand why the endseparator of substructure overrides that of the Main structure.

Regards,

Sudharshan

Message was edited by:

Sudharshan Aravamudan

Former Member
0 Kudos

Hi,

What are the FCC parameters that you have used?

Could you post it here please?

Regards,

Smitha.