| 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 |
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.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1249.1 | Default output length = 132 characters. | CPEEDY::FLEURY | Thu Apr 03 1997 10:19 | 8 | |
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.2 | The limit seems 133. Any way to bypass this limit ? | AUBER::COSTEUX | Le Plat Pays qui est le mien... | Thu Apr 03 1997 10:45 | 5 |
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.3 | QUARK::LIONEL | Free advice is worth every cent | Thu Apr 03 1997 11:05 | 4 | |
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 | |||||