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

Runtime error 104

rase
New Contributor I
2,425 Views
I got a runtime error 104 which I was not able to locate in the list of runtime errors (Windows 7, IVF 11.1). After changing I/O statements the error disappeared. Just in case the error reappears: what is the meaning of the error code 104? Are there other undocumented error codes?
0 Kudos
1 Solution
Steven_L_Intel1
Employee
2,425 Views

Add

,IOMSG=character-variable

to the I/O control list of your READ or WRITE.

View solution in original post

0 Kudos
6 Replies
Steven_L_Intel1
Employee
2,425 Views

What is the full text of the error message?
0 Kudos
rase
New Contributor I
2,425 Views
I did not get an error message, I received the error code by using the IOSTAT and ERROR keywords in the READ statement.
0 Kudos
Steven_L_Intel1
Employee
2,425 Views
Then, take off the IOSTAT= and ERR= so you get a message. Or use IOMSG= to retrieve the text.
0 Kudos
rase
New Contributor I
2,425 Views
I was not able to find a description of the IOMSG keyword in the online docs. Could you give me a hint?
0 Kudos
TimP
Honored Contributor III
2,425 Views
Quoting - rase
I was not able to find a description of the IOMSG keyword in the online docs. Could you give me a hint?
http://www-uxsup.csx.cam.ac.uk/courses/Fortran/foils_11.pdf
0 Kudos
Steven_L_Intel1
Employee
2,426 Views

Add

,IOMSG=character-variable

to the I/O control list of your READ or WRITE.
0 Kudos
Reply