Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: OSF/1 Fortran: can't write long records
Date: 4 Jan 1995 16:07:48 GMT	[thread overview]
Message-ID: <3eeh4k$4b6@jac.zko.dec.com> (raw)
In-Reply-To: 3JAN199517112926@reg.triumf.ca


In article <3JAN199517112926@reg.triumf.ca>, fwj@reg.triumf.ca (Frederick Jones)
 writes:
|>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

When I try this I find that if I increase recl to 16388 it works (but of
course that's not what you want!)  Our RTL people are out this week - I'll
ask them when they return about this.  In the meantime, I'd ask that you
report the problem through your Digital software support contact.
-- 

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


      parent reply	other threads:[~1995-01-04 16:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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