From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a66e6d34e5b9f6b0 X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) Subject: Re: FTP from NT to VMS and reblocking Date: 1999/10/22 Message-ID: <7uqoca$86o$2@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 539424734 Distribution: world References: <7unv75$6g9$1@dagger.ab.videon.ca> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 940631242 8408 16.32.80.251 (22 Oct 1999 22:27:22 GMT) Organization: Compaq Computer Corporation Reply-To: hoffman@xdelta.zko.dec.nospam NNTP-Posting-Date: 22 Oct 1999 22:27:22 GMT Newsgroups: comp.sys.dec In article <7unv75$6g9$1@dagger.ab.videon.ca>, "Jason Liptak" 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