From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: Transfer unformatted files OSF VS VMS
Date: 1995/04/21 [thread overview]
Message-ID: <3n89ro$e4h@jac.zko.dec.com> (raw)
In-Reply-To: 3n54fi$qbu@sirio.cineca.it
In article <3n54fi$qbu@sirio.cineca.it>,
infor@meteo1.arpamet.regione.emilia-romagna.it (Franco Screpanti) writes:
>I have a ftp question. I work with a VAX running VMS 5.5-2 and FORTRAN 6.0
>and a AXP running OSF1 2.0 and FORTRAN 3.4 . I have to transfer some
>unformatted files created on AXP : OPEN (unit=01,file='xxx.x',type='unknown',
>form='unformatted',recordtype='segmented',recl=510) - to a VAX VMS and read
>these files in the same segmented unformatted manner :
>OPEN(unit=01,file='xxx.x',type='old',form='unformatted',recordtype='segmented')
[snip]
>but on VAX the resulting file is with :
>RECORD FORMAT : variable length, maximum 512 bytes
>instead i need a file with :
>RECORD FORMAT : variable length .
I suspect what you actually have on the VAX is fixed length records.
All you should need to do is change the file attributes to variable-length
records. Since you're running VMS 5.5-2, I'll suggest Joe Meadows' FILE
utility which is available at ftp.wku.edu. You're ahead of the game in
that you used recordtype='segmented' on the OSF system - this is exactly
the same layout as DEC Fortran on VMS uses for that recordtype.
Steve Lionel Mail: lionel@quark.enet.dec.com
DEC Fortran Development WWW: http://www.digital.com/info/slionel.html
Digital Equipment Corporation CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For a summary of Digital's Internet services, send mail to info@digital.com
prev parent reply other threads:[~1995-04-21 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-20 4:00 Transfer unformatted files OSF VS VMS Franco Screpanti
1995-04-21 4:00 ` Steve Lionel [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