cancel
Showing results for 
Search instead for 
Did you mean: 

REG: File content conversion in Receiver file adapter

Former Member
0 Kudos

HI Gurus,

I have the scenario like proxy to file with content conversion

my message type for the source like this

MT_SOURCE
-----||
       |---ROW
------------||
                |---LINE

target strucuture also same

MT_TARGET
-----||
       |---ROW
------------||
                |---LINE

i am using the following FCC parameters in receiver file adapter

LINE.fieldSeparator = ' '

LINE.fixedLineWidth = 90

LINE.lineSeparator = 'nl'

LINE.fieldFixedLengths = 200

LINE.endSeparator = 'nl'

the output file show the data differently in note pad when compare to word

word output

-


dgepvs                       023456987
kgdd0016155710                SS Smw Ne 01                                                                                
kgdd0016155710                SS Smw Ne 01                                                                                
kgdd0016155710                SS Smw Ne 01                                                                                
kgdd0016155710                SS Smw Ne 01                                                                                
kgdd0016155710                SS Smw Ne 01                                                                                
kgdd0016155710                SS Smw Ne 01                                                                                
kgdd0016155710                SS Smw Ne 01 

notepad out put

-


dgepvs           023456987   kgdd0016155710                SS Smw Ne 01       kgdd0016155710                SS Smw Ne 01          kgdd0016155710                SS Smw Ne 01            kgdd0016155710                SS Smw Ne 01    kgdd0016155710                SS Smw Ne 01
   

word output is the correct output wat i am expect but same out put i want in note pad can any help me out for this how can i resolve this

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

the interpretation by text editors can be different.

check out the formatting in editplus or notepad++

dont think there is any issue in the way you have done your FCC

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks for the help

baskar_gopalakrishnan2
Active Contributor
0 Kudos

There is nothing wrong in your content conversion parameters. This is pure editors interpretation for the next line character.

I would do in java program to fix this issue using '\r\n' You might want to try and see how that helps for notepad editor.

Former Member
0 Kudos

Issue might be with the new line seperator used. can you try '\n' inplace of 'nl'