02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I/O runtime error messages<br />

Runtime I/O errors<br />

Table A-1 Runtime I/O errors (Continued)<br />

Error<br />

no.<br />

915 READ UNEXPECTED<br />

CHARACTER<br />

628<br />

Error message Description Action<br />

916 ERROR IN READ OF<br />

LOGICAL DATA<br />

917 OPEN WITH NAMED<br />

SCRATCH FILE<br />

ATTEMPTED<br />

918 OPEN OF EXISTING<br />

FILE WITH<br />

STATUS='NEW'<br />

ATTEMPTED<br />

920 OPEN OF FILE<br />

CONNECTED TO<br />

DIFFERENT UNIT<br />

ATTEMPTED<br />

921 UNFORMATTED<br />

OPEN WITH BLANK<br />

SPECIFIER<br />

ATTEMPTED<br />

Read a character that is<br />

not admissible for the<br />

type of conversion being<br />

performed. Input value<br />

was too large for the type<br />

of the variable.<br />

An illegal character was<br />

read when logical data<br />

was expected.<br />

Executed OPEN<br />

statement with<br />

STATUS='SCRATCH',<br />

but also named the file.<br />

Scratch files must not be<br />

named.<br />

Executed OPEN<br />

statement with<br />

STATUS='NEW', but file<br />

already exists.<br />

You attempted to open a<br />

file that is already open<br />

with a different unit<br />

number.<br />

OPEN statement<br />

specified<br />

FORM='UNFORMATTE<br />

D' and BLANK=xx.<br />

Remove from input data<br />

any characters that are<br />

illegal in integers or real<br />

numbers.<br />

Change input data to<br />

correspond to syntax<br />

expected when reading<br />

logical data or use input<br />

statement corresponding<br />

to syntax of input data.<br />

Either remove the FILE=<br />

specifier, or open the file<br />

with a status other than<br />

STATUS='SCRATCH'.<br />

Either remove the<br />

STATUS= specifier from<br />

the OPEN statement, or<br />

use the STATUS='OLD';<br />

STATUS='UNKNOWN';<br />

or STATUS='REPLACE'<br />

specifier.<br />

Close the file with the<br />

current unit number<br />

before attempting to open<br />

it with a different unit<br />

number.<br />

Either use<br />

FORM='FORMATTED'<br />

or remove BLANK=xx.<br />

Appendix A

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!