user8436611, there is no such thing as an 'ANSI' file in OpenVMS terminology.
Perhaps you mean a file containing simple 7-bit ASCII characters only ??
On OpenVMS simple 'sequential' files holding simple text, can still have multiple record 'formats'.
The native OpenVMS format is called VARIABLE LENGTH.
Use DIRECTORY /FULL to report the file type or the DCL command $ WRITE SYS$OUTPUT F$FILE_ATTRIBUTES(filespec,"RFM")
For a variable length file, each record (line) is prefix with a (16-bit) word aligned, (16 bit) binary length indicator word. For a 'short' line (< 256 bytes) that will show a binary zero byte. And any odd-length record will appear to be followed by a null-byte to align the next record length word. (word = int-2)
If such file is transferred binary, most tools will chunk it up in 512 bytes blocks, with that control word, and optional align byte included, looking like binary zeros on the other side.
Therefor, as Mark Diaz indicated you need to tell your tool to transfer in 'ASCII' or 'TEXT' mode.
OpenVMS also supports 'normal' files where each record (line) is followed by a terminator which can be a Linefeed (Unix), Carriage-return, or CR-LF (windows).
If your OpenVMS file is indeed the normal-for-OpenVMS variable length file as I suspect,
then you could consider 'converting' it to 'Stream_LF' using an 'FDL' file or string.
Example DCL command: $ CONVERT/FDL="RECORD; FORMAT STREAM_LF" old.dat new.dat
Good luck,
Hein