- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use POSITION='APPEND' in OPEN seems works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
POSITION='APPEND' is standard-conforming and preferable.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page