cancel
Showing results for 
Search instead for 
Did you mean: 

file adapter @ receiver end using fieldFixedLengths

Former Member
0 Kudos

Hi ,

I am using file adapter @ receiver end using content conversion.

Using field separator as 'nl'.

When i open file in Hex mode it's showing the field separator as 2 Cariage returns(CR) & 1 line feed(LF).

But the requirement is only 1 CR n 1 LF . I tried giving like this,

Datarow.fieldFixedLengths : 15,15,15,15,10,10,10,10

Datarow.endSeparator : '0x0A' or '0x0D'

but da result is same...2 CR n 1 LF..

even if i dont give endseparator then also same thing is happening..

regards,

Kishore

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kishore,

Try using fieldseparator directly, instead of working around with fixedFieldlength.

cheers,

Prashanth

Former Member
0 Kudos

Hi,

when u have such probelm instead of fixedfieldlength specify directly fieldSeparator.

regards

jithesh

Former Member
0 Kudos

Hi Jitesh,

the requirement needs fixed length..

i dont have any option thr..2 use fld separator..

Rgds

Kishore