Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep 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
Oct 19, 2010
7
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?
 
Replies continue below

Recommended for you

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