WRITE to a new file in User Subroutine (UFIELD)
WRITE to a new file in User Subroutine (UFIELD)
(OP)
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?
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?





RE: WRITE to a new file in User Subroutine (UFIELD)
Please use: OPEN(UNIT=101,FILE='wear.dat',STATUS='UNKNOWN')
'NEW' option gives error when the file already exists.
Regards,
Barten