Trying to convert an cobol file .dat and .idx into excel but failed, anyone know how this could be done easily?

Thanks in advance