Link to home
Start Free TrialLog in
Avatar of Theo Kouwenhoven
Theo KouwenhovenFlag for Netherlands

asked on

Undeletable files in ifs ???

Hi Experts,

Due to some application error (I assume) I have on my IFS 3 undeletable stream files

\tstdir\xls            
\tstdir\xlstest        
\TSTDIR\TEST.XLS

!!!  this is not a path and file, this is the whole file name that I see in the OpNav when I open the root dir. !!!

I tried to delete them via RMVLNK but get the message: "Object not found.  Object is /dcsdir/xls."
delete it from the IFS root dir, by pressing the delete key give: "The file, \\tstdir\xlstesr, was not found"
Create a file-share and delete it from there...... error: "Cannot delete file: Cannot read from the source file or disk"
Even a mapping to a drive and delet from a DOS prompt give: X:\dcsdir\xlstest

Of cause I also tried to rename the files but nop.

So I think this is a nice puzzle

Regards,
Murph

Avatar of daveslater
daveslater
Flag of United States of America image

Hi

Been there done it but can not rememeber how!

have you tried wrklnk , going to the correct place and then deleting it!

If not the it can be done via the API.


Dave
Avatar of Theo Kouwenhoven

ASKER

Hi Dave,

wrklnk and option 4 is the same as rmvlnk.
So yes I tried it and no it's still there.

Avatar of Member_2_276102
Member_2_276102

Murph:

These can sometimes be deleted by using generics:

 ==>  rmvlnk  '/xxxaaa*'

Or you can similarly try:

  qsh>  rm '/xxxaaa*'

Also, try using the EDTF '/dir' ability to bring up a list of files and subdirectories in directory '/dir' and use option 4=Delete File or option 9=Recursive Delete.

If none of those help, I can supply a function that will delete any file you can supply a name for. The trick is in determining _exactly_ what the file name is.

Tom
ASKER CERTIFIED SOLUTION
Avatar of Member_2_276102
Member_2_276102

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial