CL command RMVLNK is one way, unless there are subdirectories. You can
also use WRKLNK and navigate to the directory in which your files and
directories live and edit (option 2) the directory. Then option 9 of the
edit function will do a recursive delete of directories, which will delete
the directory and all sub-directories.


On Thu, Oct 4, 2012 at 1:57 PM, Alan Shore <ashore@xxxxxxxx> wrote:

Hi everyone
I am making a change to our system (release V5r4) where files are being
loaded to a directory in the ifs, and so far (with the tremendous help of
this list) I am accomplishing what I set out to do.
However, at the start of this process I need to clear out the directory of
Does anyone know how to do this?
I am assuming the Qshell is the best way to go (which may or may not be
true), but it's been quite a few years since I last did ANY UNIX so the
more that I delve into this, the more that I realize just how much I have
forgotten (or didn't know)

Alan Shore
Programmer/Analyst, Direct Response
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

Disclaimer: This message contains confidential information and is intended
only for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page