replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Open statement
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 

Open statement

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



Joined: 19 Mar 2008
Posts: 29

PostPosted: Tue Mar 25, 2008 10:30 pm    Post subject: Open statement Reply with quote

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)
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8061
Location: Salford, UK

PostPosted: Wed Mar 26, 2008 9:10 am    Post subject: Reply with quote

The FILE specifier cannot be used with STATUS='SCRATCH'.
The latter provides a file name for you.
Back to top
View user's profile Send private message AIM Address
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