Thank's "smallpond" and "jefro"
//---
It's a good idea to re-read the web page
http://www.decuslib.com/decus/vmslt0...aq-single.html
But I didn't find any other good idea !
I use VMS systems and dnprogs for a long time (15 years !).
I'm pretty familiar with file format issues.
I think that the best way (for us) is really the binary mode "block".
But today, we have a new need : the exact binary filesize with the "dnprogs package" !.
//---
Why are you using block mode and not record mode?
-----
The "block mode" works fine from VMS to Linux.
From Linux to VMS, it also works good, except the wrong "End Of File" (the file is a little bigger : the filesize becomes multiples of 512 bytes).
-----
We use block mode because we move binary files, which can be used on both side (VMS and Linux).
With StreamLF we have additionnal extra data in the VMS File (Linux->VMS).
//---
We will continue to seek a solution.
Thanks.