From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8b28e175da9e302 X-Google-Attributes: gidf7344,public X-Google-Thread: f7cd1,8b28e175da9e302 X-Google-Attributes: gidf7cd1,public X-Google-Thread: 1164f8,8b28e175da9e302 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-09-23 16:50:32 PST Xref: sparky comp.os.vms:15513 vmsnet.misc:857 comp.sys.dec:5180 Newsgroups: comp.os.vms,vmsnet.misc,comp.sys.dec Path: sparky!uunet!ukma!wupost!decwrl!pa.dec.com!oct17.dfe.dec.com!ryn.mro4.dec.com!news From: blair@snogum.enet.dec.com (Blair Phillips - Digital) Subject: Re: Changing record length of fixed record files Message-ID: <1992Sep24.011742.22114@ryn.mro4.dec.com> Sender: news@ryn.mro4.dec.com (USENET News System) Reply-To: Blair.Phillips@cao.mts.dec.com Organization: Digital Equipment Corporation References: <1992Sep23.140615.9080@engage.pko.dec.com> <1992Sep23.151618.21995@nntpd.lkg.dec.com> Date: Thu, 24 Sep 1992 01:17:42 GMT In article <1992Sep23.151618.21995@nntpd.lkg.dec.com>, parke@star.enet.dec.com (Bill Parke) writes: >In article , przemek@rrdstrad.nist.gov (Przemek Klosowski) writes... >> >>I am working on a problem that involves exchanging files between VMS >>and Ultrix computers. The data file is fixed record/320 byte on VMS >>side; I copy it over to Ultrix, massage gently and send back to VMS >>using binary mode (actually I open pipe to dcp -i if it matters). >>Unfortunately, the file appears on the VMS side as fixed record/512 >>byte file, which does not do. >> >You can use > EXCHANGE/NETWORK u*x::file file > from VMS Actually, to preserve the 320 byte fixed length attribute, you will need to say EXCHANGE/NET/FDL=FIX320/TRANSFER=BLOCK unixhost::file file You can generate the FDL file either by ANALYZE/RMS/FDL on the original file, or by EDIT/FDL. One possible version of FIX320.FDL is: FILE ORGANIZATION sequential RECORD BLOCK_SPAN yes CARRIAGE_CONTROL none FORMAT fixed SIZE 320 -- ---------- Blair Phillips Blair.Phillips@cao.mts.dec.com Digital Equipment Corp (Aust) P/L Phone: (+61 6) 2754874 Canberra, Australia FAX : (+61 6) 2473654 {Any opinions expressed are my own, not those of Digital Equipment Corporation}