Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 962

Re: Need to validate a CSV file based on the first field of the last row

$
0
0

Hello Advit,

 

  • If your file is to be considered as a CSV File, then there is no direct way to do this. You need to read this file, and then using a Enhanced Receiver Determination identify if the EOF record exists and then route / process file accordingly.
  • I looked at your file and what I notice is while the File is a CSV File, the fields seem to all have a fixed field length. If we can consider this a fixed field length file ,i.e, all records have the same length, then we may use the KeyField option and then make the EOD as a separate Record and if the same doesnt occur make content conversion fail etc.

 

Ideally I would still go ahead with considering this a CSV file , reading CSV to XML and then using Enhanced Receiver Determination.

 

Regards

Bhavesh


Viewing all articles
Browse latest Browse all 962

Trending Articles



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