Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

End of file error

$
0
0

Hi all,

I have the following error on multiple dataflows for a .dat file (data from SAP loaded through ABAP programs) :

 

|Data flow DF_FiscalPeriodYrSpecific_SAP|Reader R3_FiscPer_YrSpecific End of file was found without reading a complete row for file <//sapdev/sapdata/TST/DATASERVICES/fiscalperiods.dat>. The expected number of columns was <7> while the number of columns actually read was <1>. Check the input file for errors or verify the schema specification for the file format. The number of rows processed was <24108>.

 

It does not occur every time but still, very often. When I open the .dat file it's fine, all columns are there. The only reason I can think of is the last line which is empty (carriage return). This is the row #24108 actually but the data stops at row #24107.

FiscalPeriod file.jpg

 

Some others .dat files also have this carriage return but I don't get an error for them.

 

Is there a simple way to remove this last line ?

 

thanks


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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