Mark,

The pattern character sees them, but cannot copy them.

CPY OBJ('/TEST/*') TODIR('/TESTCOPY/') SUBTREE(*ALL) REPLACE(*YES)

0 objects copied. 19 objects failed.

Message ID . . . . . . : CPFA0A9
Date sent . . . . . . : 03/13/15 Time sent . . . . . . : 11:28:40

Message . . . . : Object not found. Object is
/TESTCOPY/020001.030001.01332.01.2.

Cause . . . . . : Object /TESTCOPY/020001.030001.01332.01.2, or a directory
in the object path, could not be found, or its type cannot be resolved by
this function.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S Waterbury
Sent: Friday, March 13, 2015 11:23 AM
To: Midrange Systems Technical Discussion
Subject: Re: [Bulk] RE: What command will copy an entire IFS directory and its contents

Paul:

Inferring from you comment about "... an extra directory level" that you did not want to copy the "/test" directory itself, then in that case, you could have specified the command this way:

CPY OBJ('/TEST/*') TODIR('/TESTCOPY/') SUBTREE(*ALL) REPLACE(*YES)

Notice the use of the "pattern" character (*) in the OBJ parameter.

This is the same as when you issue WRKLNK -- notice the difference when you issue:

WRKLNK OBJ('/TEST')

compared with:

WRKLNK OBJ('/TEST/*'

Hope that helps,

Mark S. Waterbury

On 3/13/2015 11:08 AM, Steinmetz, Paul wrote:
Friday senior moment, da.

CPY OBJ('/TEST') TODIR('/TESTCOPY/') SUBTREE(*ALL) REPLACE(*YES)

Copy successful but with an extra directory level

TESTCOPY dir
TEST dir
Contents stmf


Paul


--
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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.