From: jleslie@dmccorp.com (Jerry Leslie)
Subject: Re: OSF/1 Fortran: can't write long records
Date: 4 Jan 1995 08:36:24 GMT [thread overview]
Message-ID: <3edmm8$544@uuneo.neosoft.com> (raw)
In-Reply-To: 3JAN199517112926@reg.triumf.ca
Frederick Jones (fwj@reg.triumf.ca) wrote:
: 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?
For what it's worth, it works on OpenVMS AXP V6.1, DEC FORTRAN v6.2-508,
so perhaps there's a newer FORTRAN for OSF/1 ?
Steve Lionel should be posting a definitive answer in a few hours.
--Jerry,
Gerald (Jerry) R. Leslie jleslie@dmccorp.com gleslie@isvsrv.enet.dec.com
Dynamic Matrix Control Corporation (my opinions are my own)
==============================================================================
$ fortran/lis jones
$ link/map jones
$ run jones
$ search/nohigh jones.lis fortran
JONES$MAIN 4-JAN-1995 02:2
8:23 DEC Fortran V6.2-508 Page 1
JONES$MAIN 4-JAN-1995 02:2
8:23 DEC Fortran V6.2-508 Page 2
COMPILER: DEC Fortran V6.2-508-274F
$ dir/full test.out
Directory SYS$SYSROOT:[SYSMGR]
TEST.OUT;1 File ID: (2480,1,0)
Size: 32/32 Owner: [SYSTEM]
Created: 4-JAN-1995 02:28:45.62
Revised: 4-JAN-1995 02:28:45.72 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Online
File attributes: Allocation: 32, Extend: 0, Global buffer count: 0
No version limit
Record format: Fixed length 16384 byte records
Record attributes: Fortran carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Total of 1 file, 32/32 blocks.
next prev parent reply other threads:[~1995-01-04 8:36 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 [this message]
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