Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Blank line at end of file

$
0
0

Hi

 

I am using content conversion at the receiver channel. All is fine with the records being written into the file.

 

However one additional blank line gets written at the end of file (if file is checked in notepad / notepad++)

 

The client does not accept this and needs a solution.

 

Please can the experts suggest what can be done to avoid this and make the cursor stay at the end of last record

 

The content conversion definition is as follows

 

ignoreRecordsetName            true
DT_XXXX.keepIncompleteFields YES
DT_XXXX.fieldNamesField1,Field2,Field3,Field4,Field5
DT_XXXX.fieldSeparator,
DT_XXXX.missingLastFields add
DT_XXXX.endSeparator'nl'

 

The output when opened with notepad is as below

 

Row1

Row2

Row3

|               (this pipe represents the cursor at the start of the blank line)


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>