Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: fwj@reg.triumf.ca (Frederick Jones)
Subject: OSF/1 Fortran: can't write long records
Date: 3 Jan 1995 17:11 PST	[thread overview]
Message-ID: <3JAN199517112926@reg.triumf.ca> (raw)

The following code doesn't work when compiled with DEC Fortran 
(X3.4-529) on an Alpha (OSF/1 V3.0 (Rev. 347)):

      character*16384 buff
      open(unit=2,file='test.out',status='new',recl=16384,
     #  recordtype='fixed')
      write(2,1000)buff
 1000 format(A)
      end

The error is:

forrtl: severe: output statement overflows record, unit 2, file
/usr1/users/fwj/test.out

If you reduce the data and record lengths to 8190 or below it works o.k.

Does anyone know of a fix for this?

                        Thanks
                        Fred Jones
                        fwj@triumf.ca


             reply	other threads:[~1995-01-04  1:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-04  1:11 Frederick Jones [this message]
1995-01-04  7:22 ` OSF/1 Fortran: can't write long records Per Steinar Iversen
1995-01-04  8:36 ` Jerry Leslie
1995-01-04 16:07 ` 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