Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29358 Discussions

Sequential unformatted record length overflow

merckx
Beginner
612 Views
Using Compaq Fortran 6.6
When opening a sequential unformatted file you have to specify the maximum record length.
If you write on a record more than this maximum, there is no problem.
What does the compiler ?
It seems that it doesn't take into account the maximum length !
Remark: we use the /assume:byterecl option.
Christian
0 Kudos
1 Reply
Steven_L_Intel1
Employee
612 Views
No, you don't have to specify the maximum RECL for a sequential unformatted file unless it is RECORDTYPE='FIXED'.
0 Kudos
Reply