From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Date: Sat, 08 Aug 2009 13:42:41 -0400 From: JF Mezei User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? References: <4a7c4310$1@flight> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <0076b30e$0$7155$c3e8da3@news.astraweb.com> Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: aba28378.news.astraweb.com X-Trace: DXC=^8om`3oHACnK;GKPh8BJfdL?0kYOcDh@jEgMA9>k:L8aKFfmUmb`F2eUod Xref: g2news2.google.com comp.sys.dec:1252 comp.os.vms:20611 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.