Home > AS/400 Tips > > Deleting PC files on the iSeries
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Deleting PC files on the iSeries


Search400.com
02.15.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


An ITKnowledge Exchange (ITKE) recently member had a question about deleting PC files on the iSeries, and fellow techies jumped in on the conversation and helped out. Here is a portion of the conversation. Read the rest of the thread here.

"Dalibor" asked:
I'd like to get some advice on how to delete PC files on my iSeries. Recently, I copied a PC file to an iSeries folder through Windows Explorer, which worked fine. Unfortunately, when I tried to delete that file, I got the error, "Cannot delete 'filename': It is being used by another person or program. Close any program that my be using the file and try again." I restarted my PC and again tried to delete the file but the same error appeared. What is the best method to delete a PC file through Windows Explorer?

"Superfreak" responded:
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 you use Guest, you probably cannot delete PC files off of the iSeries without 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.

"KHolder" responded:
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 delete them with network neighborhood, then use iSeries Navigator to set it to "Read/Wire" on the share.

"Mhanif" responded:
Sometimes objects are in a locked 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)
  • Jot down the 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.

Read the rest of this thread here.

Not yet using ITKnowledge Exchange, our innovative peer networking feature for Oracle and other IT professionals? Register and fill out your profile so you can ask specific sets of people your IT questions and also help out your fellow geeks.

Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries service and support issues
Error CWBCO1049 on AS/400
Incorrect CCSID on FTP connection from AS/400 to Windows
System i users: Power Systems merger good, OS name change mixed
Personalize your iSeries
Top System i admin tips for 2006
iSeries customers rather fight than switch
Cleaning up the QSYS library
Email to pager over iSeries
The straight story on PTF installs
Execute programs from a user profile
iSeries service and support issues Research

Integrated File System (IFS)
How to view source files in the library
User being locked out by Windows share on iSeries
Incorrect CCSID on FTP connection from AS/400 to Windows
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Transfer files from one environment to another without closing all other AS/400 sessions
Securing the integrated file system on IBM System i
Generically send a text file from the IFS via FTP
Setting ILE and C+++ compilers to runtime
Backing up PDFs within the IFS on AS/400

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
authorized program analysis report  (Search400.com)
CPW  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts