Silverfrost Forums

Welcome to our forums

Open statement

25 Mar 2008 9:30 #2951

I have several OPEN statements to open SCRATCH files. I get IOS 81 error on all of them.

Here is one example of the statements:

100 OPEN (UNIT=IPF, FILE=SCR03, STATUS='SCRATCH', ACCESS= 'SEQUENTIAL',
+ ERR=210, + IOSTAT=IOS, + FORM='UNFORMATTED')

IPF is declared as 3 and SCR03 is declared as SCR03.DAT, both in a BLOCKDATA statement.

A typical WRITE statement is WRITE (IPF) ...., ....

This a program that I am trying to migrate to FTN95.

I have another one similar to this where the variable in place of IPF is greater than 10. Same IO error (IOS = 81)

26 Mar 2008 8:10 #2952

The FILE specifier cannot be used with STATUS='SCRATCH'. The latter provides a file name for you.

Please login to reply.