From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman)
Subject: Re: FTP from NT to VMS and reblocking
Date: 1999/10/22 [thread overview]
Message-ID: <7uqoca$86o$2@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 7unv75$6g9$1@dagger.ab.videon.ca
In article <7unv75$6g9$1@dagger.ab.videon.ca>, "Jason Liptak" <jason.liptak@matrikon.com> writes:
:I've got some files that I've ftp'd from a VMS machine to an NT machine to a
:VMS machine, and now I've got block size problems. The .exe files seem to
:work fine, but nothing else. When I edit the files, the carriage returns
:are missing and the line lengths are wrong. What I think I need to do is
:change the Record Format from Fixed length 512 byte records to Variable
:length, maximum 255 byte records, and change the Record attributes from None
:to Carriage return carriage control. But I don't know how. I would
:appreciate the help of anyone with any suggestions, the command that does
:this, or who knows of where I could get a utility to do this. Thanks. If
:you could email me directly, that would be great. Thanks.
Easiest? Delete them all, then create a BACKUP saveset (zip it, if
size is a serious concern) on the source system, transfer that over
(using binary mode), and then unzip and unBACKUP the results to the
target disk. BACKUP will restore the correct attributes.
There are cases where BACKUP savesets get transfered and the saveset
attributes get munged, and there is a tool -- referenced in the OpenVMS
FAQ -- that will fix this situation (specifically with BACKUP savesets).
If you want to try the current approach -- something that will tend
to be rather more time-consuming and error-prone -- you will want to
avail yourself of the SET FILE/ATTRIBUTE command. (Since you don't
mention the OpenVMS version in use here, I'll feel free to assume it
is OpenVMS V6.0 or later. :-) Prior to V6.0, things get a little
more interesting as SET FILE/ATTRIBUTE is not available -- try the
DFU or FILE tools in this case.
nb: OpenVMS questions are best asked in the comp.os.vms newsgroup.
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
prev parent reply other threads:[~1999-10-22 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-21 4:00 FTP from NT to VMS and reblocking Jason Liptak
1999-10-22 4:00 ` Hoff Hoffman [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox