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

Bob Koehler koehler at eisner.nospam.encompasserve.org
Wed Apr 29 09:21:44 EDT 2009


In article <b6bce20e-0467-4a7a-a1d5-483e1600d306 at p6g2000pre.googlegroups.com>, Sumir <sumirmehta at gmail.com> writes:
> 
> the program i am looking to write is similar to the one specificed by
> you. (comparing file). so as mentioned that comparison of files
> considering the bytes prior to the pad would be sufficient too. Could
> you please share a snippet as to how this is to be achieved ( i am not
> very familiar with vms commands ), or is there a command just to
> compare two files upto certain bytes or something like that ?

   You have to write some code, I don't know of any built-in utility
   to do this.

   The code needs to do an RMS $OPEN, set the value of the last byte
   used in the last block (I'm not sure which RMS data structure that
   is in off th etop of my head), and close the file ($CLOSE).

   All the required information is in the RMS manuals.




More information about the Info-vax mailing list