Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Remi NAPOLEONE <napo@armoise.saclay.cea.fr>
Subject: Re: Conversion of sequential unformatted files
Date: 1999/11/15	[thread overview]
Message-ID: <38301744.C23E5070@armoise.saclay.cea.fr> (raw)
In-Reply-To: 80hkga$5ck$1@sun27.hrz.tu-darmstadt.de

That's right, it's about Fortran files.
Nevertheless, do you think it's possible to ignore these record lenght
for sequential files ?

Thank's
Remi.

Michael Kraemer wrote:
> 
> In article <382C1FE0.54E29B8C@armoise.saclay.cea.fr>, Remi NAPOLEONE <napo@armoise.saclay.cea.fr> writes:
> > I'm trying to convert several types of unformatted files from
> > Cray machines (C90 and T3E) to ES40 machines.
> > Unformatted DIRECT-access files work well with "-convert big_endian" F90
> > parameter or something equivalent with OPEN statement.
> > Unformatted SEQUENTIAL-access files seem to be more difficult.
> > Does anyone have a solution to this problem or some reference on the net ?
> 
> You're talking about FORTRAN data files, right ?
> If I remember correctly sequential files are organized in records,
> with the record length as a binary 4-byte number attached before and
> after the data portion. This way the FORTRAN runtime can walk forth and back
> through data files consisting of data records with variable length.

-- 
R�mi NAPOLEONE (napo@armoise.saclay.cea.fr)

        Communications et Syst�mes
          Syst�mes d'Information
                 ATHESA
TEL:01 69 08 51 02 / GSM: 06 87 40 81 46



      reply	other threads:[~1999-11-15  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-12  5:00 Conversion of sequential unformatted files Remi NAPOLEONE
1999-11-12  5:00 ` Michael Kraemer
1999-11-15  5:00   ` Remi NAPOLEONE [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