replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - error 516 - ORGANIZATION is not a recognised keyword in OPEN
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

error 516 - ORGANIZATION is not a recognised keyword in OPEN

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Leela



Joined: 22 Sep 2013
Posts: 2

PostPosted: Sun Sep 22, 2013 3:54 pm    Post subject: error 516 - ORGANIZATION is not a recognised keyword in OPEN Reply with quote

Below is a section of code from a much longer program, the functioning code for which I obtained from a PhD thesis.


DO 5 I=1,25,1
TAURR(I,1)=0.0
TAURR(I,2)=0.0
TAU00(I,1)=0.0
TAU00(I,2)=0.0
5 CONTINUE
OPEN (UNIT=1, FILE='CORRECT1.DAT',STATUS='OLD', ORGANIZATION='SEQUENTIAL') ! Line 90
WRITE(1,50)T,R(2)


The above code gives the following message, the only message resulting from attempting to compile the entire program:


Compiling file: CellGrowth_Fortran.f90
C:\Users\Leela\Desktop\CellGrowth_Fortran.F90(90) : error 516 - ORGANIZATION is not a recognised keyword in OPEN
C:\Users\Leela\Desktop\CellGrowth_Fortran.F90(90) : warning 868 - Opening unit 1 may affect the operation of input from the default unit '*' - are you sure you want to do this?
Compilation failed.


As far as I know, ORGANIZATION is a keyword for OPEN. The OPEN command is only used once in the whole program, near the beginning. No other units besides 1 and 6 (referring to the screen) appear in the program.

What could be the cause of this message, and how can I fix it?

Thank you.
Back to top
View user's profile Send private message
silverfrost
Site Admin


Joined: 29 Nov 2006
Posts: 193
Location: Manchester

PostPosted: Sun Sep 22, 2013 4:52 pm    Post subject: Reply with quote

Maybe you mean ACCESS='SEQUENTIAL'. ORGANIZATION= is non-standard.
Back to top
View user's profile Send private message Visit poster's website
Leela



Joined: 22 Sep 2013
Posts: 2

PostPosted: Sun Sep 22, 2013 9:00 pm    Post subject: Reply with quote

That gets rid of the error message. Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group