From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f6b8ad819a5ace69 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-04 23:50:17 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!swrinde!news.uh.edu!uuneo.neosoft.com!igate.dmccorp.com!jleslie From: jleslie@dmccorp.com (Jerry Leslie) Newsgroups: comp.sys.dec Subject: Re: OSF/1 Fortran: can't write long records Date: 4 Jan 1995 08:36:24 GMT Organization: Dynamic Matrix Control 713/272-5000 Distribution: world Message-ID: <3edmm8$544@uuneo.neosoft.com> References: <3JAN199517112926@reg.triumf.ca> NNTP-Posting-Host: igate.dmccorp.com X-Newsreader: TIN [version 1.2 PL2] 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: Backup: Effective: Recording: 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.