×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
The error message text "contains objects", suggests a contradiction
to the claim that the directory is empty. What is the failing
operation? The rmdir utility [or ¿effective? equivalents of RMVDIR & RD
] perhaps? Those issue such a message. WRKLNK DSPOPT(*ALL)
DETAIL(*EXTENDED) can be used to show both more files & more information
about the files in a directory, than what might appear with the
defaults. I seem to recall that the option to /2=edit/ on the directory
from a WRKLNK of the higher level directory will also show all files. I
do not recall if a request to DMP ('/thedirectory') will clearly list
directory content, but it might also be helpful in some situations if it
does.
Although not part of a /contains objects/ restriction, such that if
the message text does not describe properly the error condition which
prevents the action, the requester of the above utilities also requires:
*X authority to the parent directory, the directory being removed can
not be the current directory, and the directory must not have the
attribute which prohibits rename & unlink. See:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/cl/rmvdir.htm
Regards, Chuck
Jon Paris wrote:
I'm having problems cleaning up some IFS files and I can't figure
out the problem.
I created the files and have full authority for them as far as I
can see.
For example - this directory shows as follows when I display
authority:
Opt User Authority Exist Mgt Alter Ref
*PUBLIC *RX X X X X
PARIS *RWX X X X X
So I would appear to have all authority for it. If I should full
data authority I have that too.
The directory is empty, and there are no links. But when I try to
delete it I'm told it contains objects. I've even tried the *YES
option on the delete - but no joy.
What am I missing?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.