Chinaunix

标题: 不能删除下OS/400 NetServer网络共享路径下的文件 [打印本页]

作者: ecamel    时间: 2005-12-01 10:13
标题: 不能删除下OS/400 NetServer网络共享路径下的文件
映射OS/400 NetServer网络共享路径为Windows一盘符,只能添加、修改文件,却不能删除文件,报该文件被另外程序使用,经查没有程序使用该文件。通过导航器能删除文件。环境:win2000/winxp+CA51/CA52/CA53,win2000/CA32可以删除。不知是什么原因?
作者: qingzhou    时间: 2005-12-01 14:05
http://bbs.chinaunix.net/viewthr ... 2%26filter%3Ddigest
作者: ecamel    时间: 2005-12-02 09:33
那个帖子也是我发的。通过该方式不能看到该文件被锁定
作者: ecamel    时间: 2005-12-20 12:25
LIC-INCORROUT error deleting objects with netserver

With Window XP SP2, Microsoft has changed which requests are used when deleting a file or directory on a network drive. The new sequence of operations deletes the file or directory whil it is open. When using iSeries NetServer, the delete request will fail with a sharing violation for files and directories in the QDLS, QSYS.LIB, and QOPT file systems.

The Window system will receive an error prompt:

"Cannot delete <filename>: Is is being used by another person or program. Close any programs that might be using the file and try again"

Or will receive the command prompt error:

"The process cannot access the file because it is being used by another process."

The error has been observed on Windows XP systems with Service Pack 2 installed but can occur with Microsoft HOTFIXes installed on Windows XP and Windows 2000, and may occur for other Windows platforms.
PTFs to fix this problem:

    * V5R1 - MF34450
    * V5R2 - MF34337
    * V5R3 - MF34428



我自己在IBM网站找到的。
作者: qingzhou    时间: 2005-12-20 13:03
尝试使用RLSIFSLCK OBJ(FILENAME) 给IFS文件解锁(其中filename是要解锁的文件的绝对路径)。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2