deleting PC files on iSeries

10 pts.
Tags:
Networking
Tech support
Can anyone help me please with this problem? Yesterday I copy PC file to iSeries folder through windows explorer, and that work, but when I try to delete this file (also in windows explorer) I get error: "Can not delete 'filename': It is being used by another person or program. Close any program that my be using the file and try again." I did restart my PC and then try delete file, but same error appears. I'm sure that nothing from my PC hold this file. How can I delete this file through windows explorer? ps: Pardon me for bad English
ASKED: December 10, 2004  6:14 AM
UPDATED: April 20, 2006  2:19 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Most likely it is an authorization issue. Are you authenticated on the iSeries, or just using the Guest access?? I can’t remember for sure, but if Guest you probably can not delete PC files off iSeries w/out changing the authorization. You can either use the EDTOBJAUT command, and change *PUBLIC access to *ALL, or you will need to use the WRKLNK command if in the IFS.

Discuss This Question: 12  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • MrdoubleD
    Hi there, You might try restarting your machine in safe mode and then try to delete them. Good luck
    0 pointsBadges:
    report
  • Dalibor
    Yes, I am authenticated on the iSeries, I'm Security Officer. I checked PC file with WRKLNK and set *PUBLIC to *ALL and then try deleting file, but same error appears. Hi, Your suggestion: "You might try restarting your machine in safe mode and then try to delete them." It is not problem in PC, I did restart my PC and then try to delete PC file, but without success. Anyway, thanks for Your help, if You remember anything else, please send me e-mail. Best regards, Dalibor Staba
    10 pointsBadges:
    report
  • Mhanif
    Hi all, Some times objects are in lock status by another job and you cannot delete them. To make sure that your file is not locked use following commands: WRKFLR to check the folder and document object name. DSPDLONAM DLO(document-name) FLR(Folder_name) Note down System Object Name. WRKOBJLCK OBJ(QDOC/system-object-name) OBJTYPE(*DOC) If you see any jobs then you need to end them to unlock the object (use option-4 to end the job). Now try to delete the file again. Good luck. Mohammad Hanif
    0 pointsBadges:
    report
  • Kholder
    With Netserver you can set a share to "read only" and even with QSECOFR you would not be able to delete the IFS objects. If you can delete the files via WRKLNK and can't with network neighborhood then use iSerise Nav to set it to "Read/Wire" on the share. Hope this helps.
    0 pointsBadges:
    report
  • Maxpro4u
    From help2go.com- - Open a Command Window (Start Accessories - Command Prompt) - Leave it open but close down all other running programs. - Now via the Ctrl Alt Del or from the Task Manager (Start - Run Type TASKMGR.EXE) under the processes tab, end the Explorer.exe process. - Now leaving the task Manager open, return to the Command Prompt window and type "cd path" to take you to the folder where the file is. eg. "cd c:My Documents" (Without brackets. Also note there is a space between cd and c:) - Now type "DEL " (eg "DEL badfile.exe" again without the brackets. - Once done go back to the Task Manager and under File - New Task type EXPLORER.EXE. This will kick start the windows GUI (interface) - Close task manager.
    0 pointsBadges:
    report
  • Mhanif
    It is necessary to grant *all authority to the user who is trying to delete the file. Use following command on iseries: ADDDLOAUT DLO(*ALL) FLR(folder-name) USRAUT((userprofile *ALL)) Now use WRKFLR command and display the above folder. Use option-4 against the file (document) you want to delete. Mohammad Hanif
    0 pointsBadges:
    report
  • Dalibor
    Thank You all. I try ALL suggestions, but nothing. Through iSeries Access Express (WRKFLR command) I can delete PC file, even through iSeries Navigator, but not windows explorer... On one other PC I can delete PC files even through windows explorer, but I can't on my PC. For all I know, main setting (network, user privileges, etc.) are identical. I think that problem is in windows user or user profile on iSeries. I will delete files through other ways that I mention in this email.
    10 pointsBadges:
    report
  • Superfreak
    since you mention that you can perform this operation on another PC, there must be something different here. In our Client Access config, there is an option for a default user profile used for the connection, which is not the same as the green screen signon. This is the authentication used for what you are trying to do, not the green screen signon info. Check the difference between the 2 PC's, my guess is they are different.
    0 pointsBadges:
    report
  • Sconrad43
    The files you are trying to delete are a. Either in use because of a running program (shut down any running programs or restart in safe mode) b. You do not have rights to the file on the system
    0 pointsBadges:
    report
  • Dalibor
    Problem solved! From IBM I receive information that I need to apply PTF#34377. I just did and now I can delete PC files from all PC,'s (who have permission, of course).
    10 pointsBadges:
    report
  • LarryD12
    I've got the identical problem. What version of Operating System was that PTF for, that you installed, that gor the file deletions to work. Larry
    0 pointsBadges:
    report
  • Dalibor
    Answer to MichaelK: We were then on V5R2, PTF: MF34377. More information (or should I say: all necessary information): http://www-912.ibm.com/n_dir/nas4apar.nsf/042d09dd32beb25d86256c1b004c3f9a/5018331d705616c386256f4f004201d2?OpenDocument&Highlight=2,MF34337
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following