Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

WRITE to a new file in User Subroutine (UFIELD)

Status
Not open for further replies.

YooperGirl

Bioengineer
Joined
Oct 19, 2010
Messages
7
Location
US
I'm trying to write data to a new file while using the UFIELD subroutine.

I typed in the line
OPEN(UNIT=101,FILE='wear.dat',STATUS='new')

And am getting an error that the file has already been created in the "scratch "directory." How do if find out where this file has gone?
 
Hi,

Please use: OPEN(UNIT=101,FILE='wear.dat',STATUS='UNKNOWN')

'NEW' option gives error when the file already exists.

Regards,
Barten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top