[Info-vax] difference in files being copied by scp from Unix to VMS

Sumir sumirmehta at gmail.com
Wed Apr 29 11:41:29 EDT 2009


On Apr 29, 9:28 am, koeh... at eisner.nospam.encompasserve.org (Bob
Koehler) wrote:
> In article <000385a0$0$2628$c3e8... at news.astraweb.com>, JF Mezei <jfmezei.spam... at vaxination.ca> writes:
>
> > Bob Koehler wrote:
>
> >>    It is, of course, possible to fix thefileafter receipt, just not
> >>    typically necessary to do so.  RMS keeps a value in thefileheader
> >>    which locates the last data byte in the last disk block; or the
> >>    filecan be rewritten in a different format.
>
> > This is a STREAMLFfile. And the "last data byte" is different in the
> > receivedfilethan in the original flag.
>
>    Oh, I missed that!
>
>    In that case the OP just needs to use the /ASCII flag he showed us
>    on the scp command he has.  He is not transfering a binaryfileand
>    should not treat thefileas binary.




I tried the approach to set the EOF byte to the same value for both
the files and it seems to work (i used the value of the original file,
and set both files to the same value)


OPER> EOF_BYTE = F$FILE(FILE1,"FFB")
OPER> set file/attribute=(FFB:'EOF_BYTE) FILE2

How does this look ?



More information about the Info-vax mailing list