Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: infor@meteo1.arpamet.regione.emilia-romagna.it (Franco Screpanti)
Subject: Transfer unformatted files OSF VS VMS
Date: 1995/04/20	[thread overview]
Message-ID: <3n54fi$qbu@sirio.cineca.it> (raw)

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')

I can only using FTP to transfer and i try with follow method :
!!!! start procedure
ftp <nodevax>
<username>
<password>
ascii
put .vuoto xxx.x   ! is an empty file to create a variable length file on VMS
binary
append xxx.x xxx.x
bye
!!!! end procedure
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 .

Can someone out there help?
Thank you.




             reply	other threads:[~1995-04-20  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-20  4:00 Franco Screpanti [this message]
1995-04-21  4:00 ` Transfer unformatted files OSF VS VMS Steve Lionel
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