cancel
Showing results for 
Search instead for 
Did you mean: 

field separator problem in file

Former Member
0 Kudos

Hi All,

I have a req in content converion .

I have 2 fields

A and B mapping is one to one only

for this I have used fieldseparator =','

Endseparator='nl'

My req is like this

if only A is coming then comma should also come even B is not coming.

A

A

A,B

A,B

A

A

I hope the req is clear...

Regards

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Gangadhar,

What's the issue? Do you need to know what all the parameters needs to be used?

raj

Former Member
0 Kudos

Hi Raj,

There is no issue of parameter .I used these 2 paramters only. and they are working fine but now the req is this

In my scenario there is 2 fields let say Ganga and Raj

both fields in file like this

Raj

Raj,Ganga

Raj,Ganga

Raj

Raj

Raj

My req is this even if ganga not come and only Raj is coming Comma, should also come

Regards

justin_santhanam
Active Contributor
0 Kudos

oh I see what you are saying now. I thought the content conversion on the sender side, but it seems like you want it on receiver side. So in your mapping sometimes Raj will come and Ganga won't come from the source - I would say in your mapping program try MapWithDefault for both the fields and give a try. It will work

raj.

Former Member
0 Kudos

Hi Raj,

I try will with this..:)

Regards

Answers (0)