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 />

929 OPEN OF DIRECT<br />

FILE WITH NO RECL<br />

SPECIFIER<br />

ATTEMPTED<br />

630<br />

Error message Description Action<br />

930 OPEN WITH RECL<br />

LESS THAN 1<br />

ATTEMPTED<br />

931 OPEN WITH ILLEGAL<br />

BLANK SPECIFIER<br />

ATTEMPTED<br />

933 END (OR BEGIN) OF<br />

FILE WITH NO END=x<br />

SPECIFIER<br />

937 ILLEGAL RECORD<br />

NUMBER SPECIFIED<br />

942 ERROR IN<br />

LIST-DIRECTED READ<br />

- CHARACTER DATA<br />

READ FOR<br />

ASSIGNMENT TO<br />

NONCHARACTER<br />

VARIABLE<br />

944 RECORD TOO LONG<br />

IN DIRECT<br />

UNFORMATTED I/O<br />

945 ERROR IN<br />

FORMATTED I/O<br />

OPEN statement has<br />

ACCESS='DIRECT', but<br />

no RECL= specifier.<br />

RECL= specifier in<br />

OPEN statement was<br />

less than or equal to zero.<br />

BLANK= specified string<br />

other than 'NULL' or<br />

'ZERO'<br />

End-of-file mark read by<br />

a READ statement with<br />

no END= specifier to<br />

indicate label to which to<br />

jump.<br />

A record number less<br />

than one was specified<br />

for direct I/O.<br />

A character string was<br />

read for a numerical or<br />

logical variable.<br />

Output requested is too<br />

long for specified (or<br />

pre-existing) record<br />

length.<br />

More bytes of I/O were<br />

requested than exist in<br />

the current record.<br />

Add RECL= specifier to<br />

OPEN statement, or<br />

specify ACCESS=<br />

'SEQUENTIAL'.<br />

Specify a positive number<br />

for RECL= specifier in<br />

OPEN statement.<br />

Use 'NULL' or 'ZERO' for<br />

BLANK= specifier in<br />

OPEN statement.<br />

Use the END= specifier<br />

to handle EOF, or check<br />

logic.<br />

Use record numbers<br />

greater than zero.<br />

Check input data and<br />

input variable type.<br />

Make the number of<br />

bytes output by WRITE<br />

less than or equal to the<br />

file record size.<br />

Match the format to the<br />

data record.<br />

Appendix A

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

Saved successfully!

Ooh no, something went wrong!