Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* OSF/1 Fortran: can't write long records
@ 1995-01-04  1:11 Frederick Jones
  1995-01-04  7:22 ` Per Steinar Iversen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Frederick Jones @ 1995-01-04  1:11 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-01-04 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-04  1:11 OSF/1 Fortran: can't write long records Frederick Jones
1995-01-04  7:22 ` Per Steinar Iversen
1995-01-04  8:36 ` Jerry Leslie
1995-01-04 16:07 ` Steve Lionel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox