×
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.
Ken,
That worked, but only if TESTCOPY already exists.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Sims
Sent: Friday, March 13, 2015 4:16 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: What command will copy an entire IFS directory and its contents
Hi Paul -
On Fri, 13 Mar 2015 15:08:38 +0000, "Steinmetz, Paul"
<PSteinmetz@xxxxxxxxxx> wrote:
CPY OBJ('/TEST') TODIR('/TESTCOPY/') SUBTREE(*ALL) REPLACE(*YES)
Copy successful but with an extra directory level
TESTCOPY dir
TEST dir
Contents stmf
That's what I would expect, seeing as the command specifies to copy the directory /TEST into /TESTCOPY/.
I _think_ you want:
CPY OBJ('/TEST/*') TODIR('/TESTCOPY/') SUBTREE(*ALL) REPLACE(*YES)
Ken
Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
--
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,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.