Conversion of binary to ascii file
I am trying to convert a binary file received from mainframes to an ascii file in linux.
I know the length of record in the input file(example: I know the record length is 89)
I am using the below command for conversion
dd if=input_file of=output_file conv=ascii,unblock cbs=89
There are a multiple files which I am working on with different record lengths.
Files are being converted to ascii but issue woth few files.
The record count of teh converted file is greater than the expected count(Aware of what the count would be).
This command works fine with Solaris unix.
Help on this is highly appreciated.