add -log_error flag to the midas sort to send parsing errors to a file.  The file name is derived from the input midasfile