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

Is ACCESS='Append' not supported?

likeuclinux
Beginner
1,381 Views
I get error in linux:
forrtl: severe (104): incorrect ACCESS= specifier value for connected file, unit 60, file /home/rong/carmenrt_building/aermap/430/test/RECDETAIL.OUT

The code:
OPEN(DOMK,FILE='DOMDETAIL.OUT', ACCESS= 'APPEND')

So my question is :

Is the ACCESS='Append' alike Fortran 95 syntax supported, or what is the alternative?
0 Kudos
2 Replies
likeuclinux
Beginner
1,381 Views
I use POSITION='APPEND' in OPEN seems works
0 Kudos
Steven_L_Intel1
Employee
1,381 Views
ACCESS='APPEND' is not standard Fortran, though Intel Fortran does accept it as an extension. I can't come up with a program that gives the error you show - can you post a small but complete program that does so?

POSITION='APPEND' is standard-conforming and preferable.
0 Kudos
Reply