- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have this in my code:
OPEN(23,FILE='W/G CHANGES',STATUS='REPLACE',FORM='FORMATTED')
The file currently does not exist. When I run in debug mode, an error box appears and says the file does not exist. But it does not have to exist with STATUS="REPLACE". What's going on?
OPEN(23,FILE='W/G CHANGES',STATUS='REPLACE',FORM='FORMATTED')
The file currently does not exist. When I run in debug mode, an error box appears and says the file does not exist. But it does not have to exist with STATUS="REPLACE". What's going on?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i'm guessing it may be an issue with using / in the file name.
the system may think everything after it is an argument?
give it a try w/o the / in the file name.
the system may think everything after it is an argument?
give it a try w/o the / in the file name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What has happened is that the file system "helpfully" converted the forward slash, which is not valid in a filename, to a backslash. This then indicates there should be a "w" subfolder of SYNOPSYS, which there isn't, and then you get the error.
You'll need to use a different name for the file.
You'll need to use a different name for the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right.
Correct.
Thank you.
Correct.
Thank you.
![](/skins/images/8B6E2C8F64F54CBD7F7262AA46F575DA/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page