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

Sumir sumirmehta at gmail.com
Tue Apr 21 16:12:50 EDT 2009


On Apr 20, 5:04 pm, "Richard B. Gilbert" <rgilber... at comcast.net>
wrote:
> AEF wrote:
> > On Apr 20, 10:51 am, Sumir <sumirme... at gmail.com> wrote:
> >> On Apr 20, 10:31 am, "Richard B. Gilbert" <rgilber... at comcast.net>
> >> wrote:
>
> >>> Sumir wrote:
> >>>> Hi,
> >>>> I am trying to copy a file (.seq file) from a vms box to a solaris box
> >>>> and then back to the same vms box. then the original and the final
> >>>> file are to be compared to ensure that the file has not changed/
> >>>> corrupted during transmission.
> >>>> Now, what is happening is that there is a single line which is
> >>>> appearing as a difference between the files. Any ideas as to what
> >>>> might be causing this.
> >>>> PS - i am using diff with the ignore=blank_lines option already.
> >>> How are you doing the copy?  FTP?  Is the content English text?  Binary
> >>> data?
> >>> What is the exact nature of the difference?  Does the line occur in one
> >>> file and not the other?  Is the line present in both but with a
> >>> difference in the text?
> >>> Please see:http://www.catb.org/~esr/faqs/smart-questions.html
> >> I am using scp to copy the file from VMS box to Solaris box, and again
> >> scp to copy the file back. It is a text file with some data.
> >> The difference observed by the diff command is as below --
>
> >> ************
> >> File 1
> >> ******
> >> File 2
> >>   571
> >> ************
>
> >> Number of difference sections found: 1
> >> Number of difference records found: 1
>
> >> Could be some non-printable character ?
>
> > Please post the ENTIRE command line and especially the ENTIRE output
> > of your DIFFERENCES command. If you are using the default of /MERGE=1,
> > this must be the ends of the files. This is because /MERGE=1 means to
> > display one line after each group of unmatched records. Since there is
> > not last line in the group from File 1, this must be at the end of
> > file 1. And if "571" weren't the last line in File 2, there would be
> > more unmatched records. If, on the other hand, you used /MERGE=0, it's
> > a different ball game.
>
> > WE NEED MORE INFORMATION OR WE CAN'T HELP YOU.
>
> > This is my last request for more info.
>
> > AEF
>
> Consider referring such queries to:http://www.catb.org/~esr/faqs/smart-questions.html



Thanks for your responses.
I would like to mention here that i am a totally new to VMS, and hence
whatever may seem very obvious/simple to you is not the same for me.
Meanwhile, the issue that was being faced has been averted by ignoring
this particular file that was causing the problem, and hence i am not
pursuing it further.

Thanks once again for your responses.

Regards,
Sumir



More information about the Info-vax mailing list