[Info-vax] Potential loss of data problem in sftp client in TCP/IP Services ?
glen herrmannsfeldt
gah at ugcs.caltech.edu
Tue Mar 13 01:19:50 EDT 2012
JF Mezei <jfmezei.spamnot at vaxination.ca> wrote:
> At one point, VMS did add a "file size" hint for RFM=VAR files so that
> unix like utilities could get a file size of the file without having to
> use the C-RTL to count the bytes.
(snip)
Well, you really need more than just size, you need some map from
unix file offsets to VMS record offsets.
IBM's MVS also has a conversion problem, though there aren't
so many different formats. There are fixed length records, where
all are the same size, variable with a length field in the front
of each record (and block), and undefined where there are a bunch
of blocks with no known structure. Unlike the unix byte offset,
MVS just keeps track of blocks. If all the tracks are full, then
in the fixed block form you can compute the track/block number,
but they aren't always full. For V and U pretty much the only
way is to read from the beginning, counting bytes.
-- glen
More information about the Info-vax
mailing list