I need to get a line count on binary files. The files are being ftp'd from a mainframe in EBCDIC format to a unix server and are read by an application running on that server. I would like to verify the record count before submitting an overnight process using the file. Since the binary file doesn't contain recognisable EORs, the wc -l command returns 0. Any thoughts on how to obtain a record count? Changing to a non-EBCDIC format is not an option here.