Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 07 JUL 2004 10:05:48PM Jim Leong wrote:

When I try to delete a table I get the message FS 1102 Resource in use error. This does not happen all the time but usually after I copy the table to another location and then tried to delete the original table. I noticed this happening after we installed the Universal Driver. Currently using Arev 2.12 on a Novell 6 network.

Does anyone have any idea what is happening?


At 07 JUL 2004 11:06PM Steve Smith wrote:

The directory entry is being created before the file gets a chance to be closed. So the file is in use by the copy process at the time you try to first access it.

Enable true commit and disable write caching under Novell client, if possible (some clients don't have these switches). This means that Novell won't delay disk writes (caching them in memory when the server is busy on other tasks.

Try a FLUSH statement ahead of your OSOPEN. FLUSH closes all file handles in use. It also delays by a moment or two (which may mean the file becomes available)

Use the DIR() function to check the file size *before* opening it. If it's zero, then wait a few seconds before proceeding.

You might be able to invoke a verify on the copy command - which would ensure the file is flushed to disk ahead of your program accessing it.


At 08 JUL 2004 11:40AM Jim Leong wrote:

Thanks Steve. I will check the Novell client. But I am still not able to delete the file (Using the arev DELETEFILE utility). This is 12 hours later.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/164a92cea8a4f6c885256ecb000b84bd.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1