If it is a one-time deal use WRKOBJPDM.

WRKOBJPDM LIB(YOURLIB) OBJTYPE(*FILE) OBJATR(PF*)
Type 3 in the option column and press F13 to replicate the request through the entire list
On the "Parameter or command" line type DATA(*YES) CST(*YES) TRG(*YES)
Press Enter.
When the copy objects screen is displayed enter your target library for the "To library"
Press Enter.

Now wait for the CRTDUPOBJ commands to complete and you are done.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Howie
Sent: Thursday, September 25, 2014 8:08 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Copying all physical files in a library

Hello all,

I'm working on a project where I'm going to have to create a copy of all
the physical files in a particular library. I'm wondering what the best
way to do that would be. The CPYF command won't accept *ALL as a parm.
Should I just go with CRTDUPOBJ using *ALL for the files? That will bring over all the logicals too, correct? I really just need to make sure I have
copies of all the physicals. Any other method I'm not thinking of? As
always all suggestions are greatly appreciated!

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

Replies:

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

This mailing list archive is Copyright 1997-2025 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.