[Info-vax] RMS internals?
JF Mezei
jfmezei.spamnot at vaxination.ca
Sat Aug 8 13:42:41 EDT 2009
Howard S Shubs wrote:
> When I had QA send the file via FTP using "binary" mode, I got the file
> as written by Windows, including CRLF at the end of each record,
If a VMS native file didn't have CRLF at the end, but Windows added
them, then it is likely the original VMS->Windows transfer mucked the file.
If you do "type image", it should do a block by block transfer and not
try to interpret the file's content. However, you still lose the actual
file attributes (all the bits that say whether the file is variable
length, the record attributes and all those other bits.
The documentation on the RMS system calls (SYS$OPEN, SYS$READ, SYS$GET
etc) has good description and explanation of each field in the file
header. But if you don't have the file header, there are no bits to
parse so you wouldn't know how to parse just the binary file.
More information about the Info-vax
mailing list