[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1249.0. "Error OUTSTAOVE on write ?" by AUBER::COSTEUX (Le Plat Pays qui est le mien...) Thu Apr 03 1997 10:10

    Can somebody explain why the following small program gives this error:
    
    %FOR-F-OUTSTAOVE, output statement overflows record
      unit 35  file USERS8:[COSTEUX]FOR035.DAT;6
      user PC 00000000
    %TRACE-F-TRACEBACK, symbolic stack dump follows
      image    module    routine             line      rel PC           abs
    PC
                                                0 FFFFFFFF80441844
    FFFFFFFF80441844
     DEC$FORRTL                                 0 0000000000045A2C
    0000000000097A2C
     DEC$FORRTL                                 0 00000000000A8DDC
    00000000000FADDC
     DEC$FORRTL                                 0 00000000000A6D9C
    00000000000F8D9C
     WRITE  WRITE$MAIN  WRITE$MAIN              5 0000000000000108
    0000000000030108
                                                0 FFFFFFFF8E47E170
    FFFFFFFF8E47E170
    
    ... here is the program:
    
	character*150	tex
	do 100 i=1 , 150
	tex(i:i)='1'
100	continue
	write	(35,'(a)') tex
	end

    
    ... Thanks for help.
    
    Jean-Pierre
    
T.RTitleUserPersonal
Name
DateLines
1249.1Default output length = 132 characters.CPEEDY::FLEURYThu Apr 03 1997 11:198
    RE: .0
    
    I believe that unless otherwise specified, the output line length is
    defaulted to 132 characters.  150 > 132 ...
    
    Steve L. can verify.
    
    Dan
1249.2The limit seems 133. Any way to bypass this limit ?AUBER::COSTEUXLe Plat Pays qui est le mien...Thu Apr 03 1997 11:455
    This could be the reason as this program works if the length is =< 133.
    I get the same problem if the length is > 133.
    Is there a way to bypass this limit ?
    
    Jean-Pierre
1249.3QUARK::LIONELFree advice is worth every centThu Apr 03 1997 12:054
Dan is correct.  When unit 35 is OPENed, specify a RECL= that is whatever
maximum length you want (up to 32767 or thereabouts.)  The default is 133.

				Steve