cancel
Showing results for 
Search instead for 
Did you mean: 

Flat file without separator

Former Member
0 Kudos

Hi All,

I want to generate a flat file from XML file.

Here i can use FCC. However i don't want a CSV. so i am generating Fixed Length file. Can i generate plain flat file even without fixed width....? I mean i want a string of all fields without spaces.

If yes what settings shall i do in FCC?

Thanks in advance...

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Did mapping of multiple fileds with one field by concatenation and used FCC as a receiver adaptor.

Former Member
0 Kudos

Hi,

Do not use fixed length, try with NameA.fieldSeparator='null' in Receiver FCC.

Regards,

Gourav

---

<i>Reward points if it helps you</i>

Former Member
0 Kudos

Hi Gourav,

Thanks for ur reply. When i make it null or 'null' i get the specified string as a separator... Actually i don't want any separator...

Am i making any mistake in giving the parameter as:

FieldName.fieldSeparator = null / 'null'

Plz correct me.

Former Member
0 Kudos

ofcourse its possible,on the receiver side you will have only 1 tag,lets call it <Result>,now do the mapping in such a way that all the values of sender are concatenated and send to <Result>

hence your receiver XML will have only 1 tag,then simply use FCC parameters and it will display the whole sender file as a single string on the receiver side

Thanx

Aamir